http://www.usf.uos.de/infoservice/doc/

(texinfo)Sample Texinfo File


Next: Sample Permissions Prev: Tips Up: Top
Enter node , (file) or (file)node

A Sample Texinfo File
*********************

  Here is a complete, short sample Texinfo file, without any commentary.
You can see this file, with comments, in the first chapter.  Note: A
Short Sample Texinfo File.

     \input texinfo   @c -*-texinfo-*-
     @c %**start of header
     @setfilename sample.info
     @settitle Sample Document
     @c %**end of header
     
     @setchapternewpage odd
     
     @ifinfo
     This is a short example of a complete Texinfo file.
     
     Copyright 1990 Free Software Foundation, Inc.
     @end ifinfo
     
     @titlepage
     @sp 10
     @comment The title is printed in a large font.
     @center @titlefont{Sample Title}
     
     @c The following two commands start the copyright page.
     @page
     @vskip 0pt plus 1filll
     Copyright @copyright{} 1990 Free Software Foundation, Inc.
     @end titlepage
     
     @node    Top,       First Chapter,         , (dir)
     @comment node-name, next,          previous, up
     
     @menu
     * First Chapter::    The first chapter is the
                          only chapter in this sample.
     * Concept Index::    This index has two entries.
     @end menu
     
     @node    First Chapter, Concept Index, Top,      Top
     @comment node-name,     next,          previous, up
     @chapter First Chapter
     @cindex Sample index entry
     
     This is the contents of the first chapter.
     @cindex Another sample index entry
     
     Here is a numbered list.
     
     @enumerate
     @item
     This is the first item.
     
     @item
     This is the second item.
     @end enumerate
     
     The @code{makeinfo} and @code{texinfo-format-buffer}
     commands transform a Texinfo file such as this into
     an Info file; and @TeX{} typesets it for a printed
     manual.
     
     @node    Concept Index,    ,  First Chapter, Top
     @comment node-name,    next,  previous,      up
     @unnumbered Concept Index
     
     @printindex cp
     
     @contents
     @bye


Next: Sample Permissions Prev: Tips Up: Top
[ Dokumentation lokal installierter Software ]