Next: Texinfo File Header, Up: Beginning a File
以下のサンプルは,必要なものを表示しています.以下で与えられている要素は, それ以降のセクションで詳細に説明します.それ以外のコマンドで,Texinfoファ イルの最初に含められることが多いものもありますが,ここにあるものが最も重 要です.
GNUマニュアルで使用されている完全なテキストは,See GNU Sample Texts.
\input texinfo @c -*-texinfo-*- @c %**start of header @setfilename infoname.info @settitle name-of-manual version @c %**end of header @copying This manual is for program, version version. Copyright @copyright{} years copyright-owner. @quotation Permission is granted to ... @end quotation @end copying @titlepage @title name-of-manual-when-printed @subtitle subtitle-if-any @subtitle second-subtitle @author author @c The following two commands @c start the copyright page. @page @vskip 0pt plus 1filll @insertcopying Published by ... @end titlepage @c So the toc is printed in the right place. @contents @ifnottex @node Top @top title @insertcopying @end ifnottex @menu * First Chapter:: Getting started ... * Second Chapter:: ... ... * Copying:: Your rights and freedoms. @end menu @node First Chapter @chapter First Chapter @cindex first chapter @cindex chapter, first ...