comparison man/texinfo.texi @ 367:a4f53d9b3154 r21-1-13

Import from CVS: tag r21-1-13
author cvs
date Mon, 13 Aug 2007 11:01:07 +0200
parents 8e84bee8ddd0
children cc15677e0335
comparison
equal deleted inserted replaced
366:83d76f480a59 367:a4f53d9b3154
1 \input texinfo.tex @c -*-texinfo-*- 1 \input texinfo.tex @c -*-texinfo-*-
2 @c $Id: texinfo.texi,v 1.11 1999/12/06 04:31:14 vins Exp $ 2 @c $Id: texinfo.texi,v 1.13 2001/01/07 03:21:58 vins Exp $
3 @c %**start of header 3 @c %**start of header
4 4
5 @c All text is ignored before the setfilename. 5 @c All text is ignored before the setfilename.
6 @setfilename ../info/texinfo.info 6 @setfilename ../info/texinfo.info
7 @settitle Texinfo @value{edition} 7 @settitle Texinfo @value{edition}
741 and indices. From the same Texinfo source file, you can create a 741 and indices. From the same Texinfo source file, you can create a
742 menu-driven, on-line Info file with nodes, menus, cross references, 742 menu-driven, on-line Info file with nodes, menus, cross references,
743 and indices. You can, if you wish, make the chapters and sections of 743 and indices. You can, if you wish, make the chapters and sections of
744 the printed document correspond to the nodes of the on-line 744 the printed document correspond to the nodes of the on-line
745 information; and you use the same cross references and indices for 745 information; and you use the same cross references and indices for
746 both the Info file and the printed work. @cite{The GNU 746 both the Info file and the printed work. @cite{The XEmacs User's
747 Emacs Manual} is a good example of a Texinfo file, as is this manual.@refill 747 Manual} is a good example of a Texinfo file, as is this manual.@refill
748 748
749 To make a printed document, you process a Texinfo source file with the 749 To make a printed document, you process a Texinfo source file with the
750 @TeX{} typesetting program. This creates a DVI file that you can 750 @TeX{} typesetting program. This creates a DVI file that you can
751 typeset and print as a book or report. (Note that the Texinfo language 751 typeset and print as a book or report. (Note that the Texinfo language
752 is completely different from @TeX{}'s usual language, plain @TeX{}.) If 752 is completely different from @TeX{}'s usual language, plain @TeX{}.) If
4766 utility to insert these pointers automatically.) 4766 utility to insert these pointers automatically.)
4767 4767
4768 @cindex Previous node of Top node 4768 @cindex Previous node of Top node
4769 Do not define the `Previous' node of the Top node to be @samp{(dir)}, as 4769 Do not define the `Previous' node of the Top node to be @samp{(dir)}, as
4770 it causes confusing behavior for users: if you are in the Top node and 4770 it causes confusing behavior for users: if you are in the Top node and
4771 hits @key{DEL} to go backwards, you wind up in the middle of the 4771 hit @key{DEL} to go backwards, you wind up in the middle of some other
4772 some other entry in the @file{dir} file, which has nothing to do with 4772 entry in the @file{dir} file, which has nothing to do with what you were
4773 what you were reading. 4773 reading.
4774 4774
4775 @xref{Install an Info File}, for more information about installing 4775 @xref{Install an Info File}, for more information about installing
4776 an Info file in the @file{info} directory. 4776 an Info file in the @file{info} directory.
4777 4777
4778 4778
5156 @@end menu 5156 @@end menu
5157 @end group 5157 @end group
5158 @end example 5158 @end example
5159 5159
5160 For example, to refer directly to the @samp{Outlining} and 5160 For example, to refer directly to the @samp{Outlining} and
5161 @samp{Rebinding} nodes in the @cite{Emacs Manual}, you would write a 5161 @samp{Rebinding} nodes in the @cite{XEmacs User's Manual}, you would
5162 menu like this:@refill 5162 write a menu like this:@refill
5163 5163
5164 @example 5164 @example
5165 @group 5165 @group
5166 @@menu 5166 @@menu
5167 * Outlining: (emacs)Outline Mode. The major mode for 5167 * Outlining: (xemacs)Outline Mode. The major mode for
5168 editing outlines. 5168 editing outlines.
5169 * Rebinding: (emacs)Rebinding. How to redefine the 5169 * Rebinding: (xemacs)Rebinding. How to redefine the
5170 meaning of a key. 5170 meaning of a key.
5171 @@end menu 5171 @@end menu
5172 @end group 5172 @end group
5173 @end example 5173 @end example
5174 5174
5175 If you do not list the node name, but only name the file, then Info 5175 If you do not list the node name, but only name the file, then Info
8224 with @code{@@item}, and separate the column entries with @code{@@tab}. 8224 with @code{@@item}, and separate the column entries with @code{@@tab}.
8225 Line breaks are not special within the table body, and you may break 8225 Line breaks are not special within the table body, and you may break
8226 input lines in your source file as necessary. 8226 input lines in your source file as necessary.
8227 8227
8228 Here is a complete example of a multi-column table (the text is from 8228 Here is a complete example of a multi-column table (the text is from
8229 @cite{The GNU Emacs Manual}, @pxref{Split Window,, Splitting Windows, 8229 @cite{The XEmacs Users' Manual}, @pxref{Split Window,, Splitting Windows,
8230 xemacs, XEmacs User's Manual}): 8230 xemacs, XEmacs User's Manual}):
8231 8231
8232 @example 8232 @example
8233 @@multitable @@columnfractions .15 .45 .4 8233 @@multitable @@columnfractions .15 .45 .4
8234 @@item Key @@tab Command @@tab Description 8234 @@item Key @@tab Command @@tab Description