GNU Info

Info Node: (texinfo)Header

(texinfo)Header


Next: Info Summary and Permissions Prev: Sample Beginning Up: Beginning a File
Enter node , (file) or (file)node

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

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.
documentdescription
Document summary for the HTML output.
setchapternewpage
Start chapters on right-hand pages.
paragraphindent
Specify paragraph indentation.
exampleindent
Specify environment indentation.
End of Header
Formatting a region requires this.

automatically generated by info2www version 1.2.2.9