Contents | < Browse | Browse >
The Texinfo File Header
=======================
Texinfo files start with at least three lines that provide Info and
TeX with necessary information. These are the `input texinfo' line,
the `@settitle' line, and the `@setfilename' line. If you want to run
TeX on just a part of the Texinfo File, you must write the `@settitle'
and `@setfilename' lines between start-of-header and end-of-header
lines.
Thus, the beginning of a Texinfo file looks like this:
input texinfo @c -*-texinfo-*-
@setfilename sample.info
@settitle Sample Document
or else like this:
input texinfo @c -*-texinfo-*-
@c %**start of header
@setfilename sample.info
@settitle Sample Document
@c %**end of header
* Menu:
* First Line The first line of a Texinfo file.
* Start of Header Formatting a region requires this.
* setfilename Tell Info the name of the Info file.
* settitle Create a title for the printed work.
* setchapternewpage Start chapters on right-hand pages.
* paragraphindent An option to specify paragraph indentation.
* End of Header Formatting a region requires this.