code:
\input texinfo @c -*-texinfo-*-

@setfilename block_EOL.info

@node Top
@top Test for end of lines and block commands

@heading html

@html
Surrounded by empty lines.
@end html

Block commands on a line
@html
in block
in block l2
@end html
end commands on a line.

Block commands on a line. A dot in the end of the block
@html
in block
in block l2.
@end html
end commands on a line, after the block with a dot.

Before the opening command @html
in block
@end html
end commands on a line.

Before the opening command @html
in block
@end html after the closing command.

Before the opening command @html
in block
@end html
. A symbol on a line.

Before the opening command @html
in block
@end html. A symbol after the closing command.

@heading tex

@tex
Surrounded by empty lines.
@end tex

Block commands on a line
@tex
in block
@end tex
end commands on a line.

Before the opening command @tex
in block
@end tex
end commands on a line.

Before the opening command @tex
in block
@end tex after the closing command.

Before the opening command @tex
in block
@end tex
. A symbol on a line.

Before the opening command @tex
in block
@end tex. A symbol after the closing command.

@heading verbatim

@verbatim
Surrounded by empty lines.
@end verbatim

Block commands on a line
@verbatim
in block
@end verbatim
end commands on a line.

Before the opening command @verbatim
in block
@end verbatim
end commands on a line.

Before the opening command @verbatim
in block
@end verbatim after the closing command.

Before the opening command @verbatim
in block
@end verbatim
. A symbol on a line.

Before the opening command @verbatim
in block
@end verbatim. A symbol after the closing command.

@bye


code:
\input texinfo @c -*-texinfo-*-

@setfilename center.info

@node Top
@top Test @@center

A center @center Centered line
And a center after empty line

@center centered line after empty line

And a center at end of line @center
And an empty center @center

@center @ref{Top}

@center @ref{Top, ,title
very long}

@center Centered text with a footnote@footnote{This footnote
shows an important feature of the centered text.

@example
@table
@item item
line
@end table
@end example} and text after the footnote.

center in a @@code:

@code{@center Centered code line}

@table
@item @center centered text in item
table line @center centered text in table line
@center centered line with item @item second item on center line
@end table

@center unclosed command on center line @code{in code
Still in code}

@center unclosed command on center line with paragraph @code{in code

Still in code after paragraph}

@center unclosed command on center line with other center @code{in code
@center still in code on center line}. After code.

@center unclosed command on center line with other center and paragraph @code{in code

@center still in code on center line}. After code.

@samp{begin samp @center center and end samp} after end of samp

Empty double center:
@center @center

@center after first center @center after second center

@center @samp{something @center end of samp}

@center after first center @samp{@center after second center

End of samp}

@unnumbered Heading

@multitable {AAA}  {BBB}
@item truc @tab bidule
@center @item ctruc @tab cbidule
@center @item cstruc
@end multitable

@center before the table @table
@item item in center
Line in center
@item second item
@end table

@bye

repo_name: mthl/texinfo

license: mit


code:
\input texinfo @c -*-texinfo-*-
@setfilename commands_in_ifset.info
@node Top
@top Top section
@c
@c test a lot of constructs in @ifset, imbricated ifset, macro expansion
@c in ifset. The ifset are not set. Otherwise there would be a lot of
@c syntax errors.

@c test @definfoenclose and @documentencoding in ifset

@ifset notset
@definfoenclose
@definfoenclose strong,:,:
@documentencoding ISO-8859-1
@end ifset

@strong{text}

@c test all the regular constructs in ifset

@ifset notset

<
>
"
&

``simple-double--three---four----''@*
code: @code{``simple-double--three---four----''} @*
asis: @asis{``simple-double--three---four----''} @*
strong: @strong{``simple-double--three---four----''} @*
kbd: @kbd{``simple-double--three---four----''} @*

@cindex --option
@cindex ``
@findex ``
@findex --foption

@@"u @"u
@@"@{U@} @"{U}
@@~n @~n
@@^a @^a
@@'e @'e
@@=o @=o
@@`i @`i
@@'@{@@dotless@{i@}@} @'{@dotless{i}}
@@dotless@{i@} @dotless{i}
@@dotless@{ij@} @dotless{ij}

@@dotless@{truc1@} @dotless{truc1}

