code:
% texinfo-ja.tex -- Japanese texinfo.tex loader
% Some CJK packages are necessary to load before texinfo.tex.
%
% Copyright 2016, 2017 Free Software Foundation, Inc.
%
% This program 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 program 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/>.
%
% Written by Masamichi Hosoda, 6 May 2016, <trueroad@trueroad.jp>

%
% For LuaTeX
%
\ifx\luatexversion\thisisundefined
\else
  % LuaTeX 0.95+ is required.
  \ifnum\luatexversion<95
    \errmessage{LuaTeX 0.95+ is required}
  \fi
  % LuaTeX-ja: Typeset Japanese with Lua(La)TeX
  % http://www.ctan.org/tex-archive/macros/luatex/generic/luatexja
  \openin 1 luatexja.sty \ifeof 1
    \errmessage{LuaTeX-ja is not found.
    It is required for Japanese Texinfo files with LuaTeX.
    http://www.ctan.org/tex-archive/macros/luatex/generic/luatexja
    It might be contained in texlive-lang-japanese package}
  \else
    \input luatexja.sty
    \def\txijapackage{LaTeX-ja}
  \fi
\fi

%
% For XeTeX
%
\ifx\XeTeXrevision\thisisundefined
\else
  % XeTeX 0.9998+ is required.
  \ifnum\strcmp{\the\XeTeXversion\XeTeXrevision}{0.9998}<0
    \errmessage{XeTeX 0.9998+ is required}
  \fi
  % zhspacing: Spacing for mixed CJK-English documents in XeTeX
  % http://www.ctan.org/tex-archive/macros/xetex/generic/zhspacing
  %
  % This package is originally for Chinese,
  % but can also used in Japanese.
  %
  \openin 1 zhspacing.sty \ifeof 1
    \errmessage{zhspacing is not found.
    It is required for Japanese Texinfo files with XeTeX.
    http://www.ctan.org/tex-archive/macros/xetex/generic/zhspacing
    It might be contained in texlive-lang-chinese.
    (This package is for Chinese, but can also used in Japanese)}
  \else
    \def\zhfont{dummy} % Cancel the request of SimSun font
    \def\zhpunctfont{dummy} % Cancel the request of SimSun font
    \input zhspacing.sty
    \zhspacing
    \def\txijapackage{zhspacing}
  \fi
\fi

%
% For others
%
\ifx\luatexversion\thisisundefined
  \ifx\XeTeXrevision\thisisundefined
    \errmessage{The TeX engine is not LuaTeX / XeTeX.
    LuaTeX / XeTeX is required for Japanese Texinfo files}
  \fi
\fi

% Original texinfo.tex
\input texinfo.tex

repo_name: mthl/texinfo

license: mit


