[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
3.2 Texinfo File Header
Texinfo files start with at least three lines that provide Texinfo
translators with necessary information. These are the \input
texinfo
line, the @settitle
line, and the
@setfilename
line.
Also, if you want to format just part of the Texinfo file in Emacs,
you must write the @settitle
and @setfilename
lines
between start-of-header and end-of-header lines. These start- and
end-of-header lines are optional, but they do no harm, so you might as
well always include them.
Any command that affects document formatting as a whole makes sense to
include in the header. @synindex
(see section @synindex
: Combining indices),
for instance, is another command often included in the header.
Thus, the beginning of a Texinfo file generally looks approximately like this:
\input texinfo @c -*-texinfo-*- @c %**start of header @setfilename sample.info @settitle Sample Manual 1.0 @c %**end of header
(See section GNU Sample Texts, for complete sample texts.)
3.2.1 The First Line of a Texinfo File | The first line of a Texinfo file. | |
3.2.2 Start of Header | Formatting a region requires this. | |
3.2.3 @setfilename : Set the Output File Name | Tell Info the name of the Info file. | |
3.2.4 @settitle : Set the Document Title | Create a title for the printed work. | |
3.2.5 End of Header | Formatting a region requires this. |
[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
This document was generated on October 2, 2013 using texi2html 5.0.