@@* @*
@@ followed by a space
@
@@ followed by a tab
@
@@ followed by a new line
@
@code{@@-} @-
@code{@@|} @|
@code{@@:} @:
@code{@@!} @!
@code{@@?} @?
@code{@@.} @.
@code{@@@@} @@
@code{@@@}} @}
@code{@@@{} @{
@code{@@/} @/
@code{@@#} @#

@@TeX @TeX{}
@@LaTeX @LaTeX{}
@c @br{}
@@bullet @bullet{}
@@copyright @copyright{}
@@dots @dots{}
@@enddots @enddots{}
@@equiv @equiv{}
@@error @error{}
@@expansion @expansion{}
@@minus @minus{}
@@point @point{}
@@print @print{}
@@result @result{}
@@today @today{}
@@aa @aa{}
@@AA @AA{}
@@ae @ae{}
@@oe @oe{}
@@AE @AE{}
@@OE @OE{}
@@o @o{}
@@O @O{}
@@ss @ss{}
@@l @l{}
@@L @L{}
@@exclamdown @exclamdown{}
@@questiondown @questiondown{}
@@pounds @pounds{}
@@registeredsymbol @registeredsymbol{}
@@ordf @ordf{}
@@ordm @ordm{}
@@comma @comma{}

@code{@@acronym@{--a,an accronym @@comma@{@} @@enddots@{@}@}} @acronym{--a,an accronym @comma{} @enddots{}}
@code{@@acronym@{--a@}} @acronym{--a}
@code{@@asis@{--a@}} @asis{--a}
@code{@@b@{--a@}} @b{--a}
@code{@@cite@{--a@}} @cite{--a}
@code{@@code@{--a@}} @code{--a}
@code{@@command@{--a@}} @command{--a}
@code{@@ctrl@{--a@}} @ctrl{--a}
@code{@@dfn@{--a@}} @dfn{--a}
@code{@@dmn@{--a@}} @dmn{--a}
@code{@@email@{--a,--b@}} @email{--a,--b}
@code{@@email@{,--b@}} @email{,--b}
@code{@@email@{--a@}} @email{--a}
@code{@@emph@{--a@}} @emph{--a}
@code{@@env@{--a@}} @env{--a}
@code{@@file@{--a@}} @file{--a}
@code{@@i@{--a@}} @i{--a}
@code{@@kbd@{--a@}} @kbd{--a}
@code{@@key@{--a@}} @key{--a}
@code{@@math@{--a@}} @math{--a}
@code{@@option@{--a@}} @option{--a}
@code{@@r@{--a@}} @r{--a}
@code{@@samp@{--a@}} @samp{--a}
@code{@@sc@{--a@}} @sc{--a}
@code{@@strong@{--a@}} @strong{--a}
@code{@@t@{--a@}} @t{--a}
@code{@@titlefont@{--a@}} @titlefont{--a}
@code{@@indicateurl@{--a@}} @indicateurl{--a}
@code{@@uref@{--a,--b@}} @uref{--a,--b}
@code{@@uref@{--a@}} @uref{--a}
@code{@@uref@{,--b@}} @uref{,--b}
@code{@@url@{--a,--b@}} @url{--a,--b}
@code{@@url@{--a,@}} @url{--a,}
@code{@@url@{,--b@}} @url{,--b}
@code{@@var@{--a@}} @var{--a}
@code{@@verb@{:--a:@}} @verb{:--a:}
@code{@@w@{--a@}} @w{--a}
@code{@@H@{a@}} @H{a}
@code{@@H@{--a@}} @H{--a}
@code{@@dotaccent@{a@}} @dotaccent{a}
@code{@@dotaccent@{--a@}} @dotaccent{--a}
@code{@@ringaccent@{a@}} @ringaccent{a}
@code{@@ringaccent@{--a@}} @ringaccent{--a}
@code{@@tieaccent@{a@}} @tieaccent{a}
@code{@@tieaccent@{--a@}} @tieaccent{--a}
@code{@@u@{a@}} @u{a}
@code{@@u@{--a@}} @u{--a}
@code{@@ubaraccent@{a@}} @ubaraccent{a}
@code{@@ubaraccent@{--a@}} @ubaraccent{--a}
@code{@@udotaccent@{a@}} @udotaccent{a}
@code{@@udotaccent@{--a@}} @udotaccent{--a}
@code{@@v@{a@}} @v{a}
@code{@@v@{--a@}} @v{--a}
@code{@@,@{c@}} @,{c}
@code{@@,@{--c@}} @,{--c}
@code{@@dotless@{--a@}} @dotless{--a}
@code{@@dotless@{a@}} @dotless{a}
@code{@@footnote@{in footnote@}} @footnote{in footnote}
@code{@@footnote@{in footnote2@}} @footnote{in footnote2}

@code{@@image@{f--ile,,e--xt@}} @image{f--ile,,e--xt}
@code{@@image@{f--ile,,,,e--xt@}} @image{f--ile,,,,e--xt}
@code{@@image@{f--ile,,,alt@}} @image{f--ile,,,alt}
@code{@@image@{f--ile,aze,az,alt,e--xt@}} @image{f--ile,aze,az,alt,e--xt}
@code{@@image@{f-ile,aze,,a--lt@}} @image{f-ile,aze,,a--lt}
@code{@@image@{f--ile@}} @image{f--ile}
@code{@@image@{,,e--xt@}} @image{,,e--xt}
@code{@@image@{,,,e--xt@}} @image{,,,e--xt}
@code{@@image@{file@@verb@{:jk _" %@@:@},,,alt@@verb@{:jk _" %@@:@}@}} @image{file@verb{:jk _" %@:},,,alt@verb{:jk _" %@:}}
@code{@@image@{@@file@{f--ile@}@@@@@@.,aze,az,alt,@@file@{file ext@} e--xt@@@}} @image{@file{f--ile}@@@.,aze,az,alt,@file{file ext} e--xt@}}

@sp
@sp 2

@quotation
a q--uotation
@end quotation

@itemize
@item i--temize
@end itemize

@itemize +
@item i--tem +
@end itemize

@itemize @bullet
@item b--ullet
@end itemize

@itemize @minus
@item minu--s
@end itemize

@itemize @emph
@item e--mph item
@end itemize

@itemize @emph after emph
@item e--mph item
@end itemize

@itemize @bullet a--n itemize line
@item i--tem 1
@item i--tem 2
@end itemize

@enumerate
@item e--numerate
@end enumerate

@multitable @columnfractions 6 7
@headitem mu--ltitable headitem @tab another tab
@item mu--ltitable item @tab multitable tab
@end multitable

@example
e--xample  some
   text
@end example

@smallexample
s--mallexample
@end smallexample

@display
d--isplay
@end display

@smalldisplay
s--malldisplay
@end smalldisplay

@lisp
l--isp
@end lisp

@smalllisp
s--malllisp
@end smalllisp

@format
f--ormat
@end format

@smallformat
s--mallformat
@end smallformat

@deffn c--ategory d--effn_name a--rguments...
d--effn
@end deffn

@deffn cate--gory de--ffn_name ar--guments @
   more args @* even more so
def--fn
@end deffn

@deffn fset @var{i} a g
@deffnx {cmde} truc2 {}
@deffnx Command {log trap} {}
@deffnx Command { log trap1} {}
@deffnx Command {log trap2 } {}
@deffnx cmde @b{id ule} truc3
@deffnx cmde2 @b{id @samp{i} ule} truc4
@deffnx @b{id @samp{i} ule}
@deffnx
@deffnx aaa
@deffnx {} {}
@deffnx{}
@deffnx{} machin
@deffnx{} {bidule machin}
@deffnx{truc5} machin
@deffnx{truc6} { }
@deffnx{truc7}
@deffnx{} {}
@deffnx {truc8} followed by a comment
@c comment
@deffnx truc9 machin bidule chose and }
@deffnx truc10 machin bidule chose and } after
@deffnx truc11 machin bidule chose and {
@deffnx truc12 machin bidule chose and { and after
Various deff lines
@deffnx {truc13} after a deff item
@c comment
text in def item for second def item
@deffnx {truc14} deffnx before end deffn
@end deffn

@defvr c--ategory d--efvr_name
d--efvr
@end defvr

@deftypefn c--ategory t--ype d--eftypefn_name a--rguments...
d--eftypefn
@end deftypefn

@deftypeop c--ategory c--lass t--ype d--eftypeop_name a--rguments...
d--eftypeop
@end deftypeop

@deftypevr c--ategory t--ype d--eftypevr_name
d--eftypevr
@end deftypevr

@defcv c--ategory c--lass d--efcv_name
d--efcv
@end defcv

@defop c--ategory c--lass d--efop_name a--rguments...
d--efop
@end defop

@deftp c--ategory d--eftp_name a--ttributes...
d--eftp
@end deftp

@defun d--efun_name a--rguments...
d--efun
@end defun

@defmac d--efmac_name a--rguments...
d--efmac
@end defmac

@defspec d--efspec_name a--rguments...
d--efspec
@end defspec

@defvar d--efvar_name
d--efvar
@end defvar

@defopt d--efopt_name
d--efopt
@end defopt

@deftypefun t--ype d--eftypefun_name a--rguments...
d--eftypefun
@end deftypefun

@deftypevar t--ype d--eftypevar_name
d--eftypevar
@end deftypevar

@defivar c--lass d--efivar_name
d--efivar
@end defivar

@deftypeivar c--lass t--ype d--eftypeivar_name
d--eftypeivar
@end deftypeivar

@defmethod c--lass d--efmethod_name a--rguments...
d--efmethod
@end defmethod

@deftypemethod c--lass t--ype d--eftypemethod_name a--rguments...
d--eftypemethod
@end deftypemethod

@code{@@xref@{chapter, cross ref name, title, file name, manual@}} @xref{chapter, cross ref name, title, file name, manual}
@code{@@ref@{chapter, cross ref name, title, file name, manual@}} @ref{chapter, cross ref name, title, file name, manual}
@code{@@pxref@{chapter, cross ref name, title, file name, manual@}} @pxref{chapter, cross ref name, title, file name, manual}
@code{@@inforef@{chapter, cross ref name, file name@}} @inforef{chapter, cross ref name, file name}

@code{@@ref@{chapter@}} @ref{chapter}
@code{@@ref@{node@}} @ref{node}
@code{@@ref@{,cross ref name@}} @ref{,cross ref name}
@code{@@ref@{,,title@}} @ref{,,title}
@code{@@ref@{,,,file name@}} @ref{,,,file name}
@code{@@ref@{,,,,manual@}} @ref{,,,,manual}
@code{@@ref@{chapter,cross ref name@}} @ref{chapter,cross ref name}
@code{@@ref@{chapter,,title@}} @ref{chapter,,title}
@code{@@ref@{chapter,,,file name@}} @ref{chapter,,,file name}
@code{@@ref@{chapter,,,,manual@}} @ref{chapter,,,,manual}
@code{@@ref@{node,cross ref name@}} @ref{node,cross ref name}
@code{@@ref@{node,,title@}} @ref{node,,title}
@code{@@ref@{node,,,file name@}} @ref{node,,,file name}
@code{@@ref@{node,,,,manual@}} @ref{node,,,,manual}
@code{@@ref@{chapter,cross ref name,title,@}} @ref{chapter,cross ref name,title,}
@code{@@ref@{chapter,cross ref name,,file name@}} @ref{chapter,cross ref name,,file name}
@code{@@ref@{chapter,cross ref name,,,manual@}} @ref{chapter,cross ref name,,,manual}
@code{@@ref@{node,cross ref name,title,@}} @ref{node,cross ref name,title,}
@code{@@ref@{node,cross ref name,,file name@}} @ref{node,cross ref name,,file name}
@code{@@ref@{node,cross ref name,,,manual@}} @ref{node,cross ref name,,,manual}
@code{@@ref@{chapter,cross ref name,title,file name@}} @ref{chapter,cross ref name,title,file name}
@code{@@ref@{chapter,cross ref name,title,,manual@}} @ref{chapter,cross ref name,title,,manual}
@code{@@ref@{node,cross ref name,title,file name@}} @ref{node,cross ref name,title,file name}
@code{@@ref@{node,cross ref name,title,,manual@}} @ref{node,cross ref name,title,,manual}
@code{@@ref@{chapter,cross ref name,title, file name, manual@}} @ref{chapter,cross ref name,title, file name, manual}
@code{@@ref@{node,cross ref name,title, file name, manual@}} @ref{node,cross ref name,title, file name, manual}
@code{@@ref@{chapter,,title,file name@}} @ref{chapter,,title,file name}
@code{@@ref@{chapter,,title,,manual@}} @ref{chapter,,title,,manual}
@code{@@ref@{node,,title,file name@}} @ref{node,,title,file name}
@code{@@ref@{node,,title,,manual@}} @ref{node,,title,,manual}
@code{@@ref@{chapter,,title, file name, manual@}} @ref{chapter,,title, file name, manual}
@code{@@ref@{node,,title, file name, manual@}} @ref{node,,title, file name, manual}
@code{@@ref@{chapter,,,file name,manual@}} @ref{chapter,,,file name,manual}
@code{@@ref@{node,,,file name,manual@}} @ref{node,,,file name,manual}
@code{@@ref@{,cross ref name,title,@}} @ref{,cross ref name,title,}
@code{@@ref@{,cross ref name,,file name@}} @ref{,cross ref name,,file name}
@code{@@ref@{,cross ref name,,,manual@}} @ref{,cross ref name,,,manual}
@code{@@ref@{,cross ref name,title,file name@}} @ref{,cross ref name,title,file name}
@code{@@ref@{,cross ref name,title,,manual@}} @ref{,cross ref name,title,,manual}
@code{@@ref@{,cross ref name,title, file name, manual@}} @ref{,cross ref name,title, file name, manual}
@code{@@ref@{,,title,file name@}} @ref{,,title,file name}
@code{@@ref@{,,title,,manual@}} @ref{,,title,,manual}
@code{@@ref@{,,title, file name, manual@}} @ref{,,title, file name, manual}
@code{@@ref@{,,,file name,manual@}} @ref{,,,file name,manual}

@code{@@inforef@{chapter, cross ref name, file name@}} @inforef{chapter, cross ref name, file name}
@code{@@inforef@{chapter@}} @inforef{chapter}
@code{@@inforef@{chapter, cross ref name@}} @inforef{chapter, cross ref name}
@code{@@inforef@{chapter,,file name@}} @inforef{chapter,,file name}
@code{@@inforef@{node, cross ref name, file name@}} @inforef{node, cross ref name, file name}
@code{@@inforef@{node@}} @inforef{node}
@code{@@inforef@{node, cross ref name@}} @inforef{node, cross ref name}
@code{@@inforef@{node,,file name@}} @inforef{node,,file name}
@code{@@inforef@{,cross ref name @}} @inforef{,cross ref name }
@code{@@inforef@{,,file name@}} @inforef{,,file name}
@code{@@inforef@{,cross ref name, file name@}} @inforef{,cross ref name, file name}

@code{@@ref@{s--ect@@comma@{@}ion, a @@comma@{@} in cross
ref, a comma@@comma@{@} in title, a comma@@comma@{@} in file, a @@comma@{@} in manual name @}}
@ref{s--ect@comma{}ion, a @comma{} in cross
ref, a comma@comma{} in title, a comma@comma{} in file, a @comma{} in manual name }

@code{@@ref@{s--ect@@comma@{@}ion@}} @ref{s--ect@comma{}ion}

@table @bullet
@item a
l--ine
@end table

@vtable @asis
@item a
l--ine
@end vtable

@ftable @minus
@item a
l--ine
@end ftable

@flushleft
flushleft
@end flushleft

@flushright
flushright
@end flushright

@center centered line

@verbatiminclude simplest.texi

@end ifset

@c test @copying in ifset

@ifset notset
@copying
copying
@end copying
@end ifset

@ifset notset
@copying
@end ifset

@c test indices, @contents and @bye in ifset

@ifset notset
@cindex t--ruc
@cindex T--ruc
@cindex .
@cindex ?
@cindex a
@findex t--ruc
@findex T--ruc
@findex .
@findex ?
@findex a

cp
@printindex cp

fn
@printindex fn

vr
@printindex vr

ky
@printindex ky

pg
@printindex pg

tp
@printindex tp

@contents
@shortcontents
@bye
@end ifset

@c test that @end ifset is ignored when appearing in @ignore

@ifset notset
@ignore
@end ifset
@end ignore
text
@end ifset

@c test that lone braces are ignored in @ifset

@ifset notset
open {
@end ifset

@ifset notset
close }
@end ifset

@c test that @end ifset is ignored when appearing in @verb, @verbatim,
@c html,

@ifset notset
@verbatim
@end ifset
@end verbatim
@end ifset

@ifset notset
@verb{%
@end ifset
%}
@end ifset

@ifset notset
@html
@ifset
@end html
@end ifset

@c test that there is no error with a @table, @example, @deffn and
@c @itemize opening in @ifset

@ifset notset
@table
@end ifset

@ifset notset
@example
@end ifset

@ifset notset
@deffn aaa
@end ifset

@ifset notset
@itemize
@item my item
@end ifset

@c test that there is no error with a @table, @example, @deffn and
@c @itemize end in @ifset

@ifset notset
@end table
@end ifset

@ifset notset
@end example
@end ifset

@ifset notset
@end deffn
@end ifset

@ifset notset
@end itemize
@end ifset

@c test that @-command opening is ignored when appearing in @ignore

@ifset notset
opend code @code{
@end ifset

@c test that @deffnx is ignored in @ifset

@ifset notset
@deffnx something
@end ifset

@c test nested ifset

@ifset notset
@ifset nonotset

doubly unset

@end ifset
@end ifset

@c test that some wrong constructs are rightly ignored in nested @ifset

@ifset notset
@ifset nonotset

@ignore
@end ifset
@end ignore

@ifclear

}

@macro3

{

@verb{%

m%}

@code{

@end ifset
@end ifset

@c test for @node in @ifset

@ifset notset
@node
@end ifset

@c test for @ifset without arg in @ifset

@ifset notset
text3
@ifset
text4
@end ifset
@end ifset

@c define a macro and call it within a @ifset

@macro mymacro

<
>
"
&

``simple-double--three---four----''@*
code: @code{``simple-double--three---four----''} @*
asis: @asis{``simple-double--three---four----''} @*
strong: @strong{``simple-double--three---four----''} @*
kbd: @kbd{``simple-double--three---four----''} @*

@cindex --option
@cindex ``
@findex ``
@findex --foption

@@"u @"u
@@"@{U@} @"{U}
@@~n @~n
@@^a @^a
@@'e @'e
@@=o @=o
@@`i @`i
@@'@{@@dotless@{i@}@} @'{@dotless{i}}
@@dotless@{i@} @dotless{i}
@@dotless@{ij@} @dotless{ij}

@@dotless@{truc@} @dotless{truc}

@@* @*
@@ followed by a space
@
@@ followed by a tab
@
@@ followed by a new line
@
@code{@@-} @-
@code{@@|} @|
@code{@@:} @:
@code{@@!} @!
@code{@@?} @?
@code{@@.} @.
@code{@@@@} @@
@code{@@@}} @}
@code{@@@{} @{
@code{@@/} @/
@code{@@#} @#

@@TeX @TeX{}
@@LaTeX @LaTeX{}
@c @br{}
@@bullet @bullet{}
@@copyright @copyright{}
@@dots @dots{}
@@enddots @enddots{}
@@equiv @equiv{}
@@error @error{}
@@expansion @expansion{}
@@minus @minus{}
@@point @point{}
@@print @print{}
@@result @result{}
@@today @today{}
@@aa @aa{}
@@AA @AA{}
@@ae @ae{}
@@oe @oe{}
@@AE @AE{}
@@OE @OE{}
@@o @o{}
@@O @O{}
@@ss @ss{}
@@l @l{}
@@L @L{}
@@exclamdown @exclamdown{}
@@questiondown @questiondown{}
@@pounds @pounds{}
@@registeredsymbol @registeredsymbol{}
@@ordf @ordf{}
@@ordm @ordm{}
@@comma @comma{}

@code{@@acronym@{--a,an accronym @@comma@{@} @@enddots@{@}@}} @acronym{--a,an accronym @comma{} @enddots{}}
@code{@@acronym@{--a@}} @acronym{--a}
@code{@@asis@{--a@}} @asis{--a}
@code{@@b@{--a@}} @b{--a}
@code{@@cite@{--a@}} @cite{--a}
@code{@@code@{--a@}} @code{--a}
@code{@@command@{--a@}} @command{--a}
@code{@@ctrl@{--a@}} @ctrl{--a}
@code{@@dfn@{--a@}} @dfn{--a}
@code{@@dmn@{--a@}} @dmn{--a}
@code{@@email@{--a,--b@}} @email{--a,--b}
@code{@@email@{,--b@}} @email{,--b}
@code{@@email@{--a@}} @email{--a}
@code{@@emph@{--a@}} @emph{--a}
@code{@@env@{--a@}} @env{--a}
@code{@@file@{--a@}} @file{--a}
@code{@@i@{--a@}} @i{--a}
@code{@@kbd@{--a@}} @kbd{--a}
@code{@@key@{--a@}} @key{--a}
@code{@@math@{--a@}} @math{--a}
@code{@@option@{--a@}} @option{--a}
@code{@@r@{--a@}} @r{--a}
@code{@@samp@{--a@}} @samp{--a}
@code{@@sc@{--a@}} @sc{--a}
@code{@@strong@{--a@}} @strong{--a}
@code{@@t@{--a@}} @t{--a}
@code{@@titlefont@{--a@}} @titlefont{--a}
@code{@@indicateurl@{--a@}} @indicateurl{--a}
@code{@@uref@{--a,--b@}} @uref{--a,--b}
@code{@@uref@{--a@}} @uref{--a}
@code{@@uref@{,--b@}} @uref{,--b}
@code{@@url@{--a,--b@}} @url{--a,--b}
@code{@@url@{--a,@}} @url{--a,}
@code{@@url@{,--b@}} @url{,--b}
@code{@@var@{--a@}} @var{--a}
@code{@@verb@{:--a:@}} @verb{:--a:}
@code{@@w@{--a@}} @w{--a}
@code{@@H@{a@}} @H{a}
@code{@@H@{--a@}} @H{--a}
@code{@@dotaccent@{a@}} @dotaccent{a}
@code{@@dotaccent@{--a@}} @dotaccent{--a}
@code{@@ringaccent@{a@}} @ringaccent{a}
@code{@@ringaccent@{--a@}} @ringaccent{--a}
@code{@@tieaccent@{a@}} @tieaccent{a}
@code{@@tieaccent@{--a@}} @tieaccent{--a}
@code{@@u@{a@}} @u{a}
@code{@@u@{--a@}} @u{--a}
@code{@@ubaraccent@{a@}} @ubaraccent{a}
@code{@@ubaraccent@{--a@}} @ubaraccent{--a}
@code{@@udotaccent@{a@}} @udotaccent{a}
@code{@@udotaccent@{--a@}} @udotaccent{--a}
@code{@@v@{a@}} @v{a}
@code{@@v@{--a@}} @v{--a}
@code{@@,@{c@}} @,{c}
@code{@@,@{--c@}} @,{--c}
@code{@@dotless@{--a@}} @dotless{--a}
@code{@@dotless@{a@}} @dotless{a}
@code{@@footnote@{in footnote@}} @footnote{in footnote}
@code{@@footnote@{in footnote2@}} @footnote{in footnote2}

@code{@@image@{f--ile,,e--xt@}} @image{f--ile,,e--xt}
@code{@@image@{f--ile,,,,e--xt@}} @image{f--ile,,,,e--xt}
@code{@@image@{f--ile,,,alt@}} @image{f--ile,,,alt}
@code{@@image@{f--ile,aze,az,alt,e--xt@}} @image{f--ile,aze,az,alt,e--xt}
@code{@@image@{f-ile,aze,,a--lt@}} @image{f-ile,aze,,a--lt}
@code{@@image@{f--ile@}} @image{f--ile}
@code{@@image@{,,e--xt@}} @image{,,e--xt}
@code{@@image@{,,,e--xt@}} @image{,,,e--xt}
@code{@@image@{file@@verb@{:jk _" %@@:@},,,alt@@verb@{:jk _" %@@:@}@}} @image{file@verb{:jk _" %@:},,,alt@verb{:jk _" %@:}}
@code{@@image@{@@file@{f--ile@}@@@@@@.,aze,az,alt,@@file@{file ext@} e--xt@@@}} @image{@file{f--ile}@@@.,aze,az,alt,@file{file ext} e--xt@}}

@sp
@sp 2

@quotation
a q--uotation
@end quotation

@itemize
@item i--temize
@end itemize

@itemize +
@item i--tem +
@end itemize

@itemize @bullet
@item b--ullet
@end itemize

@itemize @minus
@item minu--s
@end itemize

@itemize @emph
@item e--mph item
@end itemize

@itemize @emph after emph
@item e--mph item
@end itemize

@itemize @bullet a--n itemize line
@item i--tem 1
@item i--tem 2
@end itemize

@enumerate
@item e--numerate
@end enumerate

@multitable @columnfractions 6 7
@headitem mu--ltitable headitem @tab another tab
@item mu--ltitable item @tab multitable tab
@end multitable

@example
e--xample  some
   text
@end example

@smallexample
s--mallexample
@end smallexample

@display
d--isplay
@end display

@smalldisplay
s--malldisplay
@end smalldisplay

@lisp
l--isp
@end lisp

@smalllisp
s--malllisp
@end smalllisp

@format
f--ormat
@end format

@smallformat
s--mallformat
@end smallformat

@deffn c--ategory d--effn_name a--rguments...
d--effn
@end deffn

@deffn cate--gory de--ffn_name ar--guments @
   more args @* even more so
def--fn
@end deffn

@deffn fset @var{i} a g
@deffnx {cmde} truc {}
@deffnx Command {log trap} {}
@deffnx Command { log trap1} {}
@deffnx Command {log trap2 } {}
@deffnx cmde @b{id ule} truc
@deffnx cmde2 @b{id @samp{i} ule} truc
@deffnx @b{id @samp{i} ule}
@deffnx
@deffnx aaa
@deffnx {} {}
@deffnx{}
@deffnx{} machin
@deffnx{} {bidule machin}
@deffnx{truc} machin
@deffnx{truc} { }
@deffnx{truc}
@deffnx{} {}
@deffnx {truc} followed by a comment
@c comment
@deffnx truc machin bidule chose and }
@deffnx truc machin bidule chose and } after
@deffnx truc machin bidule chose and {
@deffnx truc machin bidule chose and { and after
Various deff lines
@deffnx {truc} after a deff item
@c comment
text in def item for second def item
@deffnx {truc} deffnx before end deffn
@end deffn

@defvr c--ategory d--efvr_name
d--efvr
@end defvr

@deftypefn c--ategory t--ype d--eftypefn_name a--rguments...
d--eftypefn
@end deftypefn

@deftypeop c--ategory c--lass t--ype d--eftypeop_name a--rguments...
d--eftypeop
@end deftypeop

@deftypevr c--ategory t--ype d--eftypevr_name
d--eftypevr
@end deftypevr

@defcv c--ategory c--lass d--efcv_name
d--efcv
@end defcv

@defop c--ategory c--lass d--efop_name a--rguments...
d--efop
@end defop

@deftp c--ategory d--eftp_name a--ttributes...
d--eftp
@end deftp

@defun d--efun_name a--rguments...
d--efun
@end defun

@defmac d--efmac_name a--rguments...
d--efmac
@end defmac

@defspec d--efspec_name a--rguments...
d--efspec
@end defspec

@defvar d--efvar_name
d--efvar
@end defvar

@defopt d--efopt_name
d--efopt
@end defopt

@deftypefun t--ype d--eftypefun_name a--rguments...
d--eftypefun
@end deftypefun

@deftypevar t--ype d--eftypevar_name
d--eftypevar
@end deftypevar

@defivar c--lass d--efivar_name
d--efivar
@end defivar

@deftypeivar c--lass t--ype d--eftypeivar_name
d--eftypeivar
@end deftypeivar

@defmethod c--lass d--efmethod_name a--rguments...
d--efmethod
@end defmethod

@deftypemethod c--lass t--ype d--eftypemethod_name a--rguments...
d--eftypemethod
@end deftypemethod

@code{@@xref@{chapter, cross ref name, title, file name, manual@}} @xref{chapter, cross ref name, title, file name, manual}
@code{@@ref@{chapter, cross ref name, title, file name, manual@}} @ref{chapter, cross ref name, title, file name, manual}
@code{@@pxref@{chapter, cross ref name, title, file name, manual@}} @pxref{chapter, cross ref name, title, file name, manual}
@code{@@inforef@{chapter, cross ref name, file name@}} @inforef{chapter, cross ref name, file name}

@code{@@ref@{chapter@}} @ref{chapter}
@code{@@ref@{node@}} @ref{node}
@code{@@ref@{,cross ref name@}} @ref{,cross ref name}
@code{@@ref@{,,title@}} @ref{,,title}
@code{@@ref@{,,,file name@}} @ref{,,,file name}
@code{@@ref@{,,,,manual@}} @ref{,,,,manual}
@code{@@ref@{chapter,cross ref name@}} @ref{chapter,cross ref name}
@code{@@ref@{chapter,,title@}} @ref{chapter,,title}
@code{@@ref@{chapter,,,file name@}} @ref{chapter,,,file name}
@code{@@ref@{chapter,,,,manual@}} @ref{chapter,,,,manual}
@code{@@ref@{node,cross ref name@}} @ref{node,cross ref name}
@code{@@ref@{node,,title@}} @ref{node,,title}
@code{@@ref@{node,,,file name@}} @ref{node,,,file name}
@code{@@ref@{node,,,,manual@}} @ref{node,,,,manual}
@code{@@ref@{chapter,cross ref name,title,@}} @ref{chapter,cross ref name,title,}
@code{@@ref@{chapter,cross ref name,,file name@}} @ref{chapter,cross ref name,,file name}
@code{@@ref@{chapter,cross ref name,,,manual@}} @ref{chapter,cross ref name,,,manual}
@code{@@ref@{node,cross ref name,title,@}} @ref{node,cross ref name,title,}
@code{@@ref@{node,cross ref name,,file name@}} @ref{node,cross ref name,,file name}
@code{@@ref@{node,cross ref name,,,manual@}} @ref{node,cross ref name,,,manual}
@code{@@ref@{chapter,cross ref name,title,file name@}} @ref{chapter,cross ref name,title,file name}
@code{@@ref@{chapter,cross ref name,title,,manual@}} @ref{chapter,cross ref name,title,,manual}
@code{@@ref@{node,cross ref name,title,file name@}} @ref{node,cross ref name,title,file name}
@code{@@ref@{node,cross ref name,title,,manual@}} @ref{node,cross ref name,title,,manual}
@code{@@ref@{chapter,cross ref name,title, file name, manual@}} @ref{chapter,cross ref name,title, file name, manual}
@code{@@ref@{node,cross ref name,title, file name, manual@}} @ref{node,cross ref name,title, file name, manual}
@code{@@ref@{chapter,,title,file name@}} @ref{chapter,,title,file name}
@code{@@ref@{chapter,,title,,manual@}} @ref{chapter,,title,,manual}
@code{@@ref@{node,,title,file name@}} @ref{node,,title,file name}
@code{@@ref@{node,,title,,manual@}} @ref{node,,title,,manual}
@code{@@ref@{chapter,,title, file name, manual@}} @ref{chapter,,title, file name, manual}
@code{@@ref@{node,,title, file name, manual@}} @ref{node,,title, file name, manual}
@code{@@ref@{chapter,,,file name,manual@}} @ref{chapter,,,file name,manual}
@code{@@ref@{node,,,file name,manual@}} @ref{node,,,file name,manual}
@code{@@ref@{,cross ref name,title,@}} @ref{,cross ref name,title,}
@code{@@ref@{,cross ref name,,file name@}} @ref{,cross ref name,,file name}
@code{@@ref@{,cross ref name,,,manual@}} @ref{,cross ref name,,,manual}
@code{@@ref@{,cross ref name,title,file name@}} @ref{,cross ref name,title,file name}
@code{@@ref@{,cross ref name,title,,manual@}} @ref{,cross ref name,title,,manual}
@code{@@ref@{,cross ref name,title, file name, manual@}} @ref{,cross ref name,title, file name, manual}
@code{@@ref@{,,title,file name@}} @ref{,,title,file name}
@code{@@ref@{,,title,,manual@}} @ref{,,title,,manual}
@code{@@ref@{,,title, file name, manual@}} @ref{,,title, file name, manual}
@code{@@ref@{,,,file name,manual@}} @ref{,,,file name,manual}

@code{@@inforef@{chapter, cross ref name, file name@}} @inforef{chapter, cross ref name, file name}
@code{@@inforef@{chapter@}} @inforef{chapter}
@code{@@inforef@{chapter, cross ref name@}} @inforef{chapter, cross ref name}
@code{@@inforef@{chapter,,file name@}} @inforef{chapter,,file name}
@code{@@inforef@{node, cross ref name, file name@}} @inforef{node, cross ref name, file name}
@code{@@inforef@{node@}} @inforef{node}
@code{@@inforef@{node, cross ref name@}} @inforef{node, cross ref name}
@code{@@inforef@{node,,file name@}} @inforef{node,,file name}
@code{@@inforef@{,cross ref name @}} @inforef{,cross ref name }
@code{@@inforef@{,,file name@}} @inforef{,,file name}
@code{@@inforef@{,cross ref name, file name@}} @inforef{,cross ref name, file name}

@code{@@ref@{s--ect@@comma@{@}ion, a @@comma@{@} in cross
ref, a comma@@comma@{@} in title, a comma@@comma@{@} in file, a @@comma@{@} in manual name @}}
@ref{s--ect@comma{}ion, a @comma{} in cross
ref, a comma@comma{} in title, a comma@comma{} in file, a @comma{} in manual name }

@code{@@ref@{s--ect@@comma@{@}ion@}} @ref{s--ect@comma{}ion}

@table @bullet
@item a
l--ine
@end table

@vtable @asis
@item a
l--ine
@end vtable

@ftable @minus
@item a
l--ine
@end ftable

@flushleft
flushleft
@end flushleft

@flushright
flushright
@end flushright

@center centered line

@verbatiminclude simplest.texi

@cindex t--ruc
@cindex T--ruc
@cindex .
@cindex ?
@cindex a
@findex t--ruc
@findex T--ruc
@findex .
@findex ?
@findex a

cp
@printindex cp

fn
@printindex fn

vr
@printindex vr

ky
@printindex ky

pg
@printindex pg

tp
@printindex tp

@contents
@shortcontents
@bye
@end macro

@c now call the macro within @ifset

@ifset notset
@copying
@mymacro{}
@end copying
@end ifset

@ifset notset
@mymacro{}
@end ifset

@ifset notset
@example
@mymacro{}
@end example
@end ifset

Line 1158 Before bye
@bye


code:
\input texinfo.tex    @c -*-texinfo-*-

@setfilename complex_command_in_simple_command.info

@node Top
@top Complex commands in simple commands

The complex commands.

Table

@table @asis
@item item
line
@end table
After table.

Multitable
@multitable {truc} {machin}
@item truc @tab machin
@end multitable

Enumerate.

@enumerate 1
@item item
@end enumerate

After enumerate.

Example

@example
Example
@end example

After example

defun

@defun name args...
text
@end defun

After defun.

Flushright

@flushright
in flushright
@end flushright

Centered line

@center in centered line

Before quotation

@quotation
a q--uotation
@end quotation

After quotation

Before cartouche

@cartouche
Cartouche
@end cartouche

After cartouche

@subheading In samp

@samp{
in code

Table

@table @asis
@item item
line
@end table
After table.

Multitable
@multitable {truc} {machin}
@item truc @tab machin
@end multitable

After multitable.

Enumerate.

@enumerate 1
@item item
@end enumerate

After enumerate.

Example

@example
Example
@end example

After example

defun

@defun name args...
text
@end defun

After defun.

Flushright

@flushright
in flushright
@end flushright

Centered line

@center in centered line

Before quotation

@quotation
a q--uotation
@end quotation

After quotation

Before cartouche

@cartouche
Cartouche
@end cartouche

After cartouche

}

@subheading in b

@b{
in b

Table

@table @asis
@item item
line
@end table
After table.

Multitable
@multitable {truc} {machin}
@item truc @tab machin
@end multitable

Enumerate.

@enumerate 1
@item item
@end enumerate

After enumerate.
Example

@example
Example
@end example

After example

defun

@defun name args...
text
@end defun

After defun.

Flushright

@flushright
in flushright
@end flushright

Centered line

@center in centered line

Before quotation

@quotation
a q--uotation
@end quotation

After quotation

Before cartouche

@cartouche
Cartouche
@end cartouche

After cartouche
}

@subheading in code
@code{
In code.

Table

@table @asis
@item item
line
@end table
After table.

Multitable
@multitable {truc} {machin}
@item truc @tab machin
@end multitable

Enumerate.

@enumerate 1
@item item
@end enumerate

After enumerate.

Example

@example
Example
@end example

After example

defun

@defun name args...
text
@end defun

After defun.

Flushright

@flushright
in flushright
@end flushright

Centered line

@center in centered line

Before quotation

@quotation
a q--uotation
@end quotation

After quotation

Before cartouche

@cartouche
Cartouche
@end cartouche

After cartouche
}

@subheading in b and samp
@samp{
In samp.
@b{
In b

Table

@table @asis
@item item
line
@end table
After table.

Multitable
@multitable {truc} {machin}
@item truc @tab machin
@end multitable

Enumerate.

@enumerate 1
@item item
@end enumerate

After enumerate.

Example

@example
Example
@end example

After example

defun

@defun name args...
text
@end defun

After defun.

Flushright

@flushright
in flushright
@end flushright

Centered line

@center in centered line

Before quotation

@quotation
a q--uotation
@end quotation

After quotation

Before cartouche

@cartouche
Cartouche
@end cartouche

After cartouche

close b}
and close samp
}

After the tests.

@bye


code:
\input texinfo @c -*-texinfo-*-
@setfilename def_cmds.info
@node Top
@top Test for definition commands

@macro mymacro
@deffn c--ategory d--effn_name a--rguments...
d--effn
@end deffn

@deffn cate--gory de--ffn_name ar--guments @
   more args @* even more so
def--fn
@end deffn

@deffn fset @var{i} a g
@deffnx {cmde} truc {}
@deffnx Command {log trap} {}
@deffnx Command { log trap1} {}
@deffnx Command {log trap2 } {}
@deffnx cmde @b{id ule} truc
@deffnx cmde2 @b{id @samp{i} ule} truc
@deffnx{} machin
@deffnx{} {bidule machin}
@deffnx{truc} machin
@deffnx {truc} followed by a comment
@c comment
Various deff lines
@deffnx {truc} after a deff item
@c comment
text in def item for second def item
@deffnx {truc} deffnx before end deffn
@end deffn

@deffn empty deffn
@end deffn

@deffn empty deffn with deffnx
@deffnx empty deffnx
@end deffn

@defvr c--ategory d--efvr_name
d--efvr
@end defvr

@deftypefn c--ategory t--ype d--eftypefn_name a--rguments...
d--eftypefn
@end deftypefn

@deftypeop c--ategory c--lass t--ype d--eftypeop_name a--rguments...
d--eftypeop
@end deftypeop

@deftypevr c--ategory t--ype d--eftypevr_name
d--eftypevr
@end deftypevr

@defcv c--ategory c--lass d--efcv_name
d--efcv
@end defcv

@defop c--ategory c--lass d--efop_name a--rguments...
d--efop
@end defop

@deftp c--ategory d--eftp_name a--ttributes...
d--eftp
@end deftp

@defun d--efun_name a--rguments...
d--efun
@end defun

@defmac d--efmac_name a--rguments...
d--efmac
@end defmac

@defspec d--efspec_name a--rguments...
d--efspec
@end defspec

@defvar d--efvar_name
d--efvar
@end defvar

@defopt d--efopt_name
d--efopt
@end defopt

@deftypefun t--ype d--eftypefun_name a--rguments...
d--eftypefun
@end deftypefun

@deftypevar t--ype d--eftypevar_name
d--eftypevar
@end deftypevar

@defivar c--lass d--efivar_name
d--efivar
@end defivar

@deftypeivar c--lass t--ype d--eftypeivar_name
d--eftypeivar
@end deftypeivar

@defmethod c--lass d--efmethod_name a--rguments...
d--efmethod
@end defmethod

@deftypemethod c--lass t--ype d--eftypemethod_name a--rguments...
d--eftypemethod
@end deftypemethod

@end macro

@copying
@mymacro{}
@end copying

@mymacro{}

@example
@mymacro{}
@end example

@c deffn
@deffn Command @var{forward--char} @var{nchars} {argument2} {argument3} @
        (arg in brace, [something @var{in v--ar}, @b{in, b} {, comma} a@var{pref} p]) last
@end deffn

@c defvr
@defvr Variable fill-column {argument1} {argument2} @
        (arg in brace, [something @var{in v--ar}, @b{in, b} {, comma} a@var{pref} p]) last
@end defvr

@c deftypefn
@deftypefn {Library Function} int foobar (int @var{foo}, float @var{bar})
@end deftypefn

@deftypefn {Library Function} int foobar (int @var{foo}, float @var{bar}) @
        (arg in brace, {[something} @var{in v--ar}, @b{in, b} {, comma} a@var{pref} p]) ct@*@* last
@end deftypefn

@deftypefn {Library Function} int foobug {[something}
@end deftypefn

@deftypefn stacks private push (@var{s}:in out stack; @
                 @var{n}:in integer) ; ;barg aarg; ; end
@end deftypefn

@c deftypevr
@deftypevr {Global Flag} int enable @
        (arg in brace, [something @var{in v--ar}, @b{in, b} {, comma} a@var{pref} p]) last
@end deftypevr

@c deftp
@deftp {Data type} pair car cdr @
        (arg in brace, [something @var{in v--ar}, @b{in, b} {, comma} a@var{pref} p]) last
@end deftp

@c defcv
@defcv {Class Option} Window border-pattern @
        (arg in brace, [something @var{in v--ar}, @b{in, b} {, comma} a@var{pref} p]) last
@end defcv

@c deftypecv
@deftypecv {Class Option2} Window @code{int} border-pattern @
        (arg in brace, [something @var{in v--ar}, @b{in, b} {, comma} a@var{pref} p]) last
@end deftypecv

@c defop
@defop Operation windows expose @
        (arg in brace, [something @var{in v--ar}, @b{in, b} {, comma} a@var{pref} p]) last
@end defop

@c deftypeop
@deftypeop Operation2 W,indow @code{int} expose @
        (arg in brace, [something @var{in v--ar}, @b{in, b} {, comma} a@var{pref} p]) last
@end deftypeop

@deftypeop Operation5 Window @code{int} expose type arg
@end deftypeop

@deftypeop Operation3 {W,indow} @code{int} {e,xpose} type arg
@end deftypeop

@deftypeop Operation4 {,Window} @code{int} {,expose} type arg
@end deftypeop

@deftypeop Operation6 W,indow @code{int} e,xpose type arg
@end deftypeop

@deftypeop Operation7 ,Window @code{int} ,expose type arg
@end deftypeop

@deftypeop Operation13 {W)indow} @code{int} {e)xpose} type arg
@end deftypeop

@deftypeop Operation14 {)Window} @code{int} {)expose} type arg
@end deftypeop

@deftypeop Operation16 W)indow @code{int} e)xpose type arg
@end deftypeop

