123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311 |
- \input texinfo @c -*-texinfo-*-
- @setfilename imbrications.info
- @syncodeindex pg cp
- @node Top,First node,(dir)
- @top Test some command imbrications
- @menu
- * First node:: node 1
- * name:Second node. node 2
- @end menu
- @c * node in table::
- @c * node in example::
- @c * node in flushright::
- @c *node in defun -> bug
- @node First node
- @chapter first node chapter
- @cindex elem
- @tex
- $$
- \chi^2 = \sum_{i=1}^N
- \left(y_i - (a + b x_i)
- \over \sigma_i\right)^2
- $$
- @end tex
- @node Second node
- @chapter second
- Some text
- @deffn Function buffer-end flag
- A nice function
- makeinfo accepts a menu within defun but it isn't possible
- to follow it
- @menu
- * node within defun menu::
- @end menu
- @c makeinfo accepts the following but cannot properly close defun
- @c @node node within defun menu
- @c @section within menu
- end of the function
- @end deffn
- @node node within defun menu
- @section the node is within menu
- Test @@option inside @@emph
- Foo @emph{emphasized and referring to @option{--some} option}.
- Table imbricated in code:@*
- @code{
- in code
- @table @emph
- @item line
- text
- @end table
- }
-
- ref with uref within:@*
- @ref{(file)node, cross ref with uref @uref{href://http/myhost.com/index.html,uref1}, title with uref2 @uref{href://http/myhost.com/index2.html,uref2}, info file with uref3 @uref{href://http/myhost.com/index3.html,uref3}, printed manual with uref4 @uref{href://http/myhost.com/index4.html,uref4}}
- footnote with code within:@*
- @footnote{ in footnote @code{par1
-
- par2}}
- Refs in samp:@*
- Refs without samp: empty section name see @ref{other node}.
- With a chapter: @ref{Second node}.
- A ref in samp to a node with empty section name:
- see @samp{@ref{other node}}.
- Same but to a regular node associated with a chapter:
- see @samp{@ref{Second node}}.
- code with table and example within:@*
- @code{
- in code
- @table @emph
- @item line
- in code and table
- @example
- in example
- @end example
- @end table
- }
- @table @bullet
- @item item
- @c @node node in table
- @c @chapter in table
- @end table
- @example
- @c @node node in example
- @c @chapter example
- an example
- @end example
- @cindex other entry
- @example
- @html
- Some html <code>some code</code>.
- @end html
- after html in example
- two line breaks
- Tex doesn't like math in @@example
- @ifnottex
- @tex
- $$
- \chi^2 = \sum_{i=1}^N
- \left(y_i - (a + b x_i)
- \over \sigma_i\right)^2
- $$
- @end tex
- @end ifnottex
- @cindex index in example
- Now a content within example
- @contents
- @printindex cp
- printindex works but cannot be followed in info, in TeX
- the result is quite strange.
- and now yes---now and ``so''.
- @end example
- after example and now yes---now and ``so''.
- @flushright
- is the text
- flushed right ?
- @c @node node in flushright
- @c @chapter flushright
- @end flushright
- @flushright
- @example
- text flushed right and then example
- it should be flushed
- @end example
- @end flushright
- @example
- @flushright
- example and then text flushed right
- @end flushright
- @end example
- @display
- simple displayed text
- @end display
- a display within example
- @example
- example
- @display
- display
- @end display
- @end example
- @cartouche
- A cartouched text
- @end cartouche
- A cartouche within example
- @example
- example
- @cartouche
- A cartouched text
- @end cartouche
- @end example
- An example with table, multitable, quotation, enumerate
- @example
- a table within example
- @table @bullet
- @item item
- text
- @end table
- a multitable
- @multitable {a} {b}
- @item beginnin
- @item @dots{}
- @tab
- a new column no splitting ???????????????????
- @end multitable
- a menu
- @menu
- * node menu:: a node in menu
- in menu comment
- html
- @html
- <cite>cite me</cite> a cite in html
- @end html
- A ref in samp in menu comment to a node with empty section name:
- @samp{@ref{other node}}.
- Same but to a regular node associated with a chapter:
- @samp{@ref{Second node}}.
- * a menu name:other node.
- description of other
- node
- @end menu
- A quotation
- @quotation
- This is a pre
- quotation
- @end quotation
- Enumerate
- @enumerate
- @item first item
- @item second item
- still second
- @end enumerate
- @end example
- example with deff-like commands
- @example
- deffs
- @defun {my def} args @var{arg} @dots{}
- @defunx {other def} no args
- @deffnx {type} {name} and now the args
- @defvar {variables} variable-name
- @defvarx {variables too} other-variable
- THis is the defvar
- A table within the def
- @table @asis
- @item item
- text
- more text
- @item second item
- @end table
- explanation
- @end defvar
- @end deffn
- @end defun
- @end example
- table within display within example
- @example
- @display
- @table @asis
- @item item
- Line
- @end table
- @end display
- @end example
- table within example within display
- @display
- @example
- @table @asis
- @item item
- Line
- @end table
- @end example
- @end display
- @node node menu
- @unnumberedsubsec
- @node other node
- @unnumberedsubsec
- @contents
- @bye
|