% texinfo-tex-test.texi -- test file for texinfo.tex
%
% Copyright 2015, 2016 Free Software Foundation, Inc.
%
% This file is free software: you can redistribute it and/or
% modify it under the terms of the GNU General Public License as
% published by the Free Software Foundation, either version 3 of the
% License, or (at your option) any later version.
%
% This file is distributed in the hope that it will be
% useful, but WITHOUT ANY WARRANTY; without even the implied warranty
% of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
% General Public License for more details.
%
% You should have received a copy of the GNU General Public License
% along with this program.  If not, see <http://www.gnu.org/licenses/>.
%
\input texinfo
@settitle Test Document for @file{texinfo.tex}

@everyheading @thischapter @| @| @thissection{} p@thispage
@paragraphindent 0

@showboxdepth=1000
@showboxbreadth=1000

@documentencoding UTF-8

@contents

@part Part One@*Sample part page

@chapter Macros
@section Backslashes in macro arguments

@macro Mac{x}
A\x\A
@end macro

@macro Mactwo{x, y}
<\x\>.<\y\>@.
@end macro

@rmacro RMac{x}
Z\x\Z
@end rmacro

The number refers to the number of backslashes that should appear

0 @Mac{}

0 @Mac{a}

0 @Mac{a}X

1 @Mac{a\\}

1 @Mac{a\}X

1 @Mac{a\\}X

2 @Mac{a\\\}X

1 @Mac{\}X

1 @Mac{\a}X

1 @Mac{\\a}X

1 @Mac{\\}X

2 @Mac{\\\}X

2 and 1 @Mac{\\\aaa\}X

1 and 1 @Mac{\a\\b}X

one backslash outside \

two backslashes outside \\

three backslashes outside \\\

0 @Mac a 

1 @Mac a\

2 @Mac a\\ 

3 @Mac a\\\

1 and 2 @Mac \a\\b

in @@code:@*
1 @code{@Mac{\}}@*
1 @code{@Mac{\\}}@*
2 @code{@Mac{\\\}}@*
2 @code{@Mac{\\\\}}

one backslash outside \

two backslashes outside \\

three backslashes outside \\\

Macros with two arguments:
0+0 @Mactwo{A,B}
0+0 @Mactwo{A, B}
1+0 @Mactwo{\A, B}
0+1 @Mactwo{A, \\B}
2+1 @Mactwo{\\\A, \\B}
2+2 @Mactwo{\\\A, \\\\B}

Space between macro name and opening brace (thus: @samp{@@Mactwo @{}):

0+0 @Mactwo {A,B}
0+0 @Mactwo {A, B}
1+0 @Mactwo {\A, B}
0+1 @Mactwo {A, \\B}
2+1 @Mactwo {\\\A, \\B}
2+2 @Mactwo {\\\A, \\\\B}

space between backslashes: @Mac{\ \}@*
space between backslashes line arg: @Mac \ \

space after backslashes, two arguments:@*
@Mactwo{\ \\, \ \\}@*
@Mactwo{\\ \\, \\ \\}@*
@Mactwo{\\ a, \\ b}@*
@Mactwo{\ a, \ b}@*

other spaces:@*
@Mactwo{h \\, i \\}@*
@Mactwo{h \\, i \\}@*
@Mactwo{h a, i b}@*

@section Spaces in macro bodies

Distance between the two x's should be the same

@macro Mac
@example
x  x
@end example
@end macro
@example
x  x
@end example
@Mac

@section Macro use inside macro argument

@macro Innermac{arg}
xx \arg\ xx
@end macro

@macro Outermac{arg}
\arg\
@c
@end macro

@Outermac{@Innermac{e}}
should be@*
xx e xx

@section Closing brace following empty macro argument

@macro Mac{x}
A@acronym{\x\}A
@end macro

@Mac{}

AA

@section Trailing newlines in macro bodies

Output should be doubled:

1y

z
x2

@macro nbsp
y
              
z
x
@end macro

1@nbsp{}2

Output should be doubled:


@example
1y

z
x2
@end example

@example
1@nbsp{}2
@end example

@section Open or close a group in a macro

Output should be doubled

@macro Example
@example
@group
@end macro

@macro endExample
@end group
@end example
@end macro

x
@Example
groff [ -abceghijklpstvzCEGNRSUVXZ ]
@endExample
x

x
@example
@group@comment
groff [ -abceghijklpstvzCEGNRSUVXZ ]
@end group
@end example
x

@section @,c in macro argument

@macro mactwo{argfirst, argsecond}
\argfirst\+\argsecond\.
@end macro

@set fc Fran@,cois
@mactwo{@value{fc},}@*
@mactwo{Fran@,cois,}@*
Fran@,cois+.

@section Macro in argument to @@math

@macro frac {a,b}
\a\ @over \b\
@end macro

exceeds @math{@frac{1,16}} pt


@section Trim whitespace from macro arguments

@macro Mac{a}
<X\a\X>
@end macro

@macro Mactwo{a,b}
<X\a\X\b\X>
@end macro

No trimming for single-arg macros.

@noindent @Mac{b} @Mac{ b} @Mac{b  } @Mac{ b }

@noindent @Mactwo{b,c} @Mactwo{ b, c} @Mactwo{b  ,c  } @Mactwo{ b , c }


@section Multi-line macro argument

@macro Mac{text}
@cartouche
<@b{FIXME}>
@example
\text\
@end example
\text\
@noindent </>
@end cartouche
@end macro

@Mac{
Here's an extended
macro argument, with
newlines.

And multiple paragraphs.
Like an argument to @code{@@footnote}.
}

(The double space in the @code{@@example} is due to the way 
@code{\scantokens} inserts spaces after control sequences.)


@tex
\gdef \commenceindex{%
\begingroup
\page
\smallfonts \rm
\begindoublecolumns
\tolerance = 9500
\plainfrenchspacing
\everypar = {}%
\catcode`\\=0 \catcode`\@=12
}

\gdef \finishindex{%
\catcode`\@=0 \catcode`\\=13
\enddoublecolumns
\endgroup
\hrule
}
@end tex

@chapter Index display

In these examples, a horizontal rule is at the end of each run of double 
column material in order to show if any material extends below the
box containing it.

@section Long index entries

@commenceindex
\entry {\code {-c}}{18, 20, 22, 27, 28, 38, 43, 51, 54, 65, 83, 91, 105, 
124, 125, 127, 129, 135, 139, 143, 145, 148, 187}
\entry {\code {-c}}{18, 20, 22, 27, 28, 38, 43, 51, 54, 65, 83, 91, 105, 
124, 125, 127, 129, 135, 139, 143, 145, 148}
\entry{Testing for Texinfo Commands: \code {\@ifcommanddefined}, \code 
{\@ifcommandnotdefined}}{148}
\entry {\code {--dereference-command-line-symlink-to-dir}}{78}
\entry {built-in shell commands, conflicts with}{119, 139, 144, 145, 
148, 163, 191, 196, 197}
\finishindex

@section End-column glue

See next page.  A little bit of space should appear at the bottom of the 
second column, instead of flush bottoms and a conspicuous increase in 
inter-baseline spacing.  This test only works if the `R' initial is at
the start of a page.

@commenceindex
\initial {P}
\entry {\code {PACKAGE}}{196}
\entry {\code {PACKAGE_AND_VERSION}}{196}
\entry {\code {PACKAGE_NAME}}{196}
\entry {\code {PACKAGE_URL}}{196}
\entry {\code {PACKAGE_VERSION}}{196}
\entry {Page breaks, awkward}{124}
\entry {Page breaks, forcing}{126}
\entry {Page delimiter in Texinfo mode}{261}
\entry {Page headings}{270}
\entry {Page numbering}{270}
\entry {Page sizes for books}{175}
\entry {Page sizes, customized}{175}
\entry {\code {page-delimiter}}{261}
\entry {Pages, starting odd}{29}
\entry {Paper size, A4}{175}
\entry {Paragraph indentation control}{31}
\entry {Paragraph, marking text within}{66}
\entry {\code {paragraphindent}}{187}
\entry {Parameters to macros}{154}
\entry {Parentheses in node name}{37}
\entry {Parsing errors}{202}
\entry {Part of file formatting and printing}{266}
\entry {Part pages}{50}
\entry {Partial documents, formatting}{168}
\entry {Parts of a cross reference}{54}
\entry {Parts of a master menu}{28}
\entry {Parts of a menu}{43}
\entry {Patches, contributing}{4}
\entry {PCL file, for printing}{170}
\entry {\code {pdf image inclusions}}{97}
\entry {PDF output}{176}
\entry {PDF output of urls}{64}
\entry {PDF output, overview}{5}
\entry {\code {pdfetex}}{167}
\entry {\code {pdftex}}{176}
\entry {\code {pdftex\r {, and images}}}{97}
\entry {\code {pdftxei2dvi}}{166}
\entry {Period in node name}{37}
\entry {Periods, inserting}{111}
\entry {Perl format strings for translation}{199}
\entry {Perl POD, converting to Texinfo}{200}
\entry {Permissions text, including}{22}
\entry {Permissions, printed}{25}
\entry {\code {pg} (program) index}{102}
\entry {Picas}{98}
\entry {Pictures, inserting}{97}
\entry {Pinard, Fran\,{c}ois}{7}
\entry {Plain \TeX {}}{146}
\entry {Plain text output with \option {--plaintext}}{183}
\entry {Plain text output, overview}{4}
\entry {\code {png image format}}{97}
\entry {POD, converting to Texinfo}{200}
\entry {\code {pod2texi}}{200}
\entry {Point, indicating in a buffer}{121}
\entry {Pointer creation with \code {makeinfo}}{40}
\entry {Pointer validation with \code {makeinfo}}{185}
\entry {Pointer validation, suppressing}{168}
\entry {Pointer validation, suppressing from command line}{182}
\entry {Points (dimension)}{98}
\entry {PostScript output, overview}{4}
\entry {Pounds symbol}{118}
\entry {\code {PRE_ABOUT}}{192}
\entry {\code {PRE_BODY_CLOSE}}{192}
\entry {Preamble, in Info format}{283}
\entry {Predefined names for indices}{105}
\entry {Preface, etc., and Docbook}{48}
\entry {\code {PREFIX}}{196}
\entry {Preparing for \TeX {}}{173}
\entry {Preserving HTML links to old nodes}{221}
\entry {Prev node of Top node}{38}
\entry {Preventing first paragraph indentation}{32}
\entry {Preventing line and page breaks}{124}
\entry {Print and format in Texinfo mode}{170}
\entry {Print, format from Emacs shell}{170}
\entry {Printed book and manual characteristics}{6}
\entry {Printed output, indicating}{120}
\entry {Printed output, through \command {texi2any}}{185}
\entry {Printed permissions}{25}
\entry {Printing a region or buffer}{266}
\entry {Printing an index}{104}
\entry {Printing cost, reducing}{75}
\entry {Printing cropmarks}{176}
\entry {Printing DVI files, on MS-DOS/MS-Windows}{170}
\entry {Printing hardcopy}{166}
\entry {Problems, catching}{275}
\entry {\code {PROGRAM}}{196}
\entry {Program names, indicating}{72}
\entry {\code {PROGRAM_NAME_IN_FOOTER}}{192}
\entry {Programming, glyphs for}{119}
\entry {Pronunciation of Texinfo}{3}
\entry {Prototype row, column widths defined by}{93}
\entry {Ragged left, without filling}{83}
\entry {Ragged right, with filling}{84}
\entry {Ragged right, without filling}{83}
\entry {Raising and lowering sections}{51}
\entry {Raw formatter commands}{146}
\entry {Raw HTML}{213}
\entry {raw text output}{188}
\initial {Q}
\entry {Quotation characters (`'), in source}{114}
\entry {Quotation marks, French}{115}
\entry {Quotation marks, German}{115}
\entry {Quotation marks, inserting}{114}
\entry {Quotations}{78}
\entry {Quotations in smaller fonts}{82}
\entry {Quote characters, inserting}{110}
\entry {Quoting, automatic for some macros}{156}
\initial {R}
\entry {RCS $Id}{253}
\entry {Recommended names for keys}{69}
\entry {Rectangle, black in hardcopy}{174}
\entry {Recursive macro invocations}{155}
\entry {Reducing font size}{75}
\entry {Reference implementation}{178}
\entry {Reference to @-commands}{223}
\entry {References}{53}
\entry {References using \code {@inforef}}{62}
\finishindex

@section Index page break not before initial

The next index is to show the bottoms of columns when the next page 
doesn't start with an initial.

@commenceindex
\initial {P}
\entry {\code {PACKAGE}}{196}
\entry {\code {PACKAGE_AND_VERSION}}{196}
\entry {\code {PACKAGE_NAME}}{196}
\entry {\code {PACKAGE_URL}}{196}
\entry {\code {PACKAGE_VERSION}}{196}
\entry {Page breaks, awkward}{124}
\entry {Page breaks, forcing}{126}
\entry {Page delimiter in Texinfo mode}{261}
\entry {Page headings}{270}
\entry {Page numbering}{270}
\entry {Page sizes for books}{175}
\entry {Page sizes, customized}{175}
\entry {\code {page-delimiter}}{261}
\entry {Pages, starting odd}{29}
\entry {Paper size, A4}{175}
\entry {Paragraph indentation control}{31}
\entry {Paragraph, marking text within}{66}
\entry {\code {paragraphindent}}{187}
\entry {Parameters to macros}{154}
\entry {Parentheses in node name}{37}
\entry {Parsing errors}{202}
\entry {Part of file formatting and printing}{266}
\entry {Part pages}{50}
\entry {Partial documents, formatting}{168}
\entry {Parts of a cross reference}{54}
\entry {Parts of a master menu}{28}
\entry {Parts of a menu}{43}
\entry {Patches, contributing}{4}
\entry {PCL file, for printing}{170}
\entry {\code {pdf image inclusions}}{97}
\entry {PDF output}{176}
\entry {PDF output of urls}{64}
\entry {PDF output, overview}{5}
\entry {\code {pdfetex}}{167}
\entry {\code {pdftex}}{176}
\entry {\code {pdftex\r {, and images}}}{97}
\entry {\code {pdftxei2dvi}}{166}
\entry {Period in node name}{37}
\entry {Periods, inserting}{111}
\entry {Perl format strings for translation}{199}
\entry {Perl POD, converting to Texinfo}{200}
\entry {Permissions text, including}{22}
\entry {Permissions, printed}{25}
\entry {\code {pg} (program) index}{102}
\entry {Picas}{98}
\entry {Pictures, inserting}{97}
\entry {Pinard, Fran\,{c}ois}{7}
\entry {Plain \TeX {}}{146}
\entry {Plain text output with \option {--plaintext}}{183}
\entry {Plain text output, overview}{4}
\entry {\code {png image format}}{97}
\entry {POD, converting to Texinfo}{200}
\entry {\code {pod2texi}}{200}
\entry {Point, indicating in a buffer}{121}
\entry {Pointer creation with \code {makeinfo}}{40}
\entry {Pointer validation with \code {makeinfo}}{185}
\entry {Pointer validation, suppressing}{168}
\entry {Pointer validation, suppressing from command line}{182}
\entry {Points (dimension)}{98}
\entry {PostScript output, overview}{4}
\entry {Pounds symbol}{118}
\entry {\code {PRE_ABOUT}}{192}
\entry {\code {PRE_BODY_CLOSE}}{192}
\entry {Preamble, in Info format}{283}
\entry {Predefined names for indices}{105}
\entry {Preface, etc., and Docbook}{48}
\entry {\code {PREFIX}}{196}
\entry {Preparing for \TeX {}}{173}
\entry {Preserving HTML links to old nodes}{221}
\entry {Prev node of Top node}{38}
\entry {Preventing first paragraph indentation}{32}
\entry {Preventing line and page breaks}{124}
\entry {Print and format in Texinfo mode}{170}
\entry {Print, format from Emacs shell}{170}
\entry {Printed book and manual characteristics}{6}
\entry {Printed output, indicating}{120}
\entry {Printed output, through \command {texi2any}}{185}
\entry {Printed permissions}{25}
\entry {Printing a region or buffer}{266}
\entry {Printing an index}{104}
\entry {Printing cost, reducing}{75}
\entry {Printing cropmarks}{176}
\entry {Printing DVI files, on MS-DOS/MS-Windows}{170}
\entry {Printing hardcopy}{166}
\entry {Problems, catching}{275}
\entry {\code {PROGRAM}}{196}
\entry {Program names, indicating}{72}
\entry {\code {PROGRAM_NAME_IN_FOOTER}}{192}
\entry {Programming, glyphs for}{119}
\entry {Pronunciation of Texinfo}{3}
\entry {Prototype row, column widths defined by}{93}
\initial {Q}
\entry {Quotation characters (`'), in source}{114}
\entry {Quotation marks, French}{115}
\entry {Quotation marks, German}{115}
\entry {Quotation marks, inserting}{114}
\entry {Quotations}{78}
\entry {Quotations in smaller fonts}{82}
\entry {Quote characters, inserting}{110}
\entry {Quoting, automatic for some macros}{156}
\entry {Ragged left, without filling}{83}
\entry {Ragged right, with filling}{84}
\entry {Ragged right, without filling}{83}
\entry {Raising and lowering sections}{51}
\entry {Raw formatter commands}{146}
\entry {Raw HTML}{213}
\entry {raw text output}{188}
\entry {RCS $Id}{253}
\entry {Recommended names for keys}{69}
\entry {Rectangle, black in hardcopy}{174}
\entry {Recursive macro invocations}{155}
\entry {Reducing font size}{75}
\entry {Reference implementation}{178}
\entry {Reference to @-commands}{223}
\entry {References}{53}
\entry {References using \code {@inforef}}{62}
\entry {Raw formatter commands}{146}
\entry {Raw HTML}{213}
\entry {raw text output}{188}
\entry {RCS $Id}{253}
\entry {Recommended names for keys}{69}
\entry {Rectangle, black in hardcopy}{174}
\entry {Recursive macro invocations}{155}
\entry {Reducing font size}{75}
\entry {Reference implementation}{178}
\entry {Reference to @-commands}{223}
\entry {References}{53}
\entry {References using \code {@inforef}}{62}
\finishindex

@section Short indices

See following pages

@commenceindex
\initial{A}
\entry{aaaa}{1}
\initial{B}
\entry{bbbb}{2}
\finishindex

If the above is in two columns, check that the space below the initials
`A' and `B' is even.

@commenceindex
\initial{A}
\entry{aaaa}{1}
\initial{B}
\entry{bbbb}{2}
\initial{C}
\entry{cccc}{2}
\finishindex

@commenceindex
\initial{A}
\entry{aaaa}{1}
\initial{B}
\entry{bbbb}{2}
\initial{C}
\entry{cccc}{2}
\entry{cccc}{2}
\finishindex

@commenceindex
\initial{A}
\entry{aaaa}{1}
\entry{bbbb}{2}
\entry{bbbb}{2}
\entry{bbbb}{2}
\entry{bbbb}{2}
\entry{bbbb}{2}
\finishindex

@commenceindex
\initial{A}
\entry{aaaa}{1}
\entry{bbbb}{2}
\entry{bbbb}{2}
\entry{bbbb}{2}
\entry{bbbb}{2}
\entry{bbbb}{2}
\entry{bbbb}{2}
\entry{cccc}{17}
\finishindex

@section Final page of index hard to balance

The left column of the final page of the index should be shorter than the
right column here, and no empty page should appear in the middle of the 
index.  All index material should fit on the page within the margins.

@commenceindex
\entry {outline, importing into}{39}
\entry {outline, inserting into}{39}
\entry {outline, label separator}{35}
\entry {outline, label type}{35}
\entry {outline, mailing}{37}
\entry {outline, motion}{38}
\entry {outline, overview}{40}
\entry {outline, show levels}{40}
\entry {outline, showing}{40}
\entry {outline, top-level}{40}
\entry {outline, view specs}{41}
\entry {outline, viewing}{40}
\entry {outliner}{32}
\entry {outliner commands}{33}
\entry {outliner keys}{90}
\entry {overview}{40}
\initial {P}
\entry {paragraph, filling}{38}
\entry {Paste Key}{8}
\entry {paste region}{11}
\entry {pasting a region}{70, 71, 76}
\entry {patch output}{15}
\entry {pathname}{15}
\entry {permanent identifier}{32, 36}
\entry {pipe character}{41}
\entry {posting buttons}{23}
\entry {posting news}{24}
\entry {programming interface}{57}
\entry {promotion}{36}
\entry {proportional scrolling}{62, 74}
\initial {R}
\entry {rdb-mode}{77}
\entry {README file}{65}
\entry {reference}{16}
\entry {refilling}{38}
\entry {region selection}{11}
\entry {region, active}{72}
\entry {relative autonumber}{32}
\entry {relative identifier}{35}
\entry {remote file}{15}
\entry {remote path}{15}
\entry {remote pathnames}{68}
\entry {remove lines}{27}
\entry {removing Hyperbole menu}{25}
\entry {Request For Comment}{15, 16}
\entry {restoring windows}{50}
\entry {RFC}{15, 16}
\entry {Rmail}{23}
\entry {rolo}{44}
\entry {rolo address}{14}
\entry {rolo commands}{45}
\entry {rolo entry}{44}
\entry {rolo file}{44}
\entry {rolo keys}{47}
\entry {rolo menu}{45}
\entry {rolo searching}{46}
\entry {rolo, buttons in}{44}
\entry {rolo, datestamps}{48}
\entry {rolo, editing}{48}
\entry {rolo, extending a match}{47}
\entry {rolo, finding matches}{47}
\entry {rolo, highlighting matches}{47, 49}
\entry {rolo, interactive searching}{47}
\entry {rolo, locating a name}{47}
\entry {rolo, moving through matches}{47}
\entry {rolo, moving to entries}{48}
\entry {rolo, outlining}{47}
\entry {rolo, personal}{48}
\entry {rolo, quitting}{48}
\entry {root cell}{34, 36}
\initial {S}
\entry {save lines}{27}
\entry {saving window configurations}{50}
\entry {screen}{29}
\entry {Screen}{62}
\entry {scrolling}{62, 74}
\entry {search}{26, 69}
\entry {searching, rolo}{46}
\entry {selection}{11}
\entry {set}{70, 76}
\entry {setting the view spec}{41}
\entry {sexp selection}{11}
\entry {SGML tag pair}{11}
\entry {show subtree}{40}
\entry {show tree}{40}
\entry {showing}{40}
\entry {side drag}{71}
\entry {signatures, hiding}{14}
\entry {site initialization}{66}
\entry {Smart Key}{8, 62, 99}
\entry {smart key assignments}{8}
\entry {smart key commands}{8}
\entry {Smart Key help}{11}
\entry {Smart Key operation}{9}
\entry {Smart Key, default context}{11, 89}
\entry {Smart Keyboard Keys}{73}
\entry {smart marking}{11}
\entry {Smart Menu}{74}
\entry {Smart Mouse Key}{70, 76}
\entry {Smart Mouse Key drag}{22}
\entry {Smart Mouse Key toggle}{8}
\entry {Smart Mouse Keys}{70}
\entry {smart selection}{11}
\entry {source line}{15}
\entry {splitting a cell}{39}
\entry {stack frame}{15}
\entry {star outline}{39}
\entry {starting Hyperbole}{65}
\entry {storage manager}{56}
\entry {string}{70, 76}
\entry {submenus}{27}
\entry {submodes}{29}
\entry {subtree, hide}{40}
\entry {subtree, show}{40}
\entry {swapping}{31}
\entry {system encapsulation}{57}
\initial {T}
\entry {table of contents}{16, 19}
\entry {tabs, inserting}{37}
\entry {tag}{16}
\entry {tags file}{16}
\entry {TAGS file}{16}
\entry {tar archive}{66}
\entry {tar archive browsing}{87}
\entry {terminal use}{4}
\entry {Texinfo cross-reference}{14}
\entry {Texinfo manual}{65}
\entry {text file}{39}
\entry {thing}{70, 76}
\entry {things}{11}
\entry {toc action type}{19}
\entry {toc implicit button type}{16}
\entry {toggling blank lines}{41}
\entry {top-level cell}{34, 36}
\entry {top-level view}{40}
\entry {Tramp}{15, 68}
\entry {transposing cells}{38}
\entry {tree, copying}{37}
\entry {tree, demoting}{36}
\entry {tree, exporting}{37}
\entry {tree, filling}{38}
\entry {tree, hide subtree}{40}
\entry {tree, killing}{36}
\entry {tree, mailing}{37}
\entry {tree, moving}{37}
\entry {tree, promoting}{36}
\entry {tree, show}{40}
\entry {tree, show subtree}{40}
\entry {type definition}{53}
\entry {type redefinition}{19, 53}
\initial {U}
\entry {unburying}{30}
\entry {uncompressing archives}{66}
\entry {UNIX manual}{15}
\entry {unpacking archives}{66}
\entry {URL}{14, 19, 87}
\entry {URLs, abbreviated}{68}
\entry {URLs, using with find-file}{68}
\entry {USENET}{23, 24}
\initial {V}
\entry {variables}{52}
\entry {vector}{70, 76}
\entry {version description}{98}
\entry {vertical drag}{72}
\entry {view}{40}
\entry {view mode}{75}
\entry {view spec}{41}
\entry {view spec klink}{42}
\entry {view spec, all lines and levels}{41}
\entry {view spec, blank lines}{41}
\entry {view spec, changing}{41}
\entry {view spec, characters}{41}
\entry {view spec, ellipses}{41}
\entry {view spec, example}{41}
\entry {view spec, label type}{41}
\entry {view spec, lines per cell}{41}
\entry {view spec, setting}{41}
\entry {view spec, show levels}{41}
\entry {VM}{23}
\initial {W}
\entry {W3}{87}
\entry {wconfig commands}{50}
\entry {web pages, displaying}{68}
\entry {window configuration commands}{50}
\entry {window configuration ring}{50}
\entry {window configurations}{50}
\entry {window control}{29}
\entry {window system}{68}
\entry {windows}{58}
\entry {word wrap}{38}
\entry {world-wide web}{87}
\entry {World-wide Web}{14, 19}
\entry {wrolo}{44}
\entry {wrolo commands}{45}
\entry {wrolo matches}{88}
\entry {wrolo menu}{47}
\entry {WWW}{14, 19}
\initial {X}
\entry {xdb}{15}
\entry {XEmacs}{2, 25}
\entry {XEmacs support}{69}
\initial {Y}
\entry {yank region}{11}
\entry {yank, reformatting}{53}
\entry {yanking}{70, 71, 76}
\initial {Z}
\entry {zcat}{66}
\entry {zip file}{66}
\entry {zooming}{31}
\finishindex

@section Final page initial at top of both columns

@commenceindex
\initial {P}
\entry {\code {phi}}{397}
\entry {\code {pi}}{397}
\entry {\code {pi-over-180}}{397}
\entry {\code {pi-over-2}}{397}
\entry {\code {pi-over-4}}{397}
\entry {\code {polar-complexp}}{392}
\entry {\code {poly-mix}}{408}
\entry {\code {poly-mul}}{408}
\entry {\code {poly-simplify}}{408}
\entry {\code {polynomial-base}}{408}
\entry {\code {polynomial-p}}{408}
\entry {\code {posp}}{391}
\entry {\code {pow}}{397}
\entry {\code {pow-mod}}{398}
\entry {\code {power-of-2}}{398}
\entry {\code {prime-test}}{399}
\entry {\code {primp}}{393}
\initial {Q}
\entry {\code {quarter-circle}}{397}
\entry {\code {quarter-integer}}{399}
\entry {\code {quotient}}{397}
\initial {R}
\entry {\code {random-digit}}{398}
\entry {\code {random-digits}}{399}
\entry {\code {random-float}}{399}
\entry {\code {ratp}}{392}
\entry {\code {read-expr}}{409}
\entry {\code {read-exprs}}{410}
\entry {\code {read-number}}{409}
\entry {\code {realp}}{392}
\entry {\code {rect-complexp}}{392}
\entry {\code {reduce-cols}}{400}
\entry {\code {reduce-vec}}{400}
\entry {\code {reject-arg}}{394}
\entry {\code {remove-units}}{409}
\entry {\code {rewrite}}{405}
\entry {\code {rewrite-heads}}{405}
\entry {\code {row-matrix}}{400}
\initial {S}
\entry {\code {scalarp}}{392}
\entry {\code {scale-int}}{396}
\entry {\code {scale-rounding}}{396}
\entry {\code {simplify}}{403}
\entry {\code {simplify-extended}}{403}
\entry {\code {simplify-units}}{403}
\entry {\code {single-units-in-expr-p}}{409}
\entry {\code {solve-eqn}}{407}
\entry {\code {solve-for}}{406}
\entry {\code {solve-system}}{407}
\entry {\code {sort-intv}}{396}
\entry {\code {sqr}}{397}
\entry {\code {sqrt-e}}{397}
\entry {\code {sqrt-two-pi}}{397}
\entry {\code {square-matrixp}}{393}
\entry {\code {swap-rows}}{401}
\initial {T}
\entry {\code {tderiv}}{406}
\entry {\code {to-fraction}}{399}
\entry {\code {to-hms}}{398}
\entry {\code {to-radians}}{398}
\entry {\code {to-radians-2}}{398}
\entry {\code {to-simple-fraction}}{399}
\entry {\code {to-standard-units}}{409}
\entry {\code {transpose}}{401}
\entry {\code {two-pi}}{397}
\initial {U}
\entry {\code {underflow}}{394}
\entry {\code {units-in-expr-p}}{409}
\initial {V}
\entry {\code {vec-length}}{399}
\entry {\code {vectorp}}{393}
\initial {W}
\entry {\code {with-extra-prec}}{395}
\initial {Z}
\entry {\code {zerop}}{391}
\finishindex


@section Test of index widow elimination

First time shows without widow elimination.  Second time shows it with
(uses @file{texinfo-tex-test.WIDOWs} file).  For test to work properly,
@code{ordm} should be a widow in the first case, and not in the second 
case.

@commenceindex
\input texinfo-tex-test.WIDOWs
\finishindex


@page

@printindex WIDOW


@section Non-alphanumeric Index Initials

/ and \ should be mirror images.

@commenceindex
\initial{\\}
\initial{/}
\initial{|}
\initial{\{}
\initial{\}}
\initial{F}
\finishindex



@part Another part@*Note no headline on this page

@chapter First chapter after a part page

Have a look at the headline.


@chapter Test of non-alphanumeric characters

Not in code: @{@}@@#\

In code @t{@{@}@@#\}


@chapter Test of auxiliary files

Need to test with @command{texi2dvi}.

Undefined value in anchor: @anchor{@value{ho} ho}

Xref to said anchor: @xref{@value{ho} ho}.

@set auxvalue this is the value
Defined value in anchor: @anchor{@value{auxvalue} ho}

Xref to said anchor: @xref{@value{auxvalue} ho}.  (Should definitely 
work.)

@defindex ax

value in index entry
@axindex @value{ho} in index entry

defined value in index entry (this should definitely work)
@axindex @value{auxvalue} in index entry

value in index entry, but only defined afterwards
@axindex @value{definedafter} index entry

@axindex @b{another}

some more text.

test of macro in index entry:
@macro MyMac {arg}
ffff\arg\ggggg
@end macro

@axindex @MyMac{bah}

@page

@set definedafter Defining this now
@set definedafter Defining this again

@printindex ax

@section Test of macros with @samp{@@} in index

@defindex BB

@macro Mac {arg}
\arg\@}
@end macro

@macro MacTwo {arg}
@{@}
@end macro

@BBindex @Mac{CCCC @@}

@BBindex @MacTwo{DDDD @@}
@printindex BB


@section Test of @code{@@synindex}

@defindex foo
@defindex bar

@synindex foo bar

@fooindex One
@barindex Two

Should be two entries, not one below.

@printindex bar


@chapter @code{@@set} and @code{@@value}

@section Another test of @t{@@value}

Underscores and hyphens in value

@set foo-bar_ neenaw

The value is @value{foo-bar_}.


@chapter Cross-references

Check commas surrounding page number:

@noindent
@xref{Target}, for more information (@code{@@xref})@*
@xref{Target} for more information@*
@xref{Target}	for more information@*
@xref{Target}
for more information@*
@xref{Target}.@*
@xref{Target}@ for more info.@*
@xref{Target}@
for more info.@*
@xref{Target}@*
for more info.@*
@xref{Target}@	for more info.@*
@xref{Target} --- for more info. (comma)@*
@xref{Target}@: --- for more info. (no comma)@*
See @ref{Target}, for more information (@code{@@ref})@*
See @ref{Target} for more information@*
See @ref{Target}.@*
(@pxref{Target}) (@code{@@pxref})@*
(@pxref{Target,, Hurricanes})

@node Target
@section Target

@chapter Copying and captions

@section Copying

@documentencoding UTF-8

@copying
This manual is for blah-de-blah.@*
Backslash \@*

Copyrite @copyright{} 201X@*
þ þ þ þ þ þ þ þ
@end copying

Now for the @@insertcopying:

@insertcopying


@section Captions


There's a float in this section.

@float Figure,fig:ex1
This is a float.

@caption{This is a caption.
Multiple paragraphs are allowed here.  Here are some ``special'' 
characters: \ à.

Paragraph breaks allowed.
}

@shortcaption{short caption text.}

This float should have a caption somewhere.
@end float

List of floats now:

@listoffloats Figure




@chapter Document encoding

@documentencoding UTF-8


Test of a few UTF-8 sequences.

∃x∈X, x < ∞, s.t. x ∧ y

A∩B=C

(spacing here doesn't matter because we're not in math mode)

Greek text:

Η Πρώτη σύνοδος της Κωνσταντινούπολης, γνωστή ως Β΄ οικουμενική, ήταν η 
εκκλησιαστική σύνοδος που διενεργήθηκε το 381 μ.Χ. και συγκλήθηκε από 
τον αυτοκράτορα Θεοδόσιο, μετά από προτροπή του Μελετίου Αντιοχείας.  
Στόχος της ήταν η εκκλησιαστική ειρήνευση, αλλά και η «επίλυση των 
αναφυέντων εν τη εκκλησία κρίσιμων θεολογικών και διοικητικών 
προβλημάτων».

(random text copied from Wikipedia)

double accent --- ταΐζω


@section Test of characters in section title

Check table of contents.

For PDF output, check the bookmarks pane in the reader.
(Currently plain ASCII approximations are used for the UTF-8 encoding.)

@section --- übersicht

@section --- @"Ubersicht

@section @{ @} @@ @{@ @} @arrow{} @atchar{} @lbracechar{}

This section should be called ``@{ @} @@ @{ @} @arrow{} @@ @{''.



@chapter PDF link colours

For PDF only.


Check that
colour change continues on next page
for @acronym{URL} split across pages,
and doesn't change the colour of the heading line.

Push down to end of page

par

@tex
\global\def\urlcolor{0.32 0.39 0.50}%
@end tex

par

par

par

par

par

par

par

par

par

par

par

par

par

par

par

par

par

par

par

par

par

par

par

par

par

par

par

par

@uref{aaaaa/bbbbb/aaaaa/bbbbb/
aaaaa/bbbbb/aaaaa/bbbbb/
aaaaa/bbbbb/aaaaa/bbbbb/
aaaaa/bbbbb/aaaaa/bbbbb/
aaaaa/bbbbb/aaaaa/bbbbb/
aaaaa/bbbbb/aaaaa/bbbbb/
aaaaa/bbbbb/aaaaa/bbbbb/
aaaaa/bbbbb/aaaaa/bbbbb/
aaaaa/bbbbb/aaaaa/bbbbb/
aaaaa/bbbbb/aaaaa/bbbbb/
aaaaa/bbbbb/aaaaa/bbbbb/
aaaaa/bbbbb/aaaaa/bbbbb/
aaaaa/bbbbb/aaaaa/bbbbb/
aaaaa/bbbbb/aaaaa/bbbbb/
aaaaa/bbbbb/aaaaa/bbbbb/
aaaaa/bbbbb/aaaaa/bbbbb/
aaaaa/bbbbb/aaaaa/bbbbb/
aaaaa/bbbbb/aaaaa/bbbbb/
aaaaa/bbbbb/aaaaa/bbbbb/
aaaaa/bbbbb/aaaaa/bbbbb/
aaaaa/bbbbb/aaaaa/bbbbb/
aaaaa/bbbbb/aaaaa/bbbbb/}

par



@bye