code:
\initial {K}
\entry {\code {kbd}}{63}
\entry {\code {kbdinputstyle}}{63}
\entry {\code {key}}{64}
\entry {\code {kindex}}{97}
\initial {L}
\entry {\code {l}}{109}
\entry {\code {L}}{109}
\entry {\code {LaTeX}}{112}
\entry {\code {lbracechar\lbracechar \rbracechar  \r {(literal \samp {\lbracechar })}}}{103}
\entry {\code {leq}}{114}
\entry {\code {{\tt \backslashcurfont }linkcolor}}{59}
\entry {\code {lisp}}{76}
\entry {\code {listoffloats}}{91}
\entry {\code {lowersections}}{47}
\initial {M}
\entry {\code {macro}}{149}
\entry {\code {{\tt \backslashcurfont }mag \r {(raw \TeX {} magnification)}}}{173}
\entry {\code {majorheading}}{44}
\entry {\code {makeinfo-buffer}}{199}
\entry {\code {makeinfo-kill-job}}{200}
\entry {\code {makeinfo-recenter-output-buffer}}{200}
\entry {\code {makeinfo-region}}{199}
\entry {\code {math}}{111}
\entry {\code {{\tt \backslashcurfont }mathopsup}}{111}
\entry {\code {menu}}{38}
\entry {\code {minus}}{114}
\entry {\code {move_index_entries_after_items}}{195}
\entry {\code {multitable}}{87}
\initial {N}
\entry {\code {need}}{122}
\entry {\code {<newline>}}{105}
\entry {\code {next-error}}{199}
\entry {\code {node}}{32}
\entry {\code {noindent}}{78}
\entry {\code {novalidate}}{165}
\initial {O}
\entry {\code {o}}{109}
\entry {\code {O}}{109}
\entry {\code {occur}}{277}
\entry {\code {occur-mode-goto-occurrence}}{259}
\entry {\code {oddfooting}}{270}
\entry {\code {oddfootingmarks}}{272}
\entry {\code {oddheading}}{270}
\entry {\code {oddheadingmarks}}{272}
\entry {\code {oe}}{109}
\entry {\code {OE}}{109}
\entry {\code {ogonek}}{108}
\entry {\code {option}}{67}
\entry {\code {ordf}}{109}
\entry {\code {ordm}}{109}
\initial {P}
\entry {\code {page}}{121}
\entry {\code {page\r {, within \code {\@titlepage}}}}{20}
\entry {\code {pagesizes}}{172}
\entry {\code {paragraphindent}}{29}
\entry {\code {parse}}{185}
\entry {\code {part}}{46}
\entry {\code {pdf}}{185}
\entry {\code {phoo}}{155}
\entry {\code {pindex}}{97}
\entry {\code {plaintexinfo}}{185}
\entry {\code {plaintext}}{185}
\entry {\code {point}}{116}
\entry {\code {pounds}}{113}
\entry {\code {print}}{115}
\entry {\code {printindex}}{99}
\entry {\code {ps}}{185}
\entry {\code {pxref}}{55}
\initial {Q}
\entry {\code {questiondown}}{109}
\entry {\code {quotation}}{73}
\entry {\code {quotedblbase}}{110}
\entry {\code {quotedblleft}}{110}
\entry {\code {quotedblright}}{110}
\entry {\code {quoteleft}}{110}
\entry {\code {quoteright}}{110}
\entry {\code {quotesinglbase}}{110}
\initial {R}
\entry {\code {r \r {(roman font)}}}{71}
\entry {\code {raggedright}}{78}
\entry {\code {raisesections}}{47}
\entry {\code {rawtext}}{185}
\entry {\code {rbracechar\lbracechar \rbracechar  \r {(literal \samp {\rbracechar })}}}{103}
\entry {\code {ref}}{55}
\entry {\code {refill}}{237}
\entry {\code {regenerate_master_menu}}{195}
\entry {\code {registeredsymbol}}{112}
\entry {\code {result}}{115}
\entry {\code {ringaccent}}{108}
\entry {\code {rmacro}}{150}
\initial {S}
\entry {\code {samp}}{65}
\entry {\code {sansserif \r {(sans serif font)}}}{71}
\entry {\code {sc \r {(small caps font)}}}{70}
\entry {\code {section}}{44}
\entry {\code {set}}{143}
\entry {\code {setchapternewpage}}{27}
\entry {\code {\@setcontentsaftertitlepage}}{244}
\entry {\code {setfilename}}{17}
\entry {\code {\@setshortcontentsaftertitlepage}}{244}
\entry {\code {settitle}}{18}
\entry {\code {shortcaption}}{91}
\entry {\code {shortcontents}}{24}
\entry {\code {shorttitlepage}}{21}
\entry {\code {simple_menu}}{195}
\entry {\code {slanted \r {(slanted font)}}}{71}
\entry {\code {smallbook}}{171}
\entry {\code {smalldisplay}}{76}
\entry {\code {smallexample}}{80}
\entry {\code {smallformat}}{77, 80}
\entry {\code {smallindentedblock}}{74}


code:
% 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@sup{superscript}

@chapter Fonts

