Every Texinfo file that is to be input to TeX must begin with a
\input command and must contain an
@setfilename command and
\input texinfo @setfilename arg-not-used-by-TeX @settitle name-of-manual
The first command instructs TeX to load the macros it needs to process a Texinfo file, the second command opens auxiliary files, and the third specifies the title of printed manual.
Every Texinfo file must end with a line that terminates TeX processing and forces out unfinished pages:
Strictly speaking, these four lines are all a Texinfo file needs for
TeX, besides the body. (The
@setfilename line is the only
line that a Texinfo file needs for Info formatting.)
Usually, the file's first line contains an `@c -*-texinfo-*-'
comment that causes Emacs to switch to Texinfo mode when you edit the
file. In addition, the beginning usually includes an
@setchapternewpage command, a title page, a copyright page, and
permissions. Besides an
@bye, the end of a file usually
includes indices and a table of contents.
For more information, see
section Page Headings,
section The Title and Copyright Pages,
section Index Menus and Printing an Index, and
section Generating a Table of Contents.
Go to the first, previous, next, last section, table of contents.