@deftypeop Operation17 )Window @code{int} )expose type arg
@end deftypeop

@deftypeop Operation18 {W;indow} @code{int} {e;xpose} type arg
@end deftypeop

@deftypeop Operation19 {;Window} @code{int} {;expose} type arg
@end deftypeop

@deftypeop Operation20 W;indow @code{int} e;xpose type arg
@end deftypeop

@deftypeop Operation21 ;Window @code{int} ;expose type arg
@end deftypeop

@deftypeop Command@code{com} {Window@code{int}} expose@var{exp} name
@end deftypeop

@defun apply function &rest arguments
@end defun

@c deffn
@deffn @var{A1} @var{A2} @var{A3} @var{A4}
@end deffn

@deffn @code{A1} @code{A2} @code{A3} @code{A4}
@end deffn

@c defvr
@defvr @var{A1} @var{A2} @var{A3} @var{A4}
@end defvr

@defvr @code{A1} @code{A2} @code{A3} @code{A4}
@end defvr

@c deftypefn
@deftypefn @var{A1} @var{A2} @var{A3} @var{A4} @var{A5}
@end deftypefn

@deftypefn @code{A1} @code{A2} @code{A3} @code{A4} @code{A5}
@end deftypefn

@c deftypevr
@deftypevr @var{A1} @var{A2} @var{A3} @var{A4} @var{A5}
@end deftypevr

