comparison man/texinfo.texi @ 181:bfd6434d15b3 r20-3b17

Import from CVS: tag r20-3b17
author cvs
date Mon, 13 Aug 2007 09:53:19 +0200
parents 2d532a89d707
children c9fe270a4101
comparison
equal deleted inserted replaced
180:add28d59e586 181:bfd6434d15b3
1 \input texinfo.tex @c -*-texinfo-*- 1 \input texinfo.tex @c -*-texinfo-*-
2 @comment $Id: texinfo.texi,v 1.4 1997/07/19 22:11:50 steve Exp $ 2 @c $Id: texinfo.texi,v 1.5 1997/08/10 04:40:35 steve Exp $
3 @comment %**start of header 3 @c %**start of header
4
5 @c All text is ignored before the setfilename.
6 @setfilename texinfo
7 @settitle Texinfo @value{edition}
8
4 @set edition 2.24 9 @set edition 2.24
5 @set update-month July 1997 10 @set update-month July 1997
6 @set update-date 15 @value{update-month} 11 @set update-date 25 @value{update-month}
7
8 @setfilename texinfo
9 @settitle Texinfo @value{edition}
10 12
11 @c Define a new index for options. 13 @c Define a new index for options.
12 @defcodeindex op 14 @defcodeindex op
13 @c Put everything except function (command, in this case) names in one 15 @c Put everything except function (command, in this case) names in one
14 @c index (arbitrarily chosen to be the concept index). 16 @c index (arbitrarily chosen to be the concept index).
28 @direntry 30 @direntry
29 * Texinfo: (texinfo). The GNU documentation format. 31 * Texinfo: (texinfo). The GNU documentation format.
30 * install-info: (texinfo)Invoking install-info. Updating info/dir entries. 32 * install-info: (texinfo)Invoking install-info. Updating info/dir entries.
31 * texi2dvi: (texinfo)Format with texi2dvi. Printing Texinfo documentation. 33 * texi2dvi: (texinfo)Format with texi2dvi. Printing Texinfo documentation.
32 * texindex: (texinfo)Format with tex/texindex. Sorting Texinfo index files. 34 * texindex: (texinfo)Format with tex/texindex. Sorting Texinfo index files.
33 * makeinfo: (texinfo)makeinfo preferred. Translate Texinfo source. 35 * makeinfo: (texinfo)makeinfo Preferred. Translate Texinfo source.
34 @end direntry 36 @end direntry
35 37
36 @c Set smallbook if printing in smallbook format so the example of the 38 @c Set smallbook if printing in smallbook format so the example of the
37 @c smallbook font is actually written using smallbook; in bigbook, a kludge 39 @c smallbook font is actually written using smallbook; in bigbook, a kludge
38 @c is used for TeX output. 40 @c is used for TeX output. Do this through the -t option to texi2dvi,
39 @smallbook 41 @c so this same source can be used for other paper sizes as well.
40 @set smallbook 42 @c smallbook
43 @c set smallbook
41 @c @@clear smallbook 44 @c @@clear smallbook
42 45
43 @c Currently undocumented command, 5 December 1993: 46 @c Currently undocumented command, 5 December 1993:
44 @c 47 @c
45 @c nwnode (Same as node, but no warnings; for `makeinfo'.) 48 @c nwnode (Same as node, but no warnings; for `makeinfo'.)
633 * Heading Choice:: How to specify the type of page heading. 636 * Heading Choice:: How to specify the type of page heading.
634 * Custom Headings:: How to create your own headings and footings. 637 * Custom Headings:: How to create your own headings and footings.
635 638
636 Formatting Mistakes 639 Formatting Mistakes
637 640
638 * makeinfo preferred:: @code{makeinfo} finds errors. 641 * makeinfo Preferred:: @code{makeinfo} finds errors.
639 * Debugging with Info:: How to catch errors with Info formatting. 642 * Debugging with Info:: How to catch errors with Info formatting.
640 * Debugging with TeX:: How to catch errors with @TeX{} formatting. 643 * Debugging with TeX:: How to catch errors with @TeX{} formatting.
641 * Using texinfo-show-structure:: How to use @code{texinfo-show-structure}. 644 * Using texinfo-show-structure:: How to use @code{texinfo-show-structure}.
642 * Using occur:: How to list all lines containing a pattern. 645 * Using occur:: How to list all lines containing a pattern.
643 * Running Info-Validate:: How to find badly referenced nodes. 646 * Running Info-Validate:: How to find badly referenced nodes.
2705 file name. (@xref{Tag and Split Files, , Tag Files and Split Files}.) 2708 file name. (@xref{Tag and Split Files, , Tag Files and Split Files}.)
2706 The subfile name @file{texinfo.info-10}, for example, is too long for 2709 The subfile name @file{texinfo.info-10}, for example, is too long for
2707 some systems; so the Info file name for this document is @file{texinfo} 2710 some systems; so the Info file name for this document is @file{texinfo}
2708 rather than @file{texinfo.info}. 2711 rather than @file{texinfo.info}.
2709 2712
2713 @cindex Ignored before @code{@@setfilename}
2710 The Info formatting commands ignore everything written before the 2714 The Info formatting commands ignore everything written before the
2711 @code{@@setfilename} line, which is why the very first line of 2715 @code{@@setfilename} line, which is why the very first line of
2712 the file (the @code{\input} line) does not need to be commented out. 2716 the file (the @code{\input} line) does not show up in the output.
2713 2717
2714 @pindex texinfo.cnf 2718 @pindex texinfo.cnf
2715 The @code{@@setfilename} line produces no output when you typeset a 2719 The @code{@@setfilename} line produces no output when you typeset a
2716 manual with @TeX{}, but it nevertheless is essential: it opens the 2720 manual with @TeX{}, but it nevertheless is essential: it opens the
2717 index, cross-reference, and other auxiliary files used by Texinfo, and 2721 index, cross-reference, and other auxiliary files used by Texinfo, and
6129 6133
6130 The converse of @code{@@inforef} is @code{@@cite}, which is used to 6134 The converse of @code{@@inforef} is @code{@@cite}, which is used to
6131 refer to printed works for which no Info form exists. @xref{cite, , 6135 refer to printed works for which no Info form exists. @xref{cite, ,
6132 @code{@@cite}}.@refill 6136 @code{@@cite}}.@refill
6133 6137
6138
6134 @node uref, , inforef, Cross References 6139 @node uref, , inforef, Cross References
6135 @section @code{@@uref@{@var{url}[, @var{displayed-text}]@}} 6140 @section @code{@@uref@{@var{url}[, @var{displayed-text}]@}}
6136 @findex uref 6141 @findex uref
6137 @cindex Uniform resource locator, referring to 6142 @cindex Uniform resource locator, referring to
6138 @cindex URL, referring to 6143 @cindex URL, referring to
6268 Indicate a uniform resource locator for the World Wide Web. 6273 Indicate a uniform resource locator for the World Wide Web.
6269 6274
6270 @item @@file@{@var{file-name}@} 6275 @item @@file@{@var{file-name}@}
6271 Indicate the name of a file.@refill 6276 Indicate the name of a file.@refill
6272 6277
6273 @item @@email@{@var{email-address}@} 6278 @item @@email@{@var{email-address}[, @var{displayed-text}]@}
6274 Indicate an electronic mail address. 6279 Indicate an electronic mail address.
6275 6280
6276 @item @@dfn@{@var{term}@} 6281 @item @@dfn@{@var{term}@}
6277 Indicate the introductory or defining use of a term.@refill 6282 Indicate the introductory or defining use of a term.@refill
6278 6283
6766 In a printed manual, @code{@@ctrl} generates text to describe or 6771 In a printed manual, @code{@@ctrl} generates text to describe or
6767 identify that control character: an uparrow followed by the character 6772 identify that control character: an uparrow followed by the character
6768 @var{ch}.@refill 6773 @var{ch}.@refill
6769 @end ignore 6774 @end ignore
6770 6775
6776
6771 @node url, email, cite, Indicating 6777 @node url, email, cite, Indicating
6772 @subsection @code{@@url}@{@var{uniform-resource-locator}@} 6778 @subsection @code{@@url}@{@var{uniform-resource-locator}@}
6773 @findex url 6779 @findex url
6774 @cindex Uniform resource locator, indicating 6780 @cindex Uniform resource locator, indicating
6775 @cindex URL, indicating 6781 @cindex URL, indicating
6787 @@url@{http://host.domain.org/path@}. 6793 @@url@{http://host.domain.org/path@}.
6788 @end example 6794 @end example
6789 6795
6790 6796
6791 @node email, , url, Indicating 6797 @node email, , url, Indicating
6792 @subsection @code{@@email}@{@var{email-address}@} 6798 @subsection @code{@@email}@{@var{email-address}[, @var{displayed-text}]@}
6793 @findex email 6799 @findex email
6794 6800
6795 Use the @code{@@email} command to indicate an electronic mail address. 6801 Use the @code{@@email} command to indicate an electronic mail address.
6802 It takes one mandatory argument, the address, and one optional argument, the
6803 text to display (the default is the address itself).
6804
6805 @cindex mailto link
6806 In Info and @TeX{}, the address is shown in angle brackets, preceded by
6807 the text to display if any. In HTML output, @code{@@email} produces a
6808 @samp{mailto} link that usually brings up a mail composition window.
6796 For example: 6809 For example:
6797 6810
6798 @example 6811 @example
6799 Send bug reports to @@email@{bug-texinfo@@prep.ai.mit.edu@}. 6812 Send bug reports to @@email@{bug-texinfo@@@@prep.ai.mit.edu@}.
6800 @end example 6813 Send suggestions to the @@email@{bug-texinfo@@@@prep.ai.mit.edu, same place@}.
6801 6814 @end example
6802 In Info and @TeX{}, this acts like @code{@@key} (it puts the argument in 6815 @noindent produces
6803 angle brackets). When we have support for converting Texinfo to HTML, 6816 @example
6804 this will produce a link you can follow to bring up a mail composition 6817 Send bug reports to @email{bug-texinfo@@prep.ai.mit.edu}.
6805 window initialized with @var{email-address}. 6818 Send suggestions to the @email{bug-texinfo@@prep.ai.mit.edu, same place}.
6819 @end example
6820
6806 6821
6807 @node Emphasis, , Indicating, Marking Text 6822 @node Emphasis, , Indicating, Marking Text
6808 @comment node-name, next, previous, up 6823 @comment node-name, next, previous, up
6809 @section Emphasizing Text 6824 @section Emphasizing Text
6810 @cindex Emphasizing text 6825 @cindex Emphasizing text
9634 centimeter (2.54cm = 1in) 9649 centimeter (2.54cm = 1in)
9635 @item mm 9650 @item mm
9636 @cindex Millimeters 9651 @cindex Millimeters
9637 millimeter (10mm = 1cm) 9652 millimeter (10mm = 1cm)
9638 @item dd 9653 @item dd
9639 @cindex Did\^ot points 9654 @cindex Did@^ot points
9640 did\^ot point (1157dd = 1238pt) 9655 did@^ot point (1157dd = 1238pt)
9641 @item cc 9656 @item cc
9642 @cindex Ciceros 9657 @cindex Ciceros
9643 cicero (1cc = 12dd) 9658 cicero (1cc = 12dd)
9644 @item sp 9659 @item sp
9645 @cindex Scaled points 9660 @cindex Scaled points
13905 13920
13906 @item @@dots@{@} 13921 @item @@dots@{@}
13907 Insert an ellipsis: @samp{@dots{}}. 13922 Insert an ellipsis: @samp{@dots{}}.
13908 @xref{dots, , @code{@@dots}}.@refill 13923 @xref{dots, , @code{@@dots}}.@refill
13909 13924
13910 @item @@email@{@var{address}@} 13925 @item @@email@{@var{address}[, @var{displayed-text}]@}
13911 Indicate an electronic mail address. 13926 Indicate an electronic mail address.
13912 @xref{email, , @code{@@email}}.@refill 13927 @xref{email, , @code{@@email}}.@refill
13913 13928
13914 @need 100 13929 @need 100
13915 @item @@emph@{@var{text}@} 13930 @item @@emph@{@var{text}@}
13916 Highlight @var{text}; text is displayed in @emph{italics} in printed 13931 Highlight @var{text}; text is displayed in @emph{italics} in printed
13917 output, and surrounded by asterisks in Info. @xref{Emphasis, , Emphasizing Text}.@refill 13932 output, and surrounded by asterisks in Info. @xref{Emphasis, ,
13933 Emphasizing Text}.
13918 13934
13919 @item @@end @var{environment} 13935 @item @@end @var{environment}
13920 Ends @var{environment}, as in @samp{@@end example}. @xref{Formatting 13936 Ends @var{environment}, as in @samp{@@end example}. @xref{Formatting
13921 Commands,,@@-commands}. 13937 Commands,,@@-commands}.
13922 13938
15888 For finding problems with the structure of nodes and chapters, you can use 15904 For finding problems with the structure of nodes and chapters, you can use
15889 @kbd{C-c C-s} (@code{texinfo-show-structure}) and the related @code{occur} 15905 @kbd{C-c C-s} (@code{texinfo-show-structure}) and the related @code{occur}
15890 command and you can use the @kbd{M-x Info-validate} command.@refill 15906 command and you can use the @kbd{M-x Info-validate} command.@refill
15891 15907
15892 @menu 15908 @menu
15893 * makeinfo preferred:: @code{makeinfo} finds errors. 15909 * makeinfo Preferred:: @code{makeinfo} finds errors.
15894 * Debugging with Info:: How to catch errors with Info formatting. 15910 * Debugging with Info:: How to catch errors with Info formatting.
15895 * Debugging with TeX:: How to catch errors with @TeX{} formatting. 15911 * Debugging with TeX:: How to catch errors with @TeX{} formatting.
15896 * Using texinfo-show-structure:: How to use @code{texinfo-show-structure}. 15912 * Using texinfo-show-structure:: How to use @code{texinfo-show-structure}.
15897 * Using occur:: How to list all lines containing a pattern. 15913 * Using occur:: How to list all lines containing a pattern.
15898 * Running Info-Validate:: How to find badly referenced nodes. 15914 * Running Info-Validate:: How to find badly referenced nodes.
15899 @end menu 15915 @end menu
15900 15916
15901 @node makeinfo preferred, Debugging with Info, Catching Mistakes, Catching Mistakes 15917 @node makeinfo Preferred, Debugging with Info, Catching Mistakes, Catching Mistakes
15902 @ifinfo 15918 @ifinfo
15903 @heading @code{makeinfo} Find Errors 15919 @heading @code{makeinfo} Find Errors
15904 @end ifinfo 15920 @end ifinfo
15905 15921
15906 The @code{makeinfo} program does an excellent job of catching errors 15922 The @code{makeinfo} program does an excellent job of catching errors
15915 @code{makeinfo-buffer}) to format your file and check for other 15931 @code{makeinfo-buffer}) to format your file and check for other
15916 errors. This is the best way to work with Texinfo. But if you 15932 errors. This is the best way to work with Texinfo. But if you
15917 cannot use @code{makeinfo}, or your problem is very puzzling, then you 15933 cannot use @code{makeinfo}, or your problem is very puzzling, then you
15918 may want to use the tools described in this appendix.@refill 15934 may want to use the tools described in this appendix.@refill
15919 15935
15920 @node Debugging with Info, Debugging with TeX, makeinfo preferred, Catching Mistakes 15936 @node Debugging with Info, Debugging with TeX, makeinfo Preferred, Catching Mistakes
15921 @comment node-name, next, previous, up 15937 @comment node-name, next, previous, up
15922 @appendixsec Catching Errors with Info Formatting 15938 @appendixsec Catching Errors with Info Formatting
15923 @cindex Catching errors with Info formatting 15939 @cindex Catching errors with Info formatting
15924 @cindex Debugging with Info formatting 15940 @cindex Debugging with Info formatting
15925 15941