Go forward to Preparing for TeX.
Go backward to Compile-Command.
Go up to Format/Print Hardcopy.
TeX Formatting Requirements Summary
===================================
Every Texinfo file that is to be input to TeX must begin with a
`\input' command and must contain an `@setfilename' command and an
`@settitle' command:
\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:
@bye
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
See `@setchapternewpage': setchapternewpage,
See Page Headings: Headings,
See Titlepage & Copyright Page,
See Printing Indices & Menus, and
See Contents.