@deftypevr @code{A1} @t{A2} @code{A3} @code{A4} @code{A5}
@end deftypevr

@c deftp
@deftp @var{A1} @var{A2} @var{A3} @var{A4}
@end deftp

@deftp @code{A1} @code{A2} @code{A3} @code{A4}
@end deftp

@c defcv
@defcv @var{A1} @var{A2} @var{A3} @var{A4} @var{A5}
@end defcv

@deftp @code{A1} @code{A2} @code{A3} @code{A4} @code{A5}
@end deftp

@c deftypecv
@deftypecv @var{A1} @var{A2} @var{A3} @var{A4} @var{A5} @var{A6}
@end deftypecv

@deftypecv @code{A1} @code{A2} @option{A3} @code{A4} @code{A5} @code{A6}
@end deftypecv

@c defop
@defop @var{A1} @var{A2} @var{A3} @var{A4} @var{A5}
@end defop

@defop @code{A1} @code{A2} @code{A3} @code{A4} @code{A5}
@end defop

@c deftypeop
@deftypeop @var{A1} @var{A2} @var{A3} @var{A4} @var{A5} @var{A6}
@end deftypeop

@deftypeop @code{A1} @code{A2} @code{A3} @code{A4} @code{A5} @code{A6}
@end deftypeop

@deftypefn {code then var} {ret_type} {fun_name} @code{A1} @var{A2} @code{A3} @var{A4}
@end deftypefn

@deftypefn {var then code} {ret_type1} {fun_name1} @var{A1} @code{A2} @var{A3} @code{A4}
@end deftypefn

@printindex vr
@printindex fn

@bye


code:
\input texinfo @c -*-texinfo-*-
@setfilename def_end_of_line.info

@node Top
@top Test for end of line protected in definition commands

@deffn category deffn_name arguments @
   more {args @
  with end of line within} with 3 @@ @@@
 {one last arg}
deffn
@end deffn

@deffn category2 deffn_name2 arguments2 @


code:
\input texinfo @c -*-texinfo-*-
@setfilename def_end_of_line_footnote.info

@node Top
@top Test for end of line protected in definition commands in footnote

@footnote{
@deffn category deffn_name arguments arg2 @
   more {args @
  with end of line within} with 3 @@ @@@
 {one last arg}
deffn
@end deffn
}

@bye


code:
\input texinfo   @c -*-texinfo-*-
@comment %**start of header
@setfilename detailmenus.info

@node Top
@top Top

@menu
* chapter::               chapter

Menu comment

* chapter2:description.   Chapter 2
@detailmenu
* s--ect@comma{}ion:: s--ect@comma{}ion

Menu comment
``simple-double--three---four----''@*

* subsection ``simple-double--three---four----''::
* subsubsection::
@end detailmenu

Other comment

* chapter3::
@detailmenu
* s--ect@comma{}ion:: s--ect@comma{}ion

Menu comment
``simple-double--three---four----''@*

* subsection ``simple-double--three---four----''::
* subsubsection::
@end detailmenu
* chapter4::
@end menu

@node chapter
@chapter chapter

@menu
* s--ect@comma{}ion:: s--ect@comma{}ion
* subsubsection::                        FIXME this should lead to a warning
@end menu

@node s--ect@comma{}ion
@section A section

@menu
* subsection ``simple-double--three---four----''::
@end menu

@node subsection ``simple-double--three---four----''
@subsection subsection ``simple-double--three---four----''

@menu
* subsubsection::
@end menu

@node subsubsection
@subsubsection subsubsection

@node chapter2
@chapter chapter 2

@node chapter3
@chapter chapter 3

@node chapter4
@chapter chapter 4

@contents
@shortcontents

@bye


code:
\input texinfo @c -*-texinfo-*-

@setfilename direntry_dircategory.info

@dircategory ``category---@var{th  ere}?''
@direntry
* foo: (foo).   ``hello---@var{there}?''
@end direntry

@dircategory cat2
@direntry
* aaa ::               aaaa
                   bbbbb

menutitle
@end direntry

@node Top
@top Test dircategory and direntry

Text
@dircategory in text
@direntry
* in text: (in_text). in text
@end direntry

@menu
* chapter::
@end menu

@node chapter
@chapter chapter

In chapter

@bye


code:
\input texinfo @c -*-texinfo-*-

@setfilename double_style_paragraph.info

@node Top
@top 2 style commands enclosing 2 paragraphs

@emph{@strong{
First para.

Second para.
}
}

@bye


code:
\input texinfo
@setfilename empty_deftype.info

@deftypefun {} f (const type& x)
Deftypefun.
@end deftypefun

@defun f (const type& x)
Defun.
@end defun

@deftypemethod c {} f (const type& x)
Deftypemethod.
@end deftypemethod

@defmethod c f (const type& x)
Defmethod.
@end defmethod

@bye


code:
\input texinfo @c -*-texinfo-*-

@setfilename empty_item.info

@node Top
@top Element

@table @asis

Table asis

@item first item
@itemx
@itemx after an empty itemx, before an empty item
@item
@item in item before end table
@end table

@c since spaces are removed after @item(x) the end of lines are removed
@c after empty @item(x) leading to a weird output.
@vtable @emph

VTable emph

@item first item
@itemx
@itemx after an empty itemx, before an empty item
@item
@item in item before end table
@end vtable

@bye


code:
/* a comment */
@import "file2.css" tv
;

/* another comment
@import
*/

@import ("strange\" ;file") ;
@media tv { h3 {text-align: left} }


code:
\input texinfo @c -*-texinfo-*-

@setfilename float_copying.info

@copying

@float Copyright notice, public domain

Public domain is not really a licence, as it means than
the author abandon his copyright.

@caption{The Public Domain notice@footnote{
The caption copying footnote
@anchor{caption copying footnote anchor}

@cindex indexed caption copying footnote
@findex public domain function

see @ref{Copying and floats}.

}

@anchor{public domain anchor}
@cindex indexed caption
@findex indexed caption function
}
@end float
@end copying

@node Top
@top Top

@cindex Top

See the caption @ref{public domain anchor}.

See the float @ref{public domain}.

@insertcopying

@menu
* Copying and floats::
@end menu

@node Copying and floats
@appendix Copying and floats

In the appendix, we print the references and the copying once more
and the list of coyright notices (listoffloats).

See the caption @ref{public domain anchor}.

See the float @ref{public domain}.

@cindex listofloats

@insertcopying
@insertcopying

@subheading listoffloats
@listoffloats Copyright notice

@subheading printindex
@printindex cp
@printindex fn

@bye


code:
\input texinfo.tex    @c -*-texinfo-*-

@setfilename float_with_at_commands.info

@node Top
@top Test floats with @@-commands

@float entr@'ee, premi@`ere entr@'ee

Ceci est notre premi@`ere entr@'ee.
@caption{La premi@`ere entr@'ee est importante}

@end float

@listoffloats entr@'ee

@bye


code:
\input texinfo	@c -*-texinfo-*-
@c %**start of header
@setfilename format_in_titlepage.info
@c %**end of header

@titlepage

@format
Published
@end format

@end titlepage

@bye


code:
\input texinfo @c -*-texinfo-*-

@node Top

@menu
* (gcc):: text @table @minus
@item item
table line
@end table
@end menu

Some text.

@menu
* (manual):: desc
comment
* (info):: before verbatim @verbatim
some @ verb{' atim
* (texinfo):: in @ verbatim

@end verbatim
* (manual2):: %@html

<i></i>
@end html
Log$
* (truc):: @acronym{description
acronym}
@end menu
After menu

@menu
* (manual):: @table @asis
@item item

* (node)::
menu comment ?
* (node2):: description ?
  description continue ?
comment.
@end table
@end menu
@bye


code:
\input texinfo @c -*-texinfo-*-

@setfilename formats_only_titles.info

@node Top
@top Test formats with text before first item and no item

@itemize
before first itemize
@end itemize

@enumerate
before first enumerate
@end enumerate

@table @emph
before first table
@end table

@vtable @asis
before first vtable
@end vtable

@multitable @columnfractions 0.5 0.5
before first multitable
@end multitable

@bye


code:
\input texinfo @c -*-texinfo-*-

@setfilename headings.info

@copying

@heading in copying @@ @emph{heading}
@cindex cindex copying

@subheading second in copying @@ @emph{subheading}
@end copying

@heading before Top

@node Top
@top Test headings

@heading in top @@ @emph{heading}
@cindex index entry after heading in top

Before heading
@heading Heading within text
After heading

@chapter A chapter

@footnote{
@heading heading in footnote @@ @emph{heading}
@cindex heading in footnote
@heading second heading in footnote @@ @emph{heading}
}

First insertcopying:
@insertcopying

Second insertcopying:
@insertcopying

@chapter index

@printindex cp

@quotation

@heading in quotation @@ @emph{heading}

@end quotation

@bye


code:
\input texinfo
@setfilename menuli.info

@c extra li generated after <menu>
@c From: Marius Groeger <mag@sysgo.de>, 13nov98.

@menu
* entry1::
@end menu

@bye


code:
\input texinfo
@setfilename html-para.info
@settitle HTML paragraph beginning test

@c <p> is emitted at paragraph beginning, which makes the text
@c between START and END not exactly what some cm_xxx functions
@c expect, when they are called by pop_and_call_brace.

@set val @@value@{@}
@definfoenclose foo,\\,//

@node Top
@top Top of HTML paragraph test

@value{val} should work at the beginning of a new paragraph.

@dotless{i} dotless should not trigger error messages at the beginning
of a new paragraph.

@sc{small-caps} should work at the beginning of a new paragraph.

@foo{@@definfoenclose} should work at the beginning of a new paragraph.

@bye


code:
\input texinfo
@setfilename html-title.info
@settitle @@title @sc{html} @code{test}

@node Top
@top Top of @@title @sc{html} @code{test}

Top.

Second paragraph.

@bye


code:
\input texinfo @c -*-texinfo-*-

@setfilename images.info

@macro files-char
File with @@-commands and special characters:

@c cannot test a file with newline, since perl says
@c Unsuccessful stat on filename containing newline at ././../../texi2html.pl line 7375.
@c with a noon reproducible path
@c @image{f@@i--le@/.@.  a@*<"%@@@verb{:  < & @ % " :} ,,,,ext@@i--le@/.@.  a@*<"%@@@verb{:  < & @ % " :}}.
@image{f@@i--le@/.@.  a@@<"%@@@verb{:  < & @ % " :} ,,,,ext@@i--le@/.@.  a@@<"%@@@verb{:  < & @ % " :}}.

And also in alt, and with dimensions:

@c @image{f@@i--le@/.@.  a@*<"%@@@verb{:  < & @ % " :} ,1in, 1cm, alt @b{@dotless{@^{i}}--le@/.@.}  a@*<"%@@@verb{:  < & @ % " :}  ,ext@@i--le@/.@.  a@*<"%@@@verb{:  < & @ % " :}}.
@image{f@@i--le@/.@.  a@@<"%@@@verb{:  < & @ % " :} ,1in, 1cm, alt @b{@dotless{@^{i}}--le@/.@.}  a@*<"%@@@verb{:  < & @ % " :}  ,ext@@i--le@/.@.  a@@<"%@@@verb{:  < & @ % " :}}.
@end macro

@copying
In copying.
@image{f--ile}.

Text in copying.
@files-char{}
@end copying

@node Top
@top top

Insertcopying
@insertcopying

In normal context
@image{f--ile}.

On the same line, @code{f---ile}, @code{gr--a} extension @image{f---ile,,,,gr--a}.

Image sparated from text:

@image{f--ile}

And the same, followed by a dot:

@image{f--ile}.

An image with a @@ followed by a space or : from
@url{https://savannah.gnu.org/bugs/?8218}:
@image{,,,@ }.
@image{f--ile,,,@ }.
@image{,,,@:}.
@image{f--ile,,,@:}.

In example:

@example
Text. @code{f---ile} with jpeg extension.
@image{f---ile,,,,jpeg}.

@image{f--ile}.

@files-char{}
@end example

@float
In float.
@image{f--ile}.

@image{f--ile}.
@end float

@files-char{}

@bye


code:
\input texinfo @c -*-texinfo-*-

@setfilename index_in_item_line_table.info

@node Top
@top test index entries in @@item @@table

@table @asis
@item @cindex index
@option{opt}
More text
@item @cindex 2 index
@option{nopt}
Even more
@end table

@vindex another index

@bye


code:
\input texinfo @c -*-texinfo-*-

@setfilename index_in_item_line_table_in_code.info

@node Top
@top test index entries in @@item @@table in @@code

@code{

@table @asis
@item @cindex index
@option{opt}
More text
@item @cindex 2 index
@option{nopt}
Even more
@end table

}

@vindex another index

@bye


code:
\input texinfo @c -*-texinfo-*-

@setfilename index_in_item_line_vtable.info

@node Top
@top test index entries in @@item @@table

@vtable @asis
@item @cindex index
@option{opt}
More text
@item @cindex 2 index
@option{nopt}
Even more
@end vtable

@vindex another index

@bye


code:
\input texinfo @c -*-texinfo-*-

@setfilename index_in_item_line_vtable_printindex.info

@node Top
@top test index entries in @@item @@table

@vtable @asis
@item @cindex index
@option{opt}
More text
@item @cindex 2 index
@option{nopt}
Even more
@end vtable

@vindex another index

@printindex vr

@printindex cp

@bye


code:
\input texinfo @c -*-texinfo-*-

@setfilename indicateurl_paragraph.info

@node Top

Test a  indicateurl with end of line, and including a blank line. In texi2html
indicateurl is a simple_style, meaning that it should not be cut by
paragraph.

@indicateurl{http://begin
continue on other line}

@c texi2dvi doesn't accept this
@indicateurl{http://begin2

cut by blank line}

@bye


code:
\input texinfo @c -*-texinfo-*-

@setfilename inter_item_commands.info

@node Top
@top Test inter item ignored commands

@itemize @code
@c comment in itemize
@cindex also a cindex in itemize
@item e--mph item
@end itemize

@itemize @bullet
@cindex index entry within itemize
@item i--tem 1
@item @cindex index entry right after @@item
i--tem 2
@end itemize

@itemize
@c comment in itemize
T--ext before items.
@cindex also a cindex in itemize
@item bullet item
@end itemize

@enumerate

@comment comment before first item in enumerate
@item e--numerate
@end enumerate

@multitable {truc}
@c comment before first item

@item truc

@cindex index entry between empty lines

@item trouc
@c last comment
@end multitable

@multitable @columnfractions 6 7
@headitem mu--ltitable headitem @tab another tab
@item mu--ltitable item @tab multitable tab
@c comment in multitable
@item mu--ltitable item 2 @tab multitable tab 2
@cindex index entry within multitable
@item lone mu--ltitable item
@end multitable

@deffn fset @var{i} a g
@c comment before first deffnx

@deffnx Command { log trap1} {}
@cindex between deffnx
@deffnx cmde2 @b{id @samp{i} ule} truc
@cindex cindex in deff item

In deff item.
@end deffn

@vtable @code
@c comment in table
@item a
l--ine
@end vtable

@vtable @asis
@item a
@c comment between item and itemx
@itemx b
l--ine
@end vtable

@ftable @var
@item a
@cindex index entry between item and itemx
@c and a comment
@comment and another comment
@itemx b
l--ine
@item c

@c comment between lines

@itemx d

@c comment at end
@end ftable

@table @code
@cindex cindex in table
@c comment in table
@item abb
l--ine
@end table

@table @code
@cindex cindex in table
Texte before first item.
@item abb
@end table

cp
@printindex cp

fn
@printindex fn

vr
@printindex vr

@bye


code:
\input texinfo @c -*-texinfo-*-
@setfilename itemize_w.info
@node Top
@top Top section

@itemize @w{}
@item @option{--build=} platform on which the program is compiled,
@item @option{--host=} platform on which the program runs,
@item @option{--target=} target platform on which the program is processed.
@end itemize

@bye


code:
\input texinfo.tex    @c -*-texinfo-*-

@setfilename kbdinputstyle.info

@node Top
@top Test kbdinputstyle

@macro codekbdmacro
@code{in code out of example @code{in nested code}}.
@kbd{kbd out of example}.
@code{kbd @kbd{in code}}.

in example
@example
@code{in code in example @code{in nested code}}.
@kbd{kbd in example}.
@code{kbd @kbd{in code} in example}.
@end example
@end macro

@@kbdinputstyle code

@kbdinputstyle code

@codekbdmacro{}

@@kbdinputstyle example

@kbdinputstyle example

@codekbdmacro{}

@@kbdinputstyle distinct

@kbdinputstyle distinct

@codekbdmacro{}

@bye


code:
\input texinfo @c -*-texinfo-*-

@setfilename lightweight_markups.info

@node Top
@top Test lightweight formats markup escaping.

@menu
* [[ @{@{template@}@} @}@}@}[ @verb{!:!} @code{''em '''strong ''''' em strong ''[[link]]''}::
* Help@verb{!:!} something::
* other chapter::
* Simpler test ''' node::
@end menu

@node [[ @{@{template@}@} @}@}@}[ @verb{!:!} @code{''em '''strong ''''' em strong ''[[link]]''}
@chapter [[ @{@{template@}@} @}@}@}[ @verb{!:!} @code{''em '''strong ''''' em strong ''[[link]]''}

@anchor{anchor [[ @{@{}

@float f1 [[ @{@{, f2 ]] @}@}
Float
@caption{Caption [[ @{@{}
@end float

@node Help@verb{!:!} something
@chapter Help: something

@table @asis
@item Something : other thing
@end table

@ref{Simpler test ''' node}

@ref{Help@verb{!:!} something}.

@ref{[[ @{@{template@}@} @}@}@}[ @verb{!:!} @code{''em '''strong ''''' em strong ''[[link]]''}}

@ref{anchor [[ @{@{}

@node other chapter
@chapter other chapter

@node Simpler test ''' node
@chapter Simpler test '''

@bye


code:
\input texinfo @c -*-texinfo-*-

@setfilename setfilename.info@  @c setfilename
@settitle Settitle @ @c settittle

@node Top @c comment mode
@top top element@  @comment @top

@menu
* (gcc)node::@  @c comment menu entry
* node name:(truc)node@ @c comment menu entru node
* nodesub@ ::
* next::
@end menu

@heading Heading @     @c heading

@quotation truc@ @c quotation
In quotation
@end quotation

@float Text @ , label @ @c float
Float
@end float

@listoffloats Text @ @c listoffloats

@cindex index entry @  @c index entry

@printindex cp @c printindex

@node nodesub@ ,next,,Top

@node next, nodesub@
@bye @c bye


code:
\input texinfo @c -*-texinfo-*-

@macro themacro
@html
bidule
@end html
@end macro

@node Top

@menu
* (gcc):: @themacro{}
@end menu

Some text.

@menu
* (manual):: desc
comment
* (info):: before verbatim @verbatim
some @ verb{' atim
* (texinfo):: in @ verbatim
@end verbatim
@end menu
After menu

@bye


code:
\input texinfo
@setfilename menu_title_before_entries.info

@node Top
@top test menu title before menu entries

Text.

@menu
Horizontal space
* subnode::
@end menu

@node subnode
@section hi

There.

@bye


code:
\input texinfo   @c -*-texinfo-*-
@comment %**start of header
@setfilename menus.info

@node Top
@top Top

@menu
* chapter::               chapter

Menu comment

* description:chapter2,   Chapter 2
@end menu

Text.

@menu
* (gcc):: text @table @minus
@item item
table line
@end table
@end menu

Some text.

@menu
* (manual):: desc
comment
@ifset texi2html
* (info):: before verbatim @verbatim
some @ verb{' atim
* (texinfo):: in @ verbatim

@end verbatim
* (manual2):: $@html

<i></i>
@end html
@end ifset
Log $
* (truc):: @acronym{description
acronym}
@end menu
After menu

@menu
* (manual):: @table @asis
@item item
@ifset texi2html

* (node)::
menu comment ?
* (node2):: description ?
  description continue ?
comment.
@end ifset
@end table
@end menu

@node chapter
@chapter chapter

@footnote{in footnote}

@format
@menu
* s--ect@comma{}ion:: s--ect@comma{}ion

Menu comment
``simple-double--three---four----''@*

@end menu
@end format

@node s--ect@comma{}ion
@section A section

@menu
* subsection ``simple-double--three---four----''::
@end menu

@node subsection ``simple-double--three---four----''
@subsection subsection ``simple-double--three---four----''

@menu
@example
@ifset texi2html
* subsubsection::
Menu comment

* a description:(manual) other manual node.   Chapter 2
* Other file: (foo).            Test
@end ifset
@end example
@end menu

@anchor{anchor}

@ifset texi2html
@node subsubsection
@subsubsection subsubsection
@end ifset

@node chapter2
@chapter chapter 2

@example
@menu
* section in chapter 2:: in description @cartouche
in cartouche
@end cartouche
@end menu
@end example

@node section in chapter 2
@section section in chapter 2

@contents
@shortcontents

@bye


code:
\input texinfo @c -*-texinfo-*-

@setfilename multitables.info

@node Top
@top Test multitables

@multitable {AAA}  {BBB}
@item truc @tab bidule
@item begin item

new paragraph in item.

@tab begin tab

new paragraph in tab.
@end multitable

@example
@multitable {AAA}  {BBB}
@item truc @tab bidule example
@item begin item example

new paragraph in item. example

@tab begin tab example

new paragraph in tab. example
@end multitable
@end example

@bye


code:
\input texinfo @c -*-texinfo-*-

@setfilename nested_formats.info

@node Top
@top top

@format
@example

in -- format/example

@end example
@end format

@example
@format

in -- example/format

@end format
@end example

@bye


code:
\input texinfo @c -*-texinfo-*-

@setfilename nested_table.info

@node Top
@top Element

@macro myvtable
@vtable @asis
@item first item
@itemx second itemx

Text.

@item second item

Text 2

@item before empty itemx
@itemx
@itemx after an empty itemx, before an empty item
@item
@item in item before end table
@end vtable

Something.
@table @emph
@item in item
Text without blank line
@item second item
Text without blank line 2
@end table
After table.
@end macro

Quotation
@quotation
@myvtable{}
@end quotation

Example
@example
@myvtable{}
@end example

Double quotation
@quotation
@quotation
@myvtable{}
@end quotation
@end quotation

@bye


code:
\input texinfo @c -*-texinfo-*-
@setfilename no_colon_in_menu.info

@node Top
@top menu entry without colon

@menu
* a
@end menu

@bye


code:
\input texinfo @c -*-texinfo-*-

@setfilename paragraph_in_samp.info

@node Top
@top Test paragraph in @@samp

a 2 paragraphs sample @samp{in first paragraph

in second}.

a 3 paragraphs sample @samp{in first paragraph

in second

in third}.

@bye


code:
\input texinfo @c -*-texinfo-*-

@setfilename punctuation.info

@node Top
@top Element

Dot. Exclam! Question? Dot.  Exclam!  Question?  GAAA.

End of lines Dot.
Exclam!
Question?
End.

End of lines and spaces
Dot.
Exclam!
Question?
End.

With paren.) paren.)  Symb.)"'] Symb.)"']  End.

End of lines paren.)
Symb.)"']
End.

End of lines and spaces paren.)
Symb.)"']
End.

@heading End of sentences

Dot@. Exclam@! Question@? Dot@.  Exclam@!  Question@?  GAAA.

Enddots@enddots{} Enddots@enddots{}  GBBB.

End of lines Dot@.
Exclam@!
Question@?
Enddots@enddots{}
End.

End of lines and spaces
Dot@.
Exclam@!
Question@?
Enddots@enddots{}
End.

With paren@.) paren@.)  Symb@.)"'] Symb@.)"']  End.

End of lines paren@.)
Symb@.)"']
End.

End of lines and spaces paren@.)
Symb@.)"']
End.

@heading Not end of line

Dot.@: Exclam!@: Question?@: Dot.@:  Exclam!@:  Question?@:  GAAA.

End of lines Dot.@:
Exclam!@:
Question?@:
End.

End of lines and spaces
Dot.@:
Exclam!@:
Question?@:
End.

With paren.@:) paren.@:)  Symb.@:)"'] Symb.@:)"']  End.

End of lines paren.@:)
Symb.@:)"']
End.

End of lines and spaces paren.@:)
Symb.@:)"']
End.

@heading Accent leading to a dot

@dotaccent{o} in sentence.

At the end of line @dotaccent{o}
text following.

@bye


code:
\input texinfo @c -*-texinfo-*-

@setfilename punctuation_frenchspacing.info

@frenchspacing on

@node Top
@top Element

Dot. Exclam! Question? Dot.  Exclam!  Question?  GAAA.

End of lines Dot.
Exclam!
Question?
End.

End of lines and spaces
Dot.
Exclam!
Question?
End.

With paren.) paren.)  Symb.)"'] Symb.)"']  End.

End of lines paren.)
Symb.)"']
End.

End of lines and spaces paren.)
Symb.)"']
End.

@heading End of sentences

Dot@. Exclam@! Question@? Dot@.  Exclam@!  Question@?  GAAA.

Enddots@enddots{} Enddots@enddots{}  GBBB.

End of lines Dot@.
Exclam@!
Question@?
Enddots@enddots{}
End.

End of lines and spaces
Dot@.
Exclam@!
Question@?
Enddots@enddots{}
End.

With paren@.) paren@.)  Symb@.)"'] Symb@.)"']  End.

End of lines paren@.)
Symb@.)"']
End.

End of lines and spaces paren@.)
Symb@.)"']
End.

@heading Not end of line

Dot.@: Exclam!@: Question?@: Dot.@:  Exclam!@:  Question?@:  GAAA.

End of lines Dot.@:
Exclam!@:
Question?@:
End.

End of lines and spaces
Dot.@:
Exclam!@:
Question?@:
End.

With paren.@:) paren.@:)  Symb.@:)"'] Symb.@:)"']  End.

End of lines paren.@:)
Symb.@:)"']
End.

End of lines and spaces paren.@:)
Symb.@:)"']
End.

@heading Accent leading to a dot

@dotaccent{o} in sentence.

At the end of line @dotaccent{o}
text following.

@bye


code:
\input texinfo @c -*-texinfo-*-

@setfilename punctuation_in_command.info

@node Top
@top Element

Text.@asis{)
follows}.

Text. Email @email{.,.}
dmn @dmn{1.}
and text. indicateurl @indicateurl{.}
and kbd @kbd{.}
and emph @emph{.}
text. asis in code @code{@asis{.}}
text. a dot before a emph open .@emph{
and in emph.}

@bye


code:
\input texinfo.tex    @c -*-texinfo-*-

@setfilename quotation.info

@node Top
@top Quotations

@quotation
A quot---ation
@end quotation

@quotation Note
A Note
@end quotation

@quotation note
A note
@end quotation

@quotation Caution
Caution
@end quotation

@quotation Important
Important
@end quotation

@quotation Tip
a Tip
@end quotation

@quotation Warning
a Warning.
@end quotation

@quotation
@author Some One
A quot---ation
@end quotation

@quotation Note
@author Some Notifier
A Note
@end quotation

@quotation something @'e @TeX{}
The something @'e @TeX{} is here.
@end quotation

@quotation @@ at the end of line @
A @@ at the end of the @@quotation line.
@end quotation

@quotation @@@  at the end of line @
A @@@  at the end of the @@quotation line.
@end quotation

@quotation something, other thing
something, other thing
@end quotation

@quotation Note, the note
Note, the note
@end quotation

@quotation
@end quotation

@quotation Empty
@end quotation

@quotation @asis{}
@end quotation

@quotation @*
@end quotation

@example
@quotation
A quot---ation
@end quotation

@quotation Note
A Note
@end quotation

@quotation note
A note
@end quotation

@quotation Caution
Caution
@end quotation

@quotation Important
Important
@end quotation

@quotation Tip
a Tip
@end quotation

@quotation Warning
a Warning.
@end quotation

@quotation
@author Some One
A quot---ation
@end quotation

@quotation Note
@author Some Notifier
A Note
@end quotation

@quotation something @'e @TeX{}
The something @'e @TeX{} is here.
@end quotation

@quotation @@ at the end of line @
A @@ at the end of the @@quotation line.
@end quotation

@quotation @@@  at the end of line @
A @@@  at the end of the @@quotation line.
@end quotation

@quotation something, other thing
something, other thing
@end quotation

@quotation Note, the note
Note, the note
@end quotation

@quotation
@end quotation

@quotation Empty
@end quotation

@quotation @asis{}
@end quotation

@quotation @*
@end quotation
@end example

@bye


code:
\input texinfo @c -*-texinfo-*-

@setfilename quotes.info

@ifset utf8
@documentencoding utf-8
@set print_utf8 This is utf8.
@end ifset

@ignore
rm -rf quotes quotes-utf8 quotes-utf8.* quotes.dvi quotes.info quotes.?? \
 quotes.toc quotes.log quotes.aux
~/src/texinfo/util/texi2dvi quotes.texi
cp quotes.dvi  quotes.dvi-save
~/src/texinfo/makeinfo/makeinfo quotes.texi
~/src/texinfo/makeinfo/makeinfo --html quotes.texi
~/src/texinfo/util/texi2dvi --texinfo='@set utf8' -o quotes-utf8.dvi quotes.texi
mv quotes.dvi-save quotes.dvi
~/src/texinfo/makeinfo/makeinfo -D utf8 quotes.texi -o quotes-utf8.info
~/src/texinfo/makeinfo/makeinfo -D utf8 --html quotes.texi -o quotes-utf8
@end ignore

