Previous: , Up: Beginning and Ending a File   [Contents][Index]


3.8 Ending a Texinfo File

The end of a Texinfo file should include commands to create indices (see Printing Indices & Menus), and the @bye command to mark the last line to be processed. For example:

@node Index
@unnumbered Index

@printindex cp

@bye

An @bye command terminates Texinfo processing. None of the formatters process anything following @bye; any such text is completely ignored. The @bye command should be on a line by itself.

Thus, if you wish, you may follow the @bye line with arbitrary notes. Also, you may follow the @bye line with a local variables list for Emacs, most typically a ‘compile-command’ (see Using the Local Variables List).