@macro headerline
@r{roman} @i{italic} @b{bold} @t{typewriter} @slanted{slant} @*
@sansserif{`sans serif'} @sc{`small caps'} {@ensuremath@clubsuit}
@hrule
@end macro

A test of the fonts used in @file{texinfo.tex}.

{@titlefonts @headerline}

{@textfonts @headerline}

{@reducedfonts @headerline}

{@chapfonts @headerline}

{@secfonts @headerline}

{@subsecfonts @headerline}

{@smallfonts @headerline}

{@smallerfonts @headerline}

@majorheading Test of @LaTeX{} logo

{@rm @LaTeX{}}

{@it @LaTeX{}}

{@sl @LaTeX{}}

{@bf @LaTeX{}}

{@tt @LaTeX{}}

@majorheading roman @b{bold}@sup{superscript} @LaTeX{}

@majorheading roman@sup{sup} @b{now bold@sup{sup}@r{now roman@sup{superscript}}}

@heading roman @b{bold} @LaTeX{}

@subheading roman @b{bold} @LaTeX{}

roman@sub{sub} @b{bold@sub{sub}}

@section Acronyms

Test of @acronym{ACRONYM}'s.  {ACRONYM}'s.

@majorheading Test of @acronym{ACRONYM}'s.  ACRONYM's hippopotamus

@chapter Glyph commands

@ordf{} @ordm{}

@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

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

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

xxxxxxxxxxxxxxxxxxxxxx

@example
@group@c
groff [ -abceghijklpstvzCEGNRSUVXZ ]
@end group
@end example

xxxxxxxxxxxxxxxxxxxxxxxxxxx

xxxxxxxxxxxxxxxxxxxxxx

@Example
groff [ -abceghijklpstvzCEGNRSUVXZ ]
@endExample

xxxxxxxxxxxxxxxxxxxxxxxxxxx

@section Braceless at end of line

@macro Mac
value
@end macro

Okay, we are here. The @Mac
on next line now.

With spaces and newline. The @Mac
on next line now.

With braces. The @Mac{}
on next line now.

With space and braces. The @Mac {}
on next line now.

With two spaces and braces. The @Mac  {}
on next line now.

With braces and two newlines. The @Mac{}

in next paragraph now.

With two newlines. The @Mac

in next paragraph now.

@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 \commenceindexnopage{%
\begingroup
\smallfonts \rm
\begindoublecolumns
\tolerance = 9500
\plainfrenchspacing
\everypar = {}%
\catcode`\\=0 \catcode`\@=12
}

\gdef \commenceindex{%
\page
\commenceindexnopage
}

\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, glyhs 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, glyhs 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 Medium length index

Check that no blank pages appear and that index text fits within page
margins.  The text of the index is not short enough to fit on the page
after the text before the index.

@page

Text before index.

More text before index.

More text before index.

More text before index.

More text before index.

More text before index.

More text before index.

More text before index.

More text before index.

@commenceindexnopage
\entry {\code {ac_cv_alignof_\var {type-or-expr}}}{152}
\entry {\code {ac_cv_c_const}}{157}
\entry {\code {ac_cv_c_int16_t}}{178}
\entry {\code {ac_cv_c_int32_t}}{179}
\entry {\code {ac_cv_c_int64_t}}{179}
\entry {\code {ac_cv_c_int8_t}}{178}
\entry {\code {ac_cv_c_restrict}}{157}
\entry {\code {ac_cv_c_uint16_t}}{180}
\entry {\code {ac_cv_c_uint32_t}}{180}
\entry {\code {ac_cv_c_uint64_t}}{180}
\entry {\code {ac_cv_c_uint8_t}}{180}
\entry {\code {ac_cv_f77_compiler_gnu}}{191}
\entry {\code {ac_cv_f77_dummy_main}}{193}
\entry {\code {ac_cv_f77_implicit_none}}{198}
\entry {\code {ac_cv_f77_libs}}{193}
\entry {\code {ac_cv_f77_main}}{194}
\entry {\code {ac_cv_f77_mangling}}{194}
\entry {\code {ac_cv_fc_check_bounds}}{198}
\entry {\code {ac_cv_fc_compiler_gnu}}{192}
\entry {\code {ac_cv_fc_dummy_main}}{193}
\entry {\code {ac_cv_fc_fixedform}}{197}
\entry {\code {ac_cv_fc_freeform}}{197}
\entry {\code {ac_cv_fc_implicit_none}}{198}
\entry {\code {ac_cv_fc_libs}}{193}
\entry {\code {ac_cv_fc_line_length}}{197}
\entry {\code {ac_cv_fc_main}}{194}
\entry {\code {ac_cv_fc_mangling}}{194}
\entry {\code {ac_cv_fc_module_ext}}{198}
\entry {\code {ac_cv_fc_module_flag}}{198}
\entry {\code {ac_cv_fc_module_output_flag}}{199}
\entry {\code {ac_cv_fc_pp_define}}{196}
\entry {\code {ac_cv_fc_pp_srcext_\var {ext}}}{196}
\entry {\code {ac_cv_fc_srcext_\var {ext}}}{196}
\entry {\code {ac_cv_file_\var {file}}}{91}
\entry {\code {ac_cv_func_chown_works}}{160}
\entry {\code {ac_cv_func_closedir_void}}{160}
\entry {\code {ac_cv_func_fnmatch_gnu}}{161}
\entry {\code {ac_cv_func_fnmatch_works}}{161, 166}
\entry {\code {ac_cv_func_\var {function}}}{166}
\entry {\code {ac_cv_func_getgroups_works}}{161}
\entry {\code {ac_cv_func_getpgrp_void}}{162}
\entry {\code {ac_cv_func_lstat_dereferences_slashed_symlink}}{163}
\entry {\code {ac_cv_func_lstat_empty_string_bug}}{165}
\entry {\code {ac_cv_func_malloc_0_nonnull}}{163}
\entry {\code {ac_cv_func_mbrtowc}}{163}
\entry {\code {ac_cv_func_memcmp_working}}{163}
\entry {\code {ac_cv_func_mmap_fixed_mapped}}{164}
\entry {\code {ac_cv_func_obstack}}{164}
\entry {\code {ac_cv_func_pow}}{165}
\entry {\code {ac_cv_func_realloc_0_nonnull}}{164}
\entry {\code {ac_cv_func_setpgrp_void}}{164}
\entry {\code {ac_cv_func_stat_empty_string_bug}}{165}
\entry {\code {ac_cv_func_strcoll_works}}{165}
\entry {\code {ac_cv_func_strerror_r_char_p}}{165}
\entry {\code {ac_cv_func_strnlen_working}}{166}
\entry {\code {ac_cv_func_strtod}}{165}
\entry {\code {ac_cv_func_strtold}}{165}
\entry {\code {ac_cv_func_utime_null}}{166}
\entry {\code {ac_cv_func_working_mktime}}{164}
\entry {\code {ac_cv_have_decl_\var {symbol}}}{175}
\entry {\code {ac_cv_header_\var {header-file}}}{174}
\entry {\code {ac_cv_header_stdbool_h}}{170, 172}
\entry {\code {ac_cv_header_stdc}}{172}
\entry {\code {ac_cv_header_sys_wait_h}}{172}
\entry {\code {ac_cv_header_time}}{424}
\entry {\code {ac_cv_lib_error_at_line}}{160}
\entry {\code {ac_cv_lib_\var {library}_\var {function}}}{91}
\entry {\code {ac_cv_member_\var {aggregate}_\var {member}}}{177}
\entry {\code {ac_cv_member_struct_stat_st_blocks}}{177}
\entry {\code {ac_cv_path_install}}{85}
\entry {\code {ac_cv_path_mkdir}}{86}
\entry {\code {ac_cv_path_SED}}{88}
\entry {\code {ac_cv_path_\var {variable}}}{90}
\entry {\code {ac_cv_prog_AWK}}{85}
\entry {\code {ac_cv_prog_c_openmp}}{153}
\entry {\code {ac_cv_prog_cc_\var {compiler}_c_o}}{156}
\entry {\code {ac_cv_prog_cc_stdc}}{155}
\entry {\code {ac_cv_prog_cxx_openmp}}{153}
\entry {\code {ac_cv_prog_EGREP}}{85}
\entry {\code {ac_cv_prog_f77_c_o}}{192}
\entry {\code {ac_cv_prog_f77_g}}{191}
\entry {\code {ac_cv_prog_f77_openmp}}{153}
\entry {\code {ac_cv_prog_f77_v}}{193}
\entry {\code {ac_cv_prog_fc_c_o}}{192}
\entry {\code {ac_cv_prog_fc_g}}{192}
\entry {\code {ac_cv_prog_fc_openmp}}{153}
\entry {\code {ac_cv_prog_fc_v}}{193}
\entry {\code {ac_cv_prog_FGREP}}{85}
\entry {\code {ac_cv_prog_GREP}}{85}
\entry {\code {ac_cv_prog_LEX}}{87}
\entry {\code {ac_cv_prog_\var {variable}}}{88, 89}
\entry {\code {ac_cv_prog_YACC}}{88}
\entry {\code {ac_cv_search_\var {function}}}{92}
\entry {\code {ac_cv_search_getmntent}}{162}
\entry {\code {ac_cv_sizeof_\var {type-or-expr}}}{152}
\entry {\code {ac_cv_sys_posix_termios}}{96}
\entry {\code {ac_cv_type_getgroups}}{178}
\entry {\code {ac_cv_type_long_double}}{179}
\entry {\code {ac_cv_type_long_double_wider}}{179}
\entry {\code {ac_cv_type_long_long_int}}{179}
\entry {\code {ac_cv_type_mbstate_t}}{179}
\entry {\code {ac_cv_type_mode_t}}{179}
\entry {\code {ac_cv_type_off_t}}{179}
\entry {\code {ac_cv_type_pid_t}}{179}
\entry {\code {ac_cv_type_size_t}}{180}
\entry {\code {ac_cv_type_ssize_t}}{180}
\entry {\code {ac_cv_type_\var {type}}}{180}
\entry {\code {ac_cv_type_uid_t}}{180}
\entry {\code {ac_cv_type_unsigned_long_long_int}}{180}
\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

@section Test of index sort keys

@defindex SK

@SKindex @sortas{A} bbbbbbb (first)
@SKindex @sortas{B} aaaaaaa (second)

@printindex SK

@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

@section Comma insertion

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

@section Non-existent target

@xref{blllllllrrrrrrghhh}.

@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