@macro quotes
``simple-double--three---four----'' `simple' quotedblleft: @quotedblleft{} @*
code: @code{``simple-double--three---four----'' `simple' quotedblleft: @quotedblleft{}} @*
asis: @asis{``simple-double--three---four----'' `simple' quotedblleft: @quotedblleft{}} @*
strong: @strong{``simple-double--three---four----'' `simple' quotedblleft: @quotedblleft{}} @*
kbd: @kbd{``simple-double--three---four----'' `simple' quotedblleft: @quotedblleft{}} @*
samp: @samp{``simple-double--three---four----'' `simple' quotedblleft: @quotedblleft{}} @*
@end macro

@macro allquotes
@quotes{}

@example
@@set txicodequoteundirected
@@set txicodequotebacktick
@end example
@set txicodequoteundirected
@set txicodequotebacktick
@quotes{}

@example
@@clear txicodequoteundirected
@@clear txicodequotebacktick
@end example
@clear txicodequoteundirected
@clear txicodequotebacktick
@quotes{}
@end macro

@copying
@allquotes{}
@end copying
@titlepage
Titlepage
@insertcopying
@end titlepage

@node Top
@top test quotes

@value{print_utf8}

@allquotes{}

@example
@allquotes{}
@end example

@bye


code:
# test that @need is redefined, and evenheading is kept ans leads to
# an error message.

$misc_command{'need'}->{'keep'} = 1;
$misc_command{'evenheading'}->{'keep'} = 1;

$unknown = \&t2h_redefine_need_unknown;

sub t2h_redefine_need_unknown($$$)
{
   my $command = shift;
   my $line = shift;
   my $pass = shift;

   my ($result_line, $result, $result_text, $message);

   if ($command eq 'need' and $pass == 2)
   {
       my $arg = '';
       if (($line =~ s/^\s+([0-9]+(\.[0-9]*)?)//) or ($line =~ s/\s+(\.[0-9]+)//))
       {
           $arg = $1;
           $line =~ s/^\s+//;
           $message = "$command has the right arg: $arg\n";
       }
       else
       {
           $message = "Bad arg for $command\n";
       }
       $result_text = &$comment("$command: $arg");
       return ($line, 1, $result_text, $message);
   }

   return ($line, 0, undef, undef);
}


code:
\input texinfo @c -*-texinfo-*-

@setfilename ref_in_anchor

@node Top
Top node

anchor@{TOP@} @anchor{TOP @ref{Top}}.
ref to TOP @@ref@{Top@}: @ref{TOP @ref{Top}}.

@bye


code:
\input texinfo @c -*-texinfo-*-
@setfilename simple_images.info
@node Top
@top Top section

@code{@@image@{f--ile@}} @image{f--ile}
@code{@@image@{f--ile,l--i@}} @image{f--ile,l--i}
@code{@@image@{f--ile,,l--e@}} @image{f--ile,,l--e}
@code{@@image@{f--ile,,,alt@}} @image{f--ile,,,alt}
@code{@@image@{f--ile,,,,e-d-xt@}} @image{f--ile,,,,e--xt}
@code{@@image@{f--ile,aze,az,alt,e--xt@}} @image{f--ile,aze,az,alt,e--xt}
@code{@@image@{f-ile,aze,,a--lt@}} @image{f-ile,aze,,a--lt}
@code{@@image@{@@file@{f--ile@}@@@@@@.,aze,az,alt,@@file@{file ext@} e--xt@@@}} @image{@file{f--ile}@@@.,aze,az,alt,@file{file ext} e--xt@}}

@example
@code{@@image@{f--ile@}} @image{f--ile}
@code{@@image@{f--ile,l--i@}} @image{f--ile,l--i}
@code{@@image@{f--ile,,l--e@}} @image{f--ile,,l--e}
@code{@@image@{f--ile,,,alt@}} @image{f--ile,,,alt}
@code{@@image@{f--ile,,,,e-d-xt@}} @image{f--ile,,,,e--xt}
@code{@@image@{f--ile,aze,az,alt,e--xt@}} @image{f--ile,aze,az,alt,e--xt}
@code{@@image@{f-ile,aze,,a--lt@}} @image{f-ile,aze,,a--lt}
@code{@@image@{@@file@{f--ile@}@@@@@@.,aze,az,alt,@@file@{file ext@} e--xt@@@}} @image{@file{f--ile}@@@.,aze,az,alt,@file{file ext} e--xt@}}
@end example

@image{f--ile,,,a very long alt argument that could span more than one line who knows}

in para
@image{f--ile,,,a very long alt argument that could span more than one line who knows}.

@bye


code:
\input texinfo @c -*-texinfo-*-

@setfilename simple_punctuation.info

@node Top
@top Punctuation commands.

foo vs.@: bar.
colon :@:And something else.
semi colon ;@:.
And ? ?@:.
Now ! !@:@@
but , ,@:

@bye


code:
\input texinfo @c -*-texinfo-*-

@setfilename simple_table.info

@node Top
@top Element

@table @emph
@item first item
@itemx second itemx

Text.

@item example
@example
In example

end example.
@end example
@item empty line

empty line.
@item quotation
@quotation
Quotation
@end quotation

@item quotation after a blank line

@quotation
quotation after a blank line
@end quotation
@end table

@vtable @strong
@item item before ignored lines
@c comment
@vindex vindex
@itemx itemx now

Description
@end vtable

@vtable @r
@item item

@itemx itemx after an empty line

Description.

@end vtable

Something.
@table @emph
@item in item
Text without blank line
@item second item
Text without blank line 2
@end table
After table.

@bye


code:
\input texinfo @c -*-texinfo-*-

@setfilename simplest.info

@node Top

This is a very simple texi manual @  <>.

@bye


code:
\input texinfo @c -*-texinfo-*-

@setfilename symbol_after_block.info

@node Top
@top Symbol after block

Html:

@html
In html
@end html. On the line.

@html
In html
@end html@@ On the line.

Verbatim:

@verbatim
In verbatim
@end verbatim;

@verbatim
In verbatim
@end verbatim@@

Table:

@table @bullet
@item a
l--ine
@end table+

@table @bullet
@item a
l--ine
@end table@@

Itemize:

@itemize @emph
@item e--mph item
@end itemize''

@itemize @emph
@item e--mph item
@end itemize@@

Multitable:

@multitable @columnfractions 6 7
@headitem mu--ltitable headitem @tab another tab
@item mu--ltitable item @tab multitable tab
@end multitable^

@multitable @columnfractions 6 7
@headitem mu--ltitable headitem @tab another tab
@item mu--ltitable item @tab multitable tab
@end multitable@{

Flushleft:

@flushleft
flushleft
@end flushleft!

@flushleft
flushleft
@end flushleft@@

Copying:

@copying
Copying
@end copying*

@copying
Copying
@end copying@@

@insertcopying

An html, all on one line:

Hi, my name is @html
Graham@end html.

@bye


code:
\input texinfo @c -*-texinfo-*-

@setfilename symbol_after_command.info

@node Top
@top Command after block

@table @asis
@item. dot
@item, comma
@item@@ @@
@item@{ @{
@item! exclam
@item'' quotes
@item: colon
@end table

@@. @{, @@@@ @?, @!: @@@{ @@'' @@:

@bye


code:
\input texinfo.tex    @c -*-texinfo-*-

@setfilename table_in_table_item.texi

@node Top
@top Test table nested in table item

@table @asis
@item item @table @asis
   @item in nested table item
   in nested table line
   @end table
in table line
@end table

And in code

@code{
@table @asis
@item item @table @asis
   @item in table in table item
   in nested table line
   @end table
@end table
}

and in preformatted

@example
@table @asis
@item item in preformatted @table @asis
   @item in table in table item in preformatted
   in nested table line in preformatted
   @end table
@end table
@end example

and in preformatted in code

@code{
@example
@table @asis
@item item in preformatted @table @asis
   @item in table in table item in preformatted
   in nested table line in preformatted
   @end table
@end table
@end example
}

@bye


code:
\input texinfo @c -*-texinfo-*-

@setfilename tables.info

@node Top
@top Test tables

@table
@item first item
First item text

@ref{Top,, title in first item
@item second item
@end table

@unnumbered Unnumbered section

@table
@item @ref{Top,, title
long title}
Item line
@end table

@bye


code:
\input texinfo @c -*-texinfo-*-

@setfilename test_menuentry.info

@node Top
@top test menu entry parsing

@menu
* (f)a1::
* (f)a2::
* (f)a3::         d
* (f)a1c::@c c
* (f)a2c::  @c c
* (f)a3c::         d@c c
* (f) a4 ::   @c c
* (f)@@a@:::
* a1:
* a2:
* a1c:@c c
* a2c:  @c c
* a: (f)b
* a: (f)b@c c
* a: (f)b @c c
* a: (f)b1.c,
* a: (f)b2.c,
* a: (f)b3.c,    d
* a: (f)b1c.c,@c c
* a: (f)b2c.c,     @c c
* a: (f)b3c.c,    d@c c
* a: (f)b1..
* a : (f) b2 ..
* a.n: (f)b3..         d
* a: (f)b1.c.
* a: (f)b2.c.
* a: (f)b3.c. d
@end menu

@bye


code:
\input texinfo.tex    @c -*-texinfo-*-

@setfilename test_sp.info

@node Top
@top Test @@sp

Para
@sp 1
other para
Now lone @@sp:

@sp 1

@sp 2
Para after sp

A
@sp 2
B

sp after para
@sp 1

@example
Para
@sp 1
other para
Now lone @@sp:

@sp 1

@sp 2
Para after sp

A
@sp 2
B

sp after para
@sp 1
@end example

@bye


code:
\input texinfo @c -*-texinfo-*-

@setfilename test_w.info

@node Top
@top Element

@w{aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa bbbbbbbbbbbbb bbbbb bbb b b b b b b b b b bb .
ccc dddd}.

a a a a a a a a a a a a a a a a a a a a a a a a a a a a  @w{a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a}

@w{}

@w{ a rr
  ggg.}

AA@w{}bbb.

FF@w{d}nnn.

aa@w{  f  f}ggg.

aa2@w{  f  f }ggg2.

aa3 @w{  f  f }ggg3.

aa4 @w{  f  f } ggg4.

aa5 @w{} ggg5.

aa6 @w{}ggg6.

aa6@w{} ggg6.

aaf @w{ } bbb.

begin and end quotations: @w{@t{`@w{}`@dots{}'@w{}'}}.  This
convention should be followed in Texinfo files.  TeX converts
two single quotes to left- and right-hand doubled.

@multitable {aaaaaaaaa} {bbbbbbbbbbb}
@item @w{aaaaaaaa
bbbbbbbbbb}
@tab gg
@end multitable

@bye


code:
texi def_cmds.texi
texi menus.texi
texi test_menuentry.texi
texi quotation.texi
texi float_with_at_commands.texi
texi float_copying.texi
texi macro_in_menu.texi
texi ref_in_anchor.texi
texi tex.texi --set-customization-variable 'L2H 1' --iftex
texi block_EOL.texi
texi detailmenus.texi
texi commands_in_ifset.texi
texi simplest.texi
texi punctuation.texi
texi punctuation_frenchspacing.texi
texi simple_punctuation.texi
texi def_end_of_line.texi
texi def_end_of_line_footnote.texi
texi center.texi
texi tables.texi
texi multitables.texi
texi formats_in_menu.texi
texi heading.texi
texi quotes.texi
texi indicateurl_paragraph.texi
texi complex_command_in_simple_command.texi
texi symbol_after_block.texi
texi symbol_after_command.texi
texi html-extrali.texi
texi html-para.texi
texi html-title.texi
texi images.texi --docbook
texi index_in_item_line_table.texi
texi index_in_item_line_vtable.texi
texi index_in_item_line_table_in_code.texi
texi index_in_item_line_vtable_printindex.texi
texi table_in_table_item.texi
texi nested_formats.texi
texi inter_item_commands.texi
texi double_style_paragraph.texi
texi at_command_glued.texi
texi test_sp.texi
texi kbdinputstyle.texi
texi simple_table.texi
texi empty_item.texi
texi direntry_dircategory.texi
texi nested_table.texi
texi paragraph_in_samp.texi
texi formats_only_titles.texi
texi line_commands_comments_spaces.texi
texi lightweight_markups.texi
texi punctuation_in_command.texi
texi test_w.texi
texi empty_deftype.texi
texi allowcodebreaks.texi
texi format_in_titlepage.texi
texi no_colon_in_menu.texi
texi menu_title_before_entries.texi
texi warn_characters_in_var.texi
texi itemize_w.texi
# for makeinfo
texi ../coverage/formatting.texi -U texi2html
def_cmds def_cmds.texi
def_cmds_info def_cmds.texi --info
menus menus.texi
menus_simple menus.texi --set-customization-variable 'SIMPLE_MENU 1'
test_menuentry test_menuentry.texi
quotation quotation.texi
float_with_at_commands float_with_at_commands.texi
float_copying float_copying.texi --split chapter
macro_in_menu macro_in_menu.texi
ref_in_anchor ref_in_anchor.texi
tex_notex tex.texi
block_EOL block_EOL.texi
detailmenus detailmenus.texi
detailmenus_simple detailmenus.texi --set-customization-variable 'SIMPLE_MENU 1'
commands_in_ifset commands_in_ifset.texi
#simplest_test_prefix simplest.texi --set-customization-variable 'PREFIX truc'
#simplest_test_prefix_info simplest.texi --info --set-customization-variable 'PREFIX truc'
simplest_test_css simplest.texi --css-include file.css
simplest_test_date_in_header simplest.texi --set-customization-variable 'DATE_IN_HEADER 1'
punctuation punctuation.texi
punctuation_frenchspacing punctuation_frenchspacing.texi
simple_punctuation simple_punctuation.texi
def_end_of_line def_end_of_line.texi
def_end_of_line_footnote def_end_of_line_footnote.texi
center center.texi
tables tables.texi
multitables multitables.texi
formats_in_menu formats_in_menu.texi
heading heading.texi
quotes quotes.texi
indicateurl_paragraph indicateurl_paragraph.texi
complex_command_in_simple_command complex_command_in_simple_command.texi
symbol_after_block symbol_after_block.texi
symbol_after_command symbol_after_command.texi
formatting_weird_quotes ../coverage/formatting.texi --set-customization-variable 'OPEN_QUOTE_SYMBOL @' --set-customization-variable "CLOSE_QUOTE_SYMBOL '‘"
comments_redefine_need ../coverage/comments.texi --init redefine_need.init
simplest_httex simplest.texi --init tex4ht.pm --iftex
#html-extrali html-extrali.texi --init makeinfo.pm
html-para html-para.texi
html-title html-title.texi
images images.texi
images_docbook images.texi --docbook
float_docbook ../coverage/float.texi --docbook -U texi2html
formatting_docbook ../coverage/formatting.texi --docbook -U texi2html
formatting_xml ../coverage/formatting.texi --xml -U texi2html
index_in_item_line_table index_in_item_line_table.texi
index_in_item_line_vtable index_in_item_line_vtable.texi
index_in_item_line_table_in_code index_in_item_line_table_in_code.texi
index_in_item_line_vtable_printindex index_in_item_line_vtable_printindex.texi
table_in_table_item table_in_table_item.texi
menus_xml menus.texi --xml
menus_xml_makeinfo menus.texi --xml -U texi2html
float_xml ../coverage/float.texi --xml
nested_formats nested_formats.texi
inter_item_commands inter_item_commands.texi
inter_item_commands_xml inter_item_commands.texi --xml
inter_item_commands_docbook inter_item_commands.texi --docbook
double_style_paragraph double_style_paragraph.texi
at_command_glued at_command_glued.texi
test_sp test_sp.texi
kbdinputstyle kbdinputstyle.texi
simple_table simple_table.texi
empty_item empty_item.texi
direntry_dircategory direntry_dircategory.texi
nested_table nested_table.texi
paragraph_in_samp paragraph_in_samp.texi
simple_images simple_images.texi
html-extrali_plain html-extrali.texi
formats_only_titles formats_only_titles.texi
line_commands_comments_spaces line_commands_comments_spaces.texi
punctuation_in_command punctuation_in_command.texi
test_w test_w.texi
empty_deftype empty_deftype.texi
no_colon_in_menu no_colon_in_menu.texi
warn_characters_in_var warn_characters_in_var.texi
itemize_w itemize_w.texi

#lightweight_markups_mediawiki lightweight_markups.texi --init mediawiki.pm
quotation_docbook quotation.texi --docbook
at_command_glued_info at_command_glued.texi --info
test_sp_info test_sp.texi --info
kbdinputstyle_info kbdinputstyle.texi --info
simple_images_info simple_images.texi --info
nested_formats_info nested_formats.texi --info
formatting_html ../coverage/formatting.texi --html --no-split
formatting_html_nodes ../coverage/formatting.texi --html --split node --node-files --set-customization-variable 'TOP_FILE index.html'
formatting_info ../coverage/formatting.texi --info -U texi2html
formatting_plaintext ../coverage/formatting.texi --plaintext -U texi2html
#formatting_mediawiki ../coverage/formatting.texi --init mediawiki.pm
direntry_dircategory_info direntry_dircategory.texi --info
direntry_dircategory_info_split direntry_dircategory.texi --info --split-size 1
direntry_dircategory_xml direntry_dircategory.texi --xml
heading_info heading.texi --info
nested_table_info nested_table.texi --info
simple_table_info simple_table.texi --info
allowcodebreaks allowcodebreaks.texi
format_in_titlepage format_in_titlepage.texi
menu_title_before_entries menu_title_before_entries.texi
menu_title_before_entries_xml menu_title_before_entries.texi --xml


code:
texi def_cmds.texi
texi menus.texi
texi test_menuentry.texi
texi quotation.texi
texi float_with_at_commands.texi
texi float_copying.texi
texi macro_in_menu.texi
texi ref_in_anchor.texi
texi tex.texi --set-init-var 'L2H 1' --iftex
texi block_EOL.texi
texi detailmenus.texi
texi commands_in_ifset.texi
texi simplest.texi
texi punctuation.texi
texi punctuation_frenchspacing.texi
texi simple_punctuation.texi
texi def_end_of_line.texi
texi def_end_of_line_footnote.texi
texi center.texi
texi tables.texi
texi multitables.texi
texi formats_in_menu.texi
texi heading.texi
texi quotes.texi
texi indicateurl_paragraph.texi
texi complex_command_in_simple_command.texi
texi symbol_after_block.texi
texi symbol_after_command.texi
texi html-extrali.texi
texi html-para.texi
texi html-title.texi
texi images.texi --docbook
texi index_in_item_line_table.texi
texi index_in_item_line_vtable.texi
texi index_in_item_line_table_in_code.texi
texi index_in_item_line_vtable_printindex.texi
texi table_in_table_item.texi
texi nested_formats.texi
texi inter_item_commands.texi
texi double_style_paragraph.texi
texi at_command_glued.texi
texi test_sp.texi
texi kbdinputstyle.texi
texi simple_table.texi
texi empty_item.texi
texi direntry_dircategory.texi
texi nested_table.texi
texi paragraph_in_samp.texi
texi formats_only_titles.texi
texi line_commands_comments_spaces.texi
texi lightweight_markups.texi
texi punctuation_in_command.texi
texi test_w.texi
texi empty_deftype.texi
texi allowcodebreaks.texi
texi format_in_titlepage.texi
texi no_colon_in_menu.texi
texi menu_title_before_entries.texi
texi warn_characters_in_var.texi
texi itemize_w.texi
# for makeinfo
texi ../coverage/formatting.texi -U texi2html
def_cmds def_cmds.texi
def_cmds_info def_cmds.texi --info
menus menus.texi
menus_simple menus.texi --set-init-var 'SIMPLE_MENU 1'
test_menuentry test_menuentry.texi
quotation quotation.texi
float_with_at_commands float_with_at_commands.texi
float_copying float_copying.texi --split chapter
macro_in_menu macro_in_menu.texi
ref_in_anchor ref_in_anchor.texi
tex_notex tex.texi
block_EOL block_EOL.texi
detailmenus detailmenus.texi
detailmenus_simple detailmenus.texi --set-init-var 'SIMPLE_MENU 1'
commands_in_ifset commands_in_ifset.texi
simplest_test_prefix simplest.texi --set-init-var 'PREFIX truc'
simplest_test_prefix_info simplest.texi --info --set-init-var 'PREFIX truc'
simplest_test_css simplest.texi --css-include file.css
simplest_test_date_in_header simplest.texi --set-init-var 'DATE_IN_HEADER 1'
punctuation punctuation.texi
punctuation_frenchspacing punctuation_frenchspacing.texi
simple_punctuation simple_punctuation.texi
def_end_of_line def_end_of_line.texi
def_end_of_line_footnote def_end_of_line_footnote.texi
center center.texi
tables tables.texi
multitables multitables.texi
formats_in_menu formats_in_menu.texi
heading heading.texi
quotes quotes.texi
indicateurl_paragraph indicateurl_paragraph.texi
complex_command_in_simple_command complex_command_in_simple_command.texi
symbol_after_block symbol_after_block.texi
symbol_after_command symbol_after_command.texi
formatting_weird_quotes ../coverage/formatting.texi --set-init-var 'OPEN_QUOTE_SYMBOL @' --set-init-var "CLOSE_QUOTE_SYMBOL '‘"
comments_redefine_need ../coverage/comments.texi --init redefine_need.init
simplest_httex simplest.texi --init tex4ht.pm --iftex
html-extrali html-extrali.texi --init makeinfo.pm
html-para html-para.texi
html-title html-title.texi
images images.texi
images_docbook images.texi --docbook
float_docbook ../coverage/float.texi --docbook -U texi2html
formatting_docbook ../coverage/formatting.texi --docbook -U texi2html
formatting_xml ../coverage/formatting.texi --xml -U texi2html
index_in_item_line_table index_in_item_line_table.texi
index_in_item_line_vtable index_in_item_line_vtable.texi
index_in_item_line_table_in_code index_in_item_line_table_in_code.texi
index_in_item_line_vtable_printindex index_in_item_line_vtable_printindex.texi
table_in_table_item table_in_table_item.texi
menus_xml menus.texi --xml
menus_xml_makeinfo menus.texi --xml -U texi2html
float_xml ../coverage/float.texi --xml
nested_formats nested_formats.texi
inter_item_commands inter_item_commands.texi
inter_item_commands_xml inter_item_commands.texi --xml
inter_item_commands_docbook inter_item_commands.texi --docbook
double_style_paragraph double_style_paragraph.texi
at_command_glued at_command_glued.texi
test_sp test_sp.texi
kbdinputstyle kbdinputstyle.texi
simple_table simple_table.texi
empty_item empty_item.texi
direntry_dircategory direntry_dircategory.texi
nested_table nested_table.texi
paragraph_in_samp paragraph_in_samp.texi
simple_images simple_images.texi
html-extrali_plain html-extrali.texi
formats_only_titles formats_only_titles.texi
line_commands_comments_spaces line_commands_comments_spaces.texi
punctuation_in_command punctuation_in_command.texi
test_w test_w.texi
empty_deftype empty_deftype.texi
no_colon_in_menu no_colon_in_menu.texi
warn_characters_in_var warn_characters_in_var.texi
itemize_w itemize_w.texi

#lightweight_markups_mediawiki lightweight_markups.texi --init mediawiki.pm
quotation_docbook quotation.texi --docbook
at_command_glued_info at_command_glued.texi --info
test_sp_info test_sp.texi --info
kbdinputstyle_info kbdinputstyle.texi --info
simple_images_info simple_images.texi --info
nested_formats_info nested_formats.texi --info
formatting_html ../coverage/formatting.texi --html --no-split
formatting_html_nodes ../coverage/formatting.texi --html --split node --node-files --set-init-var 'TOP_FILE index.html'
formatting_info ../coverage/formatting.texi --info -U texi2html
formatting_plaintext ../coverage/formatting.texi --plaintext -U texi2html
#formatting_mediawiki ../coverage/formatting.texi --init mediawiki.pm
direntry_dircategory_info direntry_dircategory.texi --info
direntry_dircategory_info_split direntry_dircategory.texi --info --split-size 1
direntry_dircategory_xml direntry_dircategory.texi --xml
heading_info heading.texi --info
nested_table_info nested_table.texi --info
simple_table_info simple_table.texi --info
allowcodebreaks allowcodebreaks.texi
format_in_titlepage format_in_titlepage.texi
menu_title_before_entries menu_title_before_entries.texi
menu_title_before_entries_xml menu_title_before_entries.texi --xml


code:
\input texinfo @c -*-texinfo-*-

@node Top
@top Tests

@ifhtml
Now tex on the same line @tex some

$$ \chi^2 = \sum_{i=1}^N
          \left(y_i - (a + b x_i)
	  \over \sigma_i\right)^2 $$

@end tex bidule
Some text one the line following @@end tex
@end ifhtml

Now tex on the following line, valid fot tex (with @@end tex on a line).
@tex some

tex \TeX
@end tex

Same that @@html (but empty following line not ignored).

Test of @@math
Here some @math{{x^i}\over{\tan y}}.

Maths with protected \:
@math{a @\ b}.

Maths with code @@-command:

@math{@code{math code} a < b}

Maths with code @@-command and braces:

@math{ \underline{@code{math \hbox{ code }}} \sum_{i}{\underline{f}}}

@@\ outside of math

@\

@bye


code:
\input texinfo @c -*-texinfo-*-

@setfilename warn_characters_in_var.info

@node Top
@top Test characters in @@var

@var{aaa}. @var{dlksfjf ) }. @var{(fdfdsfsd}. @var{sqdq,qdsdsq}.

@var{dsfsdf

sdfsdf ]
}

@var{somethingf  @c ]
vvar}.

@var{AA@,c @u{r}}.

AAA@footnote{jdhfmqsdf
dsf
ds @var{rrrr , azeeaz}
end footnote}

@bye


code:
EXTRA_DIST = htmlxref.cnf-ref \
 tests.txt res res_all res_info

DISTCLEANFILES = tests.log tests.out

distclean-local:
	rm -rf out out_all out_info diffs

dist-hook:
	rm -rf `find $(distdir)/res $(distdir)/res_info $(distdir)/res_all -name .svn`


code: manual mono   mono-manual.html


code:
htmlxref ../sectioning/test_refs.texi
htmlxref_nodes ../sectioning/test_refs.texi --split node --set-customization-variable 'USE_NODES 1' --node-files


code:
htmlxref ../sectioning/test_refs.texi
htmlxref_nodes ../sectioning/test_refs.texi --split node --set-init-var 'USE_NODES 1' --node-files


code:
manual section
manual chapter split-dir-manual/


code:
# a comment
  # a comment

var =
R = split
 _1A=dir-
S = ${R}-${_1A}manu

manual node ${S}al${var}/
manual mono   mono-manual.html
manual chapter nonono=!/
manual section

# bad entries
texinfo         foo    http://whatever
texinfo


code:
EXTRA_DIST = index_table.texi index_no_node.texi \
 index_split.texi split_chapter_index.texi nodes_before_top_and_sections.texi\
 nodes_before_top.texi index_special_region_no_insertcopying.texi \
 index_special_region.texi index_special_region_no_region.texi \
 index_nodes.texi printindex_between_node_section.texi \
 index_and_node_same_name.texi recursive_synindex.texi \
 syncode_index_print_both.texi index_entry_in_footnote.texi \
 index_one_node.texi index_no_node_no_top.texi double_index_entry.texi \
 same_doc_nr_split_index_and_element.texi unknown_index_entry.texi \
 more_unknown_index_entry.texi printindex_between_part_chapter.texi \
 syncodeindex_to_plain.texi \
 index_test.init \
 tests.txt res res_all res_info

DISTCLEANFILES = tests.log tests.out

distclean-local:
	rm -rf out out_all out_info diffs

dist-hook:
	rm -rf `find $(distdir)/res $(distdir)/res_info $(distdir)/res_all -name .svn`


code:
@node Top

@cindex aaa

Text

@cindex aaa

@menu
* other node::
@end menu

@node other node,,,Top

@cindex aaa

@printindex cp


code:
\input texinfo @c -*-texinfo-*-

@setfilename index_and_node_same_name.info

@node Top
@top Test index entry with node name clash

Text.

@cindex node

@menu
* index node::
@end menu

@node index node
@chapter index node

in index node node, with the same (croo_ref) name than index entry.

@printindex cp

@bye


code:
\input texinfo @c -*-texinfo-*-

@setfilename index_entry_in_footnote.info

@node Top
@top index_entry_in_footnote

Top node@footnote{in footnote

Another para in footnote.
@cindex index entry in footnote
}

@menu
* Index::
@end menu

@node Index
@appendix index

@printindex cp

@bye


code:
\input texinfo @c -*-texinfo-*-

@setfilename index_no_node

@cindex truc
Garbage
@printindex cp

@unnumbered unnumbered
@printindex bidule

@cindex unnumbered
in unnumbered
@cindex unnumbered after text

@printindex cp

@top top section

@cindex top section
@cindex top section
@cindex top section
@cindex top section
@cindex top section
@cindex top section
Top node

@printindex cp

@cindex top section1

@section second

@printindex cp
@cindex second
second node
@cindex second

@printindex cp
@chapter Chapter
@cindex chapter

@printindex cp
Text of chapter
@cindex Chapter2

@chapter Chapter 2

In chapter 2

@bye


code:
\input texinfo @c -*-texinfo-*-

@setfilename index_no_node_no_top.info

@cindex truc
Garbage
@printindex cp

@unnumbered unnumbered
@printindex bidule

@cindex unnumbered
in unnumbered
@cindex unnumbered after text

@printindex cp

@unnumbered top (chapter) section

@cindex top section
@cindex top section
@cindex top section
@cindex top section
@cindex top section
@cindex top section
Top node

@printindex cp

@cindex top section1

@section second

@printindex cp
@cindex second
second node
@cindex second

@printindex cp
@chapter Chapter
@cindex chapter

@printindex cp
Text of chapter
@cindex Chapter2

@chapter Chapter 2

In chapter 2

@bye


code:
\input texinfo @c -*-texinfo-*-

@setfilename index_nodes

@node Top
@cindex entry a

@printindex cp

@printindex fn

And one one more index

@printindex cp

@menu
* first::
@end menu

@node first,,Top, Top
Text and then index entries
@cindex entry in node
@cindex ! entry in node
@findex fun in node
@cindex entry in node

@printindex cp

@menu
* second::
@end menu

@node second,,,first
@menu
* a node::
* another::
@end menu

@printindex fn

@node another, , a node, second

@cindex something
@findex somewhere
@cindex another

@node a node, another, ,second
@cindex entry after printindex

@printindex cp

@findex a function
@cindex a concept a node

@printindex cp

@bye


code:
\input texinfo @c -*-texinfo-*-

@setfilename one_node

Garbage
@cindex before nodes

@node one node,,,(dir)
Top node
@cindex Top node

anchor ref @anchor{ref}.

@menu
* (gcc):: ref to gcc
@end menu

ref to ref @ref{ref}.

Some text.

@printindex cp

@bye


code:
\input texinfo @c -*-texinfo-*-

@setfilename index_special_region.info

@copying

@cindex Copying this document
@anchor{Copying information}

This is a test manual, trivially and explicitly in the public
domain@footnote{@anchor{Public domain reference} The public
domain is something you should allready know

@cindex Public domain
}.

@printindex cp

@end copying

@titlepage

@cindex Titlepage index
@anchor{Titlepage anchor}

This is the titlepage@footnote{@anchor{Titlepage footnote anchor}
This is a fine document.

@cindex Titlepage footnote
}

@insertcopying
@end titlepage

@node Top
@top Top
@chapter Chapter

@insertcopying

This test demonstrates @@anchor and indices in @@copying
and titlepage, and various wrong index entries.

@findex findex entry

@cindex
@deffn{truc} { }
@deffnx{truc}
@deffnx{} {}
@end deffn

@ftable
@item
@item fun
@end ftable

@menu
* Copying and indices::
@end menu

@node Copying and indices
@appendix Copying and indices

In the appendix, we print the indices and references.

@findex another fun

@cindex Copying appendix

@ref{Copying information} for the copying information.
@ref{Public domain reference} for reference on the licence.

@ref{Titlepage anchor} for the titlepage.
@ref{Titlepage footnote anchor} for reference on the titlepage.

@insertcopying

@printindex cp
@printindex fn

@contents
@bye


code:
\input texinfo @c -*-texinfo-*-

@setfilename index_special_region-no_insertcopying.info

@copying

@cindex Copying this document
@anchor{Copying information}

This is a test manual, trivially and explicitly in the public
domain@footnote{@anchor{Public domain reference} The public
domain is something you should allready know

@cindex Public domain
}.

@printindex cp

@end copying

@titlepage

@cindex Titlepage index
@anchor{Titlepage anchor}

This is the titlepage@footnote{@anchor{Titlepage footnote anchor}
This is a fine document.

@cindex Titlepage footnote
}

@insertcopying
@end titlepage

@node Top
@top Top
@chapter Chapter

@c @insertcopying

This test demonstrates @@anchor and indices in @@copying
and titlepage, and various wrong index entries.

@findex findex entry

@cindex
@deffn{truc} { }
@deffnx{truc}
@deffnx{} {}
@end deffn

@ftable
@item
@item fun
@end ftable

@menu
* Copying and indices::
@end menu

@node Copying and indices
@appendix Copying and indices

In the appendix, we print the indices and references.

@findex another fun

@cindex Copying appendix

@ref{Copying information} for the copying information.
@ref{Public domain reference} for reference on the licence.

@ref{Titlepage anchor} for the titlepage.
@ref{Titlepage footnote anchor} for reference on the titlepage.

@c @insertcopying

@printindex cp
@printindex fn

@contents
@bye


code:
\input texinfo @c -*-texinfo-*-

@setfilename index_special_region-no_section.info

@copying

@cindex Copying this document
@anchor{Copying information}

This is a test manual, trivially and explicitly in the public
domain@footnote{@anchor{Public domain reference} The public
domain is something you should allready know

@cindex Public domain
}.

@printindex cp

@end copying

@titlepage

@cindex Titlepage index
@anchor{Titlepage anchor}

This is the titlepage@footnote{@anchor{Titlepage footnote anchor}
This is a fine document.

@cindex Titlepage footnote
}

@insertcopying
@end titlepage

@node Top
@top Top

@chapter Chapter

@c @insertcopying

This test demonstrates @@anchor and indices in @@copying
and titlepage, and various wrong index entries.

@findex findex entry

@cindex
@deffn{truc} { }
@deffnx{truc}
@deffnx{} {}
@end deffn

@ftable
@item
@item fun
@end ftable

@menu
* Copying and indices::
@end menu

@node Copying and indices
@appendix Copying and indices

In the appendix, we print the indices and references.

@findex another fun

@cindex Copying appendix

@ref{Copying information} for the copying information.
@ref{Public domain reference} for reference on the licence.

@ref{Titlepage anchor} for the titlepage.
@ref{Titlepage footnote anchor} for reference on the titlepage.

@c @insertcopying

@printindex cp
@printindex fn

@contents
@bye


code:
\input texinfo @c -*-texinfo-*-

@setfilename index_split

@node Top
@top split indices
@cindex entry a

@printindex cp

@printindex fn

And one one more index

@printindex cp

@menu
* Top:: back to the current top node
* first::
* second chapter::
@end menu

@node first

Text and then index entries
@cindex entry in node
@cindex ! entry in node
@findex fun in node
@cindex entry in node

@printindex cp

@printindex fn

@cindex entry after printindex

@chapter First chapter
@findex a function
@cindex a concept in first
@findex somewhere

@menu
* section 1::
* section 2::
* section 3::
* node in section 3::
* node 2 in section 3::
* node 3 in section 3::
@end menu

@node section 1
@section Section 1

@cindex something

@menu
* subsection 1::
* subsection 2::
@end menu
The index once more

@printindex cp

@cindex another

@node subsection 1
@subsection Subsection 1

In subsection 1

@node subsection 2
@subsection Subsection 2

index in subsction 2

@cindex subsection 2

@printindex cp

@cindex printindex subsection 2

@node section 2
@section Section 2

Section 2

@node section 3
@section Section 3

@cindex section 3

@printindex cp

@node node in section 3,,section 3,first

@cindex node in section 3
Text for the node in section 3

@node node 2 in section 3,,,first

@cindex node 2 in section 3
Text for the node 2 in section 3

@printindex cp

@cindex between printindex node in section 3

@printindex cp

@cindex after second printindex node in section 3

@node node 3 in section 3,,,first

@cindex node 3 in section 3

@node second chapter
@chapter Second chapter

Second chapter

@bye