home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Professional / OS2PRO194.ISO / os2 / prgramer / unix / info / texinfo.i02 (.txt) < prev    next >
GNU Info File  |  1993-06-12  |  52KB  |  968 lines

  1. This is Info file texinfo, produced by Makeinfo-1.47 from the input
  2. file texinfo2.tex.
  3.    This file documents Texinfo, a documentation system that uses a
  4. single source file to produce both on-line information and a printed
  5. manual.
  6.    Copyright (C) 1988, 1990, 1991, 1992 Free Software Foundation, Inc.
  7.    This is the second edition of the Texinfo documentation,
  8. and is consistent with version 2 of `texinfo.tex'.
  9.    Permission is granted to make and distribute verbatim copies of this
  10. manual provided the copyright notice and this permission notice are
  11. preserved on all copies.
  12.    Permission is granted to copy and distribute modified versions of
  13. this manual under the conditions for verbatim copying, provided that
  14. the entire resulting derived work is distributed under the terms of a
  15. permission notice identical to this one.
  16.    Permission is granted to copy and distribute translations of this
  17. manual into another language, under the above conditions for modified
  18. versions, except that this permission notice may be stated in a
  19. translation approved by the Foundation.
  20. File: texinfo,  Node: Texinfo Mode Overview,  Next: Emacs Editing,  Up: Texinfo Mode
  21. Texinfo Mode Overview
  22. =====================
  23.    Texinfo mode provides special features for working with Texinfo
  24. files:
  25.    * Insert frequently used @commands.
  26.    * Automatically create `@node' lines.
  27.    * Show the structure of a Texinfo source file.
  28.    * Automatically create or update the `Next',
  29.      `Previous', and `Up' pointers of a node.
  30.    * Automatically create or update menus.
  31.    * Automatically create a master menu.
  32.    * Format a part or all of a file for Info.
  33.    * Typeset and print part or all of a file.
  34.    Perhaps the two most helpful features are those for inserting
  35. frequently used @-commands and for creating node pointers and menus.
  36. File: texinfo,  Node: Emacs Editing,  Next: Inserting,  Prev: Texinfo Mode Overview,  Up: Texinfo Mode
  37. The Usual GNU Emacs Editing Commands
  38. ====================================
  39.    In most cases, the usual Text mode commands work the same in Texinfo
  40. mode as they do in Text mode.  Texinfo mode adds new editing commands
  41. and tools to GNU Emacs' general purpose editing features.  The major
  42. difference concerns filling.  In Texinfo mode, the paragraph separation
  43. variable and syntax table are redefined so that Texinfo commands that
  44. should be on lines of their own are not inadvertently included in
  45. paragraphs.  Thus, the `M-q' (`fill-paragraph') command will refill a
  46. paragraph but not mix an indexing command on a line adjacent to it into
  47. the paragraph.
  48.    In addition, Texinfo mode sets the `page-delimiter' variable to the
  49. value of `texinfo-chapter-level-regexp'; by default, this is a regular
  50. expression matching the commands for chapters and their equivalents,
  51. such as appendices.  With this value for the page delimiter, you can
  52. jump from chapter title to chapter title with the `C-x ]'
  53. (`forward-page') and `C-x [' (`backward-page') commands and narrow to a
  54. chapter with the `C-x p' (`narrow-to-page') command.  (*Note Pages:
  55. (emacs)Pages, for details about the page commands.)
  56.    You may name a Texinfo file however you wish, but the convention is
  57. to end a Texinfo file name with one of the three extensions `.texinfo',
  58. `.texi', or `.tex'.  A longer extension is preferred, since it is
  59. explicit, but a shorter extension may be necessary for operating
  60. systems that limit the length of file names. GNU Emacs automatically
  61. enters Texinfo mode when you visit a file with a `.texinfo' or  `.texi'
  62. extension.  Also, Emacs switches to Texinfo mode when you visit a file
  63. that has `-*-texinfo-*-' in its first line.  If ever you are in another
  64. mode and wish to switch to Texinfo mode, type `M-x texinfo-mode'.
  65.    Like all other Emacs features, you can customize or enhance Texinfo
  66. mode as you wish.  In particular, the keybindings are very easy to
  67. change.  The keybindings described here are the default or standard
  68. ones.
  69. File: texinfo,  Node: Inserting,  Next: Showing the Structure,  Prev: Emacs Editing,  Up: Texinfo Mode
  70. Inserting Frequently Used Commands
  71. ==================================
  72.    Texinfo mode provides commands to insert various frequently used
  73. @-commands into the buffer.  You can use these commands to save
  74. keystrokes.
  75.    The insert commands are invoked by typing `C-c' twice and then the
  76. first letter of the @-command:
  77. `C-c C-c c'
  78. `M-x texinfo-insert-@code'
  79.      Insert `@code{}' and put the cursor between the braces.
  80. `C-c C-c d'
  81. `M-x texinfo-insert-@dfn'
  82.      Insert `@dfn{}' and put the cursor between the braces.
  83. `C-c C-c e'
  84. `M-x texinfo-insert-@end'
  85.      Insert `@end' and attempt to insert the correct following word,
  86.      such as `example' or `table'.  (This command does not handle
  87.      nested lists correctly, but inserts the word appropriate to the
  88.      immediately preceding list.)
  89. `C-c C-c i'
  90. `M-x texinfo-insert-@item'
  91.      Insert `@item' and put the cursor at the beginning of the next
  92.      line.
  93. `C-c C-c k'
  94. `M-x texinfo-insert-@kbd'
  95.      Insert `@kbd{}' and put the cursor between the braces.
  96. `C-c C-c n'
  97. `M-x texinfo-insert-@node'
  98.      Insert `@node' and a comment line listing the sequence for the
  99.      `Next', `Previous', and `Up' nodes. Leave point after the `@node'.
  100. `C-c C-c o'
  101. `M-x texinfo-insert-@noindent'
  102.      Insert `@noindent' and put the cursor at the beginning of the next
  103.      line.
  104. `C-c C-c s'
  105. `M-x texinfo-insert-@samp'
  106.      Insert `@samp{}' and put the cursor between the braces.
  107. `C-c C-c t'
  108. `M-x texinfo-insert-@table'
  109.      Insert `@table' followed by a SPC and leave the cursor after the
  110.      SPC.
  111. `C-c C-c v'
  112. `M-x texinfo-insert-@var'
  113.      Insert `@var{}' and put the cursor between the braces.
  114. `C-c C-c x'
  115. `M-x texinfo-insert-@example'
  116.      Insert `@example' and put the cursor at the beginning of the next
  117.      line.
  118. `C-c C-c {'
  119. `M-x texinfo-insert-braces'
  120.      Insert `{}' and put the cursor between the braces.
  121. `C-c C-c }'
  122. `C-c C-c ]'
  123. `M-x up-list'
  124.      Move from between a pair of braces forward past the closing brace.
  125.      Typing `C-c C-c ]' is easier than typing `C-c C-c }', which is,
  126.      however, more mnemonic; hence the two keybindings.  (Also, you can
  127.      move out from between braces by typing `C-f'.)
  128.    To put a command such as `@code{...}' around an *existing* word,
  129. position the cursor in front of the word and type `C-u 1 C-c C-c c'. 
  130. This makes it easy to edit existing plain text. The value of the prefix
  131. argument tells Emacs how many words following point to include between
  132. braces--1 for one word, 2 for two words, and so on.  Use a negative
  133. argument to enclose the previous word or words. If you do not specify a
  134. prefix argument, Emacs inserts the @-command string and positions the
  135. cursor between the braces.  This feature works only for those
  136. @-commands that operates on a word or words within one line, such as
  137. `@kbd' and `@var'.
  138.    This set of insert commands was created after analyzing the frequency
  139. with which different @-commands are used in the `GNU Emacs Manual' and
  140. the `GDB Manual'.  If you wish to add your own insert commands, you can
  141. bind a keyboard macro to a key, use abbreviations, or extend the code
  142. in `texinfo.el'.
  143. File: texinfo,  Node: Showing the Structure,  Next: Updating Nodes and Menus,  Prev: Inserting,  Up: Texinfo Mode
  144. Showing the Section Structure of a File
  145. =======================================
  146.    You can show the section structure of a Texinfo file by using the
  147. `C-c C-s' command (`texinfo-show-structure').  This command shows the
  148. section structure of a Texinfo file by listing the lines that begin
  149. with the @-commands for `@chapter', `@section', and the like.  The
  150. command constructs what amounts to a table of contents.  These lines
  151. are displayed in another buffer called the `*Occur*' buffer.  In that
  152. buffer, you can position the cursor over one of the lines and use the
  153. `C-c C-c' command (`occur-mode-goto-occurrence'), to jump to the
  154. corresponding spot in the Texinfo file.
  155. `C-c C-s'
  156. `M-x texinfo-show-structure'
  157.      Show the `@chapter', `@section', and such lines of a Texinfo file.
  158. `C-c C-c'
  159. `M-x occur-mode-goto-occurrence'
  160.      Go to the line in the Texinfo file corresponding to the line under
  161.      the cursor in the `*Occur*' buffer.
  162.    If you call `texinfo-show-structure' with a prefix argument by
  163. typing `C-u C-c C-s', it will list not only those lines with the
  164. @-commands for `@chapter', `@section', and the like, but also the
  165. `@node' lines.  (This is how the `texinfo-show-structure' command
  166. worked without an argument in the first version of Texinfo.  It was
  167. changed because `@node' lines clutter up the `*Occur*' buffer and are
  168. usually not needed.)  You can use `texinfo-show-structure' with a prefix
  169. argument to check whether the `Next', `Previous', and `Up' pointers of
  170. an `@node' line are correct.
  171.    Often, when you are working on a manual, you will be interested only
  172. in the structure of the current chapter.  In this case, you can mark
  173. off the region of the buffer that you are interested in with the `C-x
  174. n' (`narrow-to-region') command and `texinfo-show-structure' will work
  175. on only that region.  To see the whole buffer again, use `C-x w'
  176. (`widen'). (*Note Narrowing: (emacs)Narrowing, for more information
  177. about the narrowing commands.)
  178.    In addition to providing the `texinfo-show-structure' command,
  179. Texinfo mode sets the value of the page delimiter variable to match the
  180. chapter-level @-commands.  This enables you to use the `C-x ]'
  181. (`forward-page') and `C-x [' (`backward-page') commands to move forward
  182. and backward by chapter, and to use the `C-x p' (`narrow-to-page')
  183. command to narrow to a chapter. *Note Pages: (emacs)Pages, for more
  184. information about the page commands.
  185. File: texinfo,  Node: Updating Nodes and Menus,  Next: Info Formatting,  Prev: Showing the Structure,  Up: Texinfo Mode
  186. Updating Nodes and Menus
  187. ========================
  188.    Texinfo mode provides commands for automatically creating or updating
  189. menus and node pointers.  The commands are called "update" commands
  190. because their most frequent use is for updating a Texinfo file after
  191. you have worked on it; but you can use them to insert the `Next',
  192. `Previous', and `Up' pointers into an `@node' line that has none and to
  193. create menus in a file that has none.
  194.    If you do not use the updating commands, you need to write menus and
  195. node pointers by hand, which is a tedious task.
  196. * Menu:
  197. * Updating Commands::           Five major updating commands.
  198. * Updating Requirements::       How to structure a Texinfo file for
  199.                                   using the updating command.
  200. * Other Updating Commands::     How to indent descriptions, insert
  201.                                   missing nodes lines, and update
  202.                                   nodes in sequence.
  203. File: texinfo,  Node: Updating Commands,  Next: Updating Requirements,  Up: Updating Nodes and Menus
  204. The Updating Commands
  205. ---------------------
  206.    You can use the updating commands
  207.    * to insert or update the `Next', `Previous', and `Up' pointers of a
  208.      node,
  209.    * to insert or update the menu for a section, and
  210.    * to create a master menu for a Texinfo source file.
  211.    You can also use the commands to update all the nodes and menus in a
  212. region or in a whole Texinfo file.
  213.    The updating commands work only with conventional Texinfo files,
  214. which are structured hierarchically like books.  In such files, a
  215. structuring command line must follow closely after each `@node' line,
  216. except for the `Top' `@node' line.  (A "structuring command line" is a
  217. line beginning with `@chapter', `@section', or other similar command.)
  218.    You can write the structuring command line on the line that follows
  219. immediately after an `@node' line or else on the line that follows
  220. after a single `@comment' line or a single `@ifinfo' line.  You cannot
  221. interpose more than one line between the `@node' line and the
  222. structuring command line; and you may interpose only an `@comment' line
  223. or an `@ifinfo' line.
  224.    Commands which work on a whole buffer require that the `Top' node be
  225. followed by a node with an `@chapter' or equivalent-level command. Note
  226. that the menu updating commands will not create a main or master menu
  227. for a Texinfo file that has only `@chapter'-level nodes!  The menu
  228. updating commands only create menus *within* nodes for lower level
  229. nodes.  To create a menu of chapters, you must provide a `Top' node.
  230.    The menu updating commands remove menu entries that refer to other
  231. Info files since they do not refer to nodes within the current buffer. 
  232. This is a deficiency.  Rather than use menu entries, you can use cross
  233. references to refer to other Info files.  None of the updating commands
  234. affect cross references.
  235.    Texinfo mode has five updating commands that are used most often: two
  236. are for updating the node pointers or menu of a single node (or a
  237. region); two are for updating every node pointer and menu in a file;
  238. and one, the `texinfo-master-menu' command, is for creating a master
  239. menu for a complete file, and optionally, for updating every node and
  240. menu in the whole Texinfo file.
  241.    The `texinfo-master-menu' command is the primary command:
  242. `C-c C-u m'
  243. `M-x texinfo-master-menu'
  244.      Create or update a master menu that includes all the other menus
  245.      (incorporating the descriptions from pre-existing menus, if any).
  246.      With an argument (prefix argument, `C-u,' if interactive), first
  247.      create or update all the nodes and all the regular menus in the
  248.      buffer before constructing the master menu.  (*Note The Top Node
  249.      and Master Menu: The Top Node, for more about a master menu.)
  250.      For `texinfo-master-menu' to work, the Texinfo file must have a
  251.      `Top' node and at least one subsequent node.
  252.      After extensively editing a Texinfo file, you can type the
  253.      following:
  254.           C-u M-x texinfo-master-menu
  255.      or
  256.           C-u C-c C-u m
  257.      This updates all the nodes and menus completely and all at once.
  258.    The other major updating commands do smaller jobs and are designed
  259. for the person  who updates nodes and menus as he or she writes a
  260. Texinfo file.
  261.    The commands are:
  262. `C-c C-u C-n'
  263. `M-x texinfo-update-node'
  264.      Insert the `Next', `Previous', and `Up' pointers for the node that
  265.      point is within (i.e., for the `@node' line preceding point).  If
  266.      the `@node' line has pre-existing `Next', `Previous', or `Up'
  267.      pointers in it, the old pointers are removed and new ones inserted.
  268.      With an argument (prefix argument, `C-u', if interactive), this
  269.      command updates all `@node' lines in the region (which is the text
  270.      between point and mark).
  271. `C-c C-u C-m'
  272. `M-x texinfo-make-menu'
  273.      Create or update the menu in the node that point is within. With
  274.      an argument (`C-u' as prefix argument, if interactive), the
  275.      command makes or updates menus for the nodes which are either
  276.      within or a part of the region.
  277.      Whenever `texinfo-make-menu' updates an existing menu, the
  278.      descriptions from that menu are incorporated into the new menu. 
  279.      This is done by copying descriptions from the existing menu to the
  280.      entries in the new menu that have the same node names.  If the
  281.      node names are different, the descriptions are not copied to the
  282.      new menu.
  283. `C-c C-u C-e'
  284. `M-x texinfo-every-node-update'
  285.      Insert or update the `Next', `Previous', and `Up' pointers for
  286.      every node in the buffer.
  287. `C-c C-u C-a'
  288. `M-x texinfo-all-menus-update'
  289.      Create or update all the menus in the buffer.  With an argument
  290.      (`C-u' as prefix argument, if interactive), first insert or update
  291.      all the node pointers before working on the menus.
  292.      If a master menu exists, the `texinfo-all-menus-update' command
  293.      updates it; but the command does not create a new master menu if
  294.      none already exists.  (Use the `texinfo-master-menu' command for
  295.      that.)
  296.      When working on a document that does not merit a master menu, you
  297.      can type the following:
  298.           C-u C-c C-u C-a
  299.      or
  300.           C-u M-x texinfo-all-menus-update
  301.      This updates all the nodes and menus.
  302.    The `texinfo-column-for-description' variable specifies the column
  303. to which menu descriptions are indented.  By default, the value is 32
  304. although it is often useful to reduce it to as low as 24.  You can set
  305. the variable with the `M-x edit-options' command (*note Editing
  306. Variable Values: (emacs)Edit Options.) or with the `M-x set-variable'
  307. command (*note Examining and Setting Variables: (emacs)Examining.).
  308.    Also, the `texinfo-indent-menu-description' command may be used to
  309. indent existing menu descriptions to a specified column.  Finally, if
  310. you wish, you can use the `texinfo-insert-node-lines' command to insert
  311. missing `@node' lines into a file.  (*Note Other Updating Commands::,
  312. for more information.)
  313. File: texinfo,  Node: Updating Requirements,  Next: Other Updating Commands,  Prev: Updating Commands,  Up: Updating Nodes and Menus
  314. Updating Requirements
  315. ---------------------
  316.    To use the updating commands, you must organize the Texinfo file
  317. hierarchically with chapters, sections, subsections, and the like. When
  318. you construct the hierarchy of the manual, do not `jump down' more than
  319. one level at a time: you can follow the `Top' node with a chapter, but
  320. not with a section; you can follow a chapter with a section, but not
  321. with a subsection.  However, you may `jump up' any number of levels at
  322. one time--for example, from a subsection to a chapter.
  323.    Each `@node' line, with the exception of the line for the `Top'
  324. node, must be followed by a line with a structuring command such as
  325. `@chapter', `@section', or `@unnumberedsubsec'.
  326.    Each `@node' line/structuring-command line combination must look
  327. either like this:
  328.      @node     Comments,  Minimum, Conventions, Overview
  329.      @comment  node-name, next,    previous,    up
  330.      @section Comments
  331.    or like this (without the `@comment' line):
  332.      @node Comments, Minimum, Conventions, Overview
  333.      @section Comments
  334. In this example, `Comments' is the name of both the node and the
  335. section.  The next node is called `Minimum' and the previous node is
  336. called `Conventions'.  The `Comments' section is within the `Overview'
  337. node, which is specified by the `Up' pointer.  (Instead of an
  338. `@comment' line, you can write an `@ifinfo' line.)
  339.    If a file has a `Top' node, it must be called `top' or `Top' and be
  340. the first node in the file.
  341.    The menu updating commands create a menu of sections within a
  342. chapter, a menu of subsections within a section, and so on.  This means
  343. that you must have a `Top' node if you want a menu of chapters.
  344.    Incidentally, the `makeinfo' command will create an Info file for a
  345. hierarchically organized Texinfo file that lacks `Next', `Previous' and
  346. `Up' pointers.  Thus, if you can be sure that your Texinfo file will be
  347. formatted with `makeinfo', you have no need for the `update node'
  348. commands.  (*Note Creating an Info File: Create an Info File, for more
  349. information about `makeinfo'.)  However, both `makeinfo' and the
  350. `texinfo-format-...' commands require that you insert menus in the file.
  351. File: texinfo,  Node: Other Updating Commands,  Prev: Updating Requirements,  Up: Updating Nodes and Menus
  352. Other Updating Commands
  353. -----------------------
  354.    In addition to the five major updating commands, Texinfo mode
  355. possesses several less frequently used updating commands:
  356. `M-x texinfo-insert-node-lines'
  357.      Insert `@node' lines before the `@chapter', `@section', and other
  358.      sectioning commands wherever they are missing throughout a region
  359.      in a Texinfo file.
  360.      With an argument (`C-u' as prefix argument, if interactive), the
  361.      `texinfo-insert-node-lines' command not only inserts `@node' lines
  362.      but also inserts the chapter or section titles as the names of the
  363.      corresponding nodes.  In addition, it inserts the titles as node
  364.      names in pre-existing `@node' lines that lack names.  Since node
  365.      names should be more concise than section or chapter titles, you
  366.      must manually edit node names so inserted.
  367.      For example, the following marks a whole buffer as a region and
  368.      inserts `@node' lines and titles throughout:
  369.           C-x h C-u M-x texinfo-insert-node-lines
  370. `M-x texinfo-multiple-files-update'
  371.      Update nodes and menus in a document built from several separate
  372.      files. With `C-u' as a prefix argument, create and insert a master
  373.      menu in the outer file.  With `C-u 2' as a numeric prefix
  374.      argument, first update all the menus and all the `Next',
  375.      `Previous', and `Up' pointers of all the included files before
  376.      creating and inserting a master menu in the outer file.  The
  377.      `texinfo-multiple-files-update' command is described in the
  378.      appendix on `@include' files. *Note 
  379.      `texinfo-multiple-files-update': texinfo-multiple-files-update.
  380. `M-x texinfo-indent-menu-description'
  381.      Indent every description in the menu following point to the
  382.      specified column.  You can use this command to give yourself more
  383.      space for descriptions.  With an argument (`C-u' as prefix
  384.      argument, if interactive), the `texinfo-indent-menu-description'
  385.      command indents every description in every menu in the region. 
  386.      However, this command does not indent the second and subsequent
  387.      lines of a multi-line description.
  388. `M-x texinfo-sequential-node-update'
  389.      Insert the names of the nodes immediately following and preceding
  390.      the current node as the `Next' or `Previous' pointers regardless
  391.      of those nodes' hierarchical level.  This means that the `Next'
  392.      node of a subsection may well be the next chapter.  Sequentially
  393.      ordered nodes are useful for novels and other documents that you
  394.      read through sequentially.  (However, in Info, the `g* RET'
  395.      command lets you look through the file sequentially, so
  396.      sequentially ordered nodes are not strictly necessary.)  With an
  397.      argument (prefix argument, if interactive), the
  398.      `texinfo-sequential-node-update' command sequentially updates all
  399.      the nodes in the region.
  400. File: texinfo,  Node: Info Formatting,  Next: Printing,  Prev: Updating Nodes and Menus,  Up: Texinfo Mode
  401. Formatting for Info
  402. ===================
  403.    Texinfo mode provides several commands for formatting part or all of
  404. a Texinfo file for Info.  Often, when you are writing a document, you
  405. want to format only part of a file--that is, a region.
  406.    You can use either the `texinfo-format-region' or the
  407. `makeinfo-region' command to format a region:
  408. `C-c C-e C-r'
  409. `M-x texinfo-format-region'
  410. `C-c C-m C-r'
  411. `M-x makeinfo-region'
  412.      Format the current region for Info.
  413.    You can use either the `texinfo-format-buffer' or the
  414. `makeinfo-buffer' command to format a whole buffer:
  415. `C-c C-e C-b'
  416. `M-x texinfo-format-buffer'
  417. `C-c C-m C-b'
  418. `M-x makeinfo-buffer'
  419.      Format the current buffer for Info.
  420.      For example, after writing a Texinfo file, you can type the
  421.      following:
  422.           C-u C-c C-u m
  423.      or
  424.           C-u M-x texinfo-master-menu
  425.      This updates all the nodes and menus.  Then type the following to
  426.      create an Info file:
  427.           C-c C-m C-b
  428.      or
  429.           M-x makeinfo-buffer
  430.    For the Info formatting commands to work, the file *must* include a
  431. line that has `@setfilename' in its header.
  432.    Not all systems support the `makeinfo'-based formatting commands.
  433.    *Note Create an Info File::, for details about Info formatting.
  434. File: texinfo,  Node: Printing,  Next: Texinfo Mode Summary,  Prev: Info Formatting,  Up: Texinfo Mode
  435. Formatting and Printing
  436. =======================
  437.    Typesetting and printing a Texinfo file is a multi-step process in
  438. which you first create a file for printing (called a DVI file), and
  439. then print the file.  Optionally, you may also create indices.  To do
  440. this, you must run the `texindex' command after first running the `tex'
  441. command; and then you must run the `tex' command again.
  442.    Often, when you are writing a document, you want to typeset and print
  443. only part of a file to see what it will look like.  You can use the
  444. `texinfo-tex-region' and related commands for this purpose.  Use the
  445. `texinfo-tex-buffer' command to format all of a buffer.
  446. `C-c C-t C-r'
  447. `M-x texinfo-tex-region'
  448.      Run TeX on the region.
  449. `C-c C-t C-b'
  450. `M-x texinfo-tex-buffer'
  451.      Run TeX on the buffer.
  452. `C-c C-t C-i'
  453. `M-x texinfo-texindex'
  454.      Run `texindex' to sort the indices of a Texinfo file formatted with
  455.      `texinfo-tex-region' or `texinfo-tex-buffer'.  You must run the
  456.      `tex' command a second time after sorting the raw index files.
  457. `C-c C-t C-p'
  458. `M-x texinfo-tex-print'
  459.      Print the file (or the part of the file) previously formatted with
  460.      `texinfo-tex-buffer' or `texinfo-tex-region'.
  461. For `texinfo-tex-region' or `texinfo-tex-buffer' to work, the file
  462. *must* start with a `\input texinfo' line and must include an
  463. `@settitle' line.  The file must end with `@bye' on a line by itself. 
  464. (When you use `texinfo-tex-region', you must surround the `@settitle'
  465. line with start-of-header and end-of-header lines.)
  466.    *Note Format/Print Hardcopy::, for a description of the other TeX
  467. related commands, such as `tex-show-print-queue'.
  468. File: texinfo,  Node: Texinfo Mode Summary,  Prev: Printing,  Up: Texinfo Mode
  469. Texinfo Mode Summary
  470. ====================
  471.    In Texinfo mode, each set of commands has default keybindings that
  472. begin with the same keys.  All the commands that are custom-created for
  473. Texinfo mode begin with `C-c'.  The keys that follow are arranged
  474. mnemonically.
  475. Insert Commands
  476. ---------------
  477.    The insert commands are invoked by typing `C-c' twice and then the
  478. first letter of the @-command to be inserted.  (It might make more
  479. sense mnemonically to use `C-c C-i', for `custom insert', but `C-c C-c'
  480. is quick to type.)
  481.      C-c C-c c       Insert `@code'.
  482.      C-c C-c d       Insert `@dfn'.
  483.      C-c C-c e       Insert `@end'.
  484.      C-c C-c i       Insert `@item'.
  485.      C-c C-c n       Insert `@node'.
  486.      C-c C-c s       Insert `@samp'.
  487.      C-c C-c v       Insert `@var'.
  488.      C-c C-c {       Insert braces.
  489.      C-c C-c ]
  490.      C-c C-c }       Move out of enclosing braces.
  491. Show Structure
  492. --------------
  493.    The `texinfo-show-structure' command is often used within a narrowed
  494. region.
  495.      C-c C-s         List all the headings.
  496. The Master Update Command
  497. -------------------------
  498.    The `texinfo-master-menu' command creates a master menu; and can be
  499. used to update every node and menu in a file as well.
  500.      C-c C-u m
  501.      M-x texinfo-master-menu
  502.                      Create or update a master menu.
  503.      
  504.      C-u C-c C-u m
  505.                      With `C-u' as a prefix argument, first
  506.                      create or update all nodes and regular
  507.                      menus, and then create a master menu.
  508. Update Pointers
  509. ---------------
  510.    The update pointer commands are invoked by typing `C-c C-u' and then
  511. either `C-n' for `texinfo-update-node' or `C-e' for
  512. `texinfo-every-node-update'.
  513.      C-c C-u C-n     Update a node.
  514.      C-c C-u C-e     Update every node in the buffer.
  515. Update Menus
  516. ------------
  517.    Invoke the  update menu commands by typing `C-c C-u' and then either
  518. `C-m' for `texinfo-make-menu' or `C-a' for `texinfo-all-menus-update'. 
  519. To update both nodes and menus at the same time, precede `C-c C-u C-a'
  520. with `C-u'.
  521.      C-c C-u C-m     Make or update a menu.
  522.      
  523.      C-c C-u C-a     Make or update all
  524.                      menus in a buffer.
  525.      
  526.      C-u C-c C-u C-a With `C-u' as a prefix argument,
  527.                      first create or update all nodes and
  528.                      then create or update all menus.
  529. Format for Info
  530. ---------------
  531.    The Info formatting commands that are written in Emacs Lisp are
  532. invoked by typing `C-c C-e' and then either `C-r' for a region or `C-b'
  533. for the whole buffer.
  534.    The Info formatting commands that are written in C and based on the
  535. `makeinfo' program are invoked by typing `C-c C-m' and then either
  536. `C-r' for a region or `C-b' for the whole buffer.
  537. Use the `texinfo-format...' commands:
  538.      C-c C-e C-r     Format the region.
  539.      C-c C-e C-b     Format the buffer.
  540. Use `makeinfo':
  541.      C-c C-m C-r     Format the region.
  542.      C-c C-m C-b     Format the buffer.
  543.      C-c C-m C-l     Recenter the `makeinfo' output buffer.
  544.      C-c C-m C-k     Kill the `makeinfo' formatting job.
  545. Typeset and Print
  546. -----------------
  547.    The TeX typesetting and printing commands are invoked by typing `C-c
  548. C-t' and then another control command: `C-r' for `texinfo-tex-region',
  549. `C-b' for `texinfo-tex-buffer', and so on.
  550.      C-c C-t C-r     Run TeX on the region.
  551.      C-c C-t C-b     Run TeX on the buffer.
  552.      C-c C-t C-i     Run `texindex'.
  553.      C-c C-t C-p     Print the DVI file.
  554.      C-c C-t C-q     Show the print queue.
  555.      C-c C-t C-d     Delete a job from the print queue.
  556.      C-c C-t C-k     Kill the current TeX formatting job.
  557.      C-c C-t C-x     Quit a currently stopped TeX formatting job.
  558.      C-c C-t C-l     Recenter the output buffer.
  559. Other Updating Commands
  560. -----------------------
  561.    The `other updating commands' do not have standard keybindings
  562. because they are rarely used.
  563.      M-x texinfo-insert-node-lines
  564.                      Insert missing `@node' lines in region.
  565.                      With `C-u' as a prefix argument,
  566.                      use section titles as node names.
  567.      
  568.      M-x texinfo-multiple-files-update
  569.                      Update a multi-file document.
  570.                      With `C-u 2' as a prefix argument,
  571.                      create or update all nodes and menus
  572.                      in all included files first.
  573.      
  574.      M-x texinfo-indent-menu-description
  575.                      Indent descriptions.
  576.      
  577.      M-x texinfo-sequential-node-update
  578.                      Insert node pointers in strict sequence.
  579. File: texinfo,  Node: Beginning a File,  Next: Ending a File,  Prev: Texinfo Mode,  Up: Top
  580. Beginning a Texinfo File
  581. ************************
  582.    Certain pieces of information must be provided at the beginning of a
  583. Texinfo file, such as the name of the file and the title of the
  584. document.
  585. * Menu:
  586. * Four Parts::                  Four parts begin a Texinfo file.
  587. * Sample Beginning::            Here is a sample beginning for a Texinfo file.
  588. * Header::                      The very beginning of a Texinfo file.
  589. * Info Summary and Permissions::  Summary and copying permissions for Info.
  590. * Titlepage & Copyright Page::  Creating the title and copyright pages.
  591. * The Top Node::                Creating the `Top' node and master menu.
  592. * Software Copying Conditions::  Ensure that you and others continue to
  593.                                   have the right to use and share software.
  594. File: texinfo,  Node: Four Parts,  Next: Sample Beginning,  Up: Beginning a File
  595. Four Parts Begin a File
  596. =======================
  597.    Generally, the beginning of a Texinfo file has four parts:
  598.   1. The header, delimited by special comment lines, that includes the
  599.      commands for naming the Texinfo file and telling TeX what
  600.      definitions' file to use when processing the Texinfo file.
  601.   2. A short statement of what the file is about, with a copyright
  602.      notice and copying permissions.  This is enclosed in `@ifinfo' and
  603.      `@end ifinfo' commands so that the formatters place it only in the
  604.      Info file.
  605.   3. A title page and copyright page, with a copyright notice and
  606.      copying permissions.  This is enclosed between `@titlepage' and
  607.      `@end titlepage' commands.  The title and copyright page appear
  608.      only in the printed manual.
  609.   4. The `Top' node that contains a menu for the whole Info file.  The
  610.      contents of this node appear only in the Info file.
  611.    Also, optionally, you may include the copying conditions for a
  612. program and a warranty disclaimer.  The copying section will be
  613. followed by an introduction or else by the first chapter of the manual.
  614.    Since the copyright notice and copying permissions for the Texinfo
  615. document (in contrast to the copying permissions for a program) are in
  616. parts that appear only in the Info file or only in the printed manual,
  617. this information must be given twice.
  618. File: texinfo,  Node: Sample Beginning,  Next: Header,  Prev: Four Parts,  Up: Beginning a File
  619. Sample Texinfo File Beginning
  620. =============================
  621.    The following sample shows what is needed.
  622.      \input texinfo   @c -*-texinfo-*-
  623.      @c %**start of header
  624.      @setfilename NAME-OF-INFO-FILE
  625.      @settitle NAME-OF-MANUAL
  626.      @setchapternewpage odd
  627.      @c %**end of header
  628.      
  629.      @ifinfo
  630.      This file documents ...
  631.      
  632.      Copyright @copyright{} YEAR  COPYRIGHT-OWNER
  633.      
  634.      Permission is granted to ...
  635.      @end ifinfo
  636.      
  637.      @c  This title page illustrates only one of the
  638.      @c  two methods of forming a title page.
  639.      
  640.      @titlepage
  641.      @title NAME-OF-MANUAL-WHEN-PRINTED
  642.      @subtitle SUBTITLE-IF-ANY
  643.      @subtitle SECOND-SUBTITLE
  644.      @author AUTHOR
  645.      
  646.      @c  The following two commands
  647.      @c  start the copyright page.
  648.      @page
  649.      @vskip 0pt plus 1filll
  650.      Copyright @copyright{} YEAR COPYRIGHT-OWNER
  651.      
  652.      Published by ...
  653.      
  654.      Permission is granted to ...
  655.      @end titlepage
  656.      
  657.      @node Top, Overview, (dir), (dir)
  658.      
  659.      @ifinfo
  660.      This document describes ...
  661.      
  662.      This document applies to version ...
  663.      of the program named ...
  664.      @end ifinfo
  665.      
  666.      @menu
  667.      * Copying::          Your rights and freedoms.
  668.      * First Chapter::    Getting started ...
  669.      * Second Chapter::              ...
  670.        ...
  671.        ...
  672.      @end menu
  673.      
  674.      @node    First Chapter, Second Chapter, top,      top
  675.      @comment node-name,     next,           previous, up
  676.      @chapter First Chapter
  677.      @cindex Index entry for First Chapter
  678. File: texinfo,  Node: Header,  Next: Info Summary and Permissions,  Prev: Sample Beginning,  Up: Beginning a File
  679. The Texinfo File Header
  680. =======================
  681.    Texinfo files start with at least three lines that provide Info and
  682. TeX with necessary information.  These are the `\input texinfo' line,
  683. the `@settitle' line, and the `@setfilename' line.  If you want to run
  684. TeX on just a part of the Texinfo File, you must write the `@settitle'
  685. and `@setfilename' lines between start-of-header and end-of-header
  686. lines.
  687.    Thus, the beginning of a Texinfo file looks like this:
  688.      \input texinfo   @c -*-texinfo-*-
  689.      @setfilename sample.info
  690.      @settitle Sample Document
  691. or else like this:
  692.      \input texinfo   @c -*-texinfo-*-
  693.      @c %**start of header
  694.      @setfilename sample.info
  695.      @settitle Sample Document
  696.      @c %**end of header
  697. * Menu:
  698. * First Line::                  The first line of a Texinfo file.
  699. * Start of Header::             Formatting a region requires this.
  700. * setfilename::                 Tell Info the name of the Info file.
  701. * settitle::                    Create a title for the printed work.
  702. * setchapternewpage::           Start chapters on right-hand pages.
  703. * paragraphindent::             An option to specify paragraph indentation.
  704. * End of Header::               Formatting a region requires this.
  705. File: texinfo,  Node: First Line,  Next: Start of Header,  Up: Header
  706. The First Line of a Texinfo File
  707. --------------------------------
  708.    Every Texinfo file that is to be the top-level input to TeX must
  709. begin with a line that looks like this:
  710.      \input texinfo   @c -*-texinfo-*-
  711. This line serves two functions:
  712.   1. When the file is processed by TeX, the `\input texinfo' command
  713.      tells TeX to load the macros needed for processing a Texinfo file.
  714.      These are in a file called `texinfo.tex', which is usually located
  715.      in the `/usr/lib/tex/macros' directory.  TeX uses the backslash,
  716.      `\', to mark the beginning of a command, just as Texinfo uses `@'.
  717.       The `texinfo.tex' file causes the switch from `\' to `@'; before
  718.      the switch occurs, TeX requires `\', which is why it appears at
  719.      the beginning of the file.
  720.   2. When the file is edited in GNU Emacs, the `-*-texinfo-*-' mode
  721.      specification tells Emacs to use Texinfo mode.
  722. File: texinfo,  Node: Start of Header,  Next: setfilename,  Prev: First Line,  Up: Header
  723. Start of Header
  724. ---------------
  725.    You should write a start-of-header line on the second line of a
  726. Texinfo file.  Follow the start-of-header line with `@setfilename' and
  727. `@settitle' lines and, optionally, with other command lines, such as
  728. `@smallbook' or `@footnotestyle'; and then by an end-of-header line
  729. (*note End of Header::.).
  730.    With these lines, you can format part of a Texinfo file for Info or
  731. typeset part for printing.
  732.    A start-of-header line looks like this:
  733.      @c %**start of header
  734.    The odd string of characters, `%**', is to ensure that no other
  735. comment is accidentally taken for a start-of-header line.
  736. File: texinfo,  Node: setfilename,  Next: settitle,  Prev: Start of Header,  Up: Header
  737. `@setfilename'
  738. --------------
  739.    In order to be made into an Info file, a Texinfo file must contain a
  740. line that looks like this:
  741.      @setfilename INFO-FILE-NAME
  742. Write the `@setfilename' command at the beginning of a line and follow
  743. it on the same line by the Info file name.  Do not write anything else
  744. on the line; anything on the line after the command is considered part
  745. of the file name, including a comment.
  746.    The `@setfilename' line specifies the name of the Info file to be
  747. generated.  This name should be different from the name of the Texinfo
  748. file.  The convention is to write a name with a `.info' extension, to
  749. produce an Info file name such as `texinfo.info'.
  750.    Some operating systems cannot handle long file names.  You can run
  751. into a problem even when the file name you specify is itself short
  752. enough. This occurs because the Info formatters split a long Info file
  753. into short indirect subfiles, and name them by appending `-1', `-2',
  754. ..., `-10', `-11', and so on, to the original file name.  (*Note Tag
  755. Files and Split Files: Tag and Split Files.)  The subfile name
  756. `texinfo.info-10', for example, is too long for some systems; so the
  757. Info file name for this document is actually `texinfo' rather than
  758. `texinfo.info'.
  759.    The Info formatting commands ignore everything written before the
  760. `@setfilename' line, which is why the very first line of the file (the
  761. `\input' line) does not need to be commented out. The `@setfilename'
  762. line is ignored when you typeset a printed manual.
  763. File: texinfo,  Node: settitle,  Next: setchapternewpage,  Prev: setfilename,  Up: Header
  764. `@settitle'
  765. -----------
  766.    In order to be made into a printed manual, a Texinfo file must
  767. contain a line that looks like this:
  768.      @settitle TITLE
  769. Write the `@settitle' command at the beginning of a line and follow it
  770. on the same line by the title.  This tells TeX the title to use in a
  771. header or footer.  Do not write anything else on the line; anything on
  772. the line after the command is considered part of the title, including a
  773. comment.
  774.    Conventionally, TeX formats a Texinfo file for double-sided output
  775. so as to print the title in the left-hand (even-numbered) page headings
  776. and the current chapter titles in the right-hand (odd-numbered) page
  777. headings.  (TeX learns the title of each chapter from each `@chapter'
  778. command.)  Page footers are not printed.
  779.    Even if you are printing in a single-sided style, TeX looks for an
  780. `@settitle' command line, in case you include the manual title in the
  781. heading.
  782.    The `@settitle' command should precede everything that generates
  783. actual output in TeX.
  784.    Although the title in the `@settitle' command is usually the same as
  785. the title on the title page, it does not affect the title as it appears
  786. on the title page.  Thus, the two do not need not match exactly;  and
  787. the title in the `@settitle' command can be a shortened or expanded
  788. version of the title as it appears on the title page (*note
  789. `@titlepage': titlepage.).
  790.    TeX prints page headings only for that text that comes after the
  791. `@end titlepage' command in the Texinfo file, or that comes after an
  792. `@headings' command that turns on headings. (*Note The `@headings'
  793. Command: headings on off, for more information.)
  794.    You may, if you wish, create your own, customized headings and
  795. footings.  *Note Page Headings: Headings, for a detailed discussion of
  796. this process.
  797. File: texinfo,  Node: setchapternewpage,  Next: paragraphindent,  Prev: settitle,  Up: Header
  798. `@setchapternewpage'
  799. --------------------
  800.    In a book or a manual, text is usually printed on both sides of the
  801. paper, chapters start on right-hand pages, and right-hand pages have
  802. odd numbers.  But in short reports, text often is printed only on one
  803. side of the paper.  Also in short reports, chapters sometimes do not
  804. start on new pages, but are printed on the same page as the end of the
  805. preceding chapter, after a small amount of vertical whitespace.
  806.    You can use the `@setchapternewpage' command with various arguments
  807. to specify how TeX should start chapters and whether it should typeset
  808. pages for printing on one or both sides of the paper (single-sided or
  809. double-sided printing).
  810.    Write the `@setchapternewpage' command at the beginning of a line
  811. followed by its argument.
  812.    For example, you would write the following to cause each chapter to
  813. start on a fresh odd-numbered page:
  814.      @setchapternewpage odd
  815.    You can specify one of three alternatives with the
  816. `@setchapternewpage' command:
  817. `@setchapternewpage off'
  818.      Cause TeX to typeset a new chapter on the same page as the last
  819.      chapter, after skipping some vertical whitespace.  Also, cause TeX
  820.      to format page headers for single-sided printing. (You can
  821.      override the headers format with the `@headings double' command;
  822.      see *Note The `@headings' Command: headings on off.)
  823. `@setchapternewpage on'
  824.      Cause TeX to start new chapters on new pages and to typeset page
  825.      headers for single-sided printing.  This is the form most often
  826.      used for short reports.
  827.      This alternative is the default.
  828. `@setchapternewpage odd'
  829.      Cause TeX to start new chapters on new, odd-numbered pages
  830.      (right-handed pages) and to typeset for double-sided printing. 
  831.      This is the form most often used for books and manuals.
  832. Texinfo does not have an `@setchapternewpage even' command.
  833. (You can countermand or modify an `@setchapternewpage' command with an
  834. `@headings' command.  *Note The `@headings' Command: headings on off.)
  835.    At the beginning of a manual or book, pages are not numbered--for
  836. example, the title and copyright pages of a book are not numbered. By
  837. convention, table of contents pages are numbered with roman numerals
  838. and not in sequence with the rest of the document.
  839.    Since an Info file does not have pages, the `@setchapternewpage'
  840. command has no effect on it.
  841.    Usually, you do not write an `@setchapternewpage' command for
  842. single-sided printing, but accept the default which is to typeset for
  843. single-sided printing and to start new chapters on new pages.  Usually,
  844. you write an `@setchapternewpage odd' command for double-sided printing.
  845. File: texinfo,  Node: paragraphindent,  Next: End of Header,  Prev: setchapternewpage,  Up: Header
  846. Paragraph Indenting
  847. -------------------
  848.    The Info formatting commands may insert spaces at the beginning of
  849. the first line of each paragraph, thereby indenting that paragraph.  You
  850. can use the `@paragraphindent' command to specify the indentation. 
  851. Write an `@paragraphindent' command at the beginning of a line followed
  852. by either `asis' or a number.  The template is:
  853.      @paragraphindent INDENT
  854.    The Info formatting commands indent according to the value of INDENT:
  855.    * If the value of INDENT is `asis', the Info formatting commands do
  856.      not change the existing indentation.
  857.    * If the value of INDENT is 0, the Info formatting commands delete
  858.      existing indentation.
  859.    * If the value of INDENT is greater than 0, the Info formatting
  860.      commands indent the paragraph by that number of spaces.
  861.    The default value of INDENT is `asis'.
  862.    Write the `@paragraphindent' command before or shortly after the
  863. end-of-header line at the beginning of a Texinfo file.  (If you write
  864. the command between the start-of-header and end-of-header lines, the
  865. region formatting commands indent paragraphs as specified.)
  866.    A peculiarity of the `texinfo-format-buffer' and
  867. `texinfo-format-region' commands is that they do not indent (nor fill)
  868. paragraphs that contain `@w' or `@*' commands. *Note Refilling
  869. Paragraphs::, for a detailed description of what goes on.
  870. File: texinfo,  Node: End of Header,  Prev: paragraphindent,  Up: Header
  871. End of Header
  872. -------------
  873.    Follow the header lines with an end-of-header line. An end-of-header
  874. line looks like this:
  875.      @c %**end of header
  876.    If you include the `@setchapternewpage' command between the
  877. start-of-header and end-of-header lines, TeX will typeset a region as
  878. that command specifies.  Similarly, if you include an `@smallbook'
  879. command between the start-of-header and end-of-header lines, TeX will
  880. typeset a region in the "small" book format.
  881.    The reason for the odd string of characters (`%**') is so that the
  882. `texinfo-tex-region' command does not accidentally find something that
  883. it should not when it is looking for the header.
  884.    The start-of-header line and the end-of-header line are Texinfo mode
  885. variables that you can change.
  886. File: texinfo,  Node: Info Summary and Permissions,  Next: Titlepage & Copyright Page,  Prev: Header,  Up: Beginning a File
  887. Summary and Copying Permissions for Info
  888. ========================================
  889.    The title page and the copyright page appear only in the printed
  890. copy of the manual; therefore, the same information must be inserted in
  891. a section that appears only in the Info file.  This section usually
  892. contains a brief description of the contents of the Info file, a
  893. copyright notice, and copying permissions.
  894.    The copyright notice should read:
  895.      Copyright YEAR COPYRIGHT-OWNER
  896. and be put on a line by itself.
  897.    Standard text for the copyright permissions is contained in an
  898. appendix to this manual; see *Note `ifinfo' Copying Permissions: ifinfo
  899. Permissions, for the complete text.
  900.    The permissions text appears in an Info file *before* the first
  901. node.  This mean that a reader does *not* see this text when reading
  902. the file using Info, except when using the advanced Info command `g *'.
  903. File: texinfo,  Node: Titlepage & Copyright Page,  Next: The Top Node,  Prev: Info Summary and Permissions,  Up: Beginning a File
  904. The Title and Copyright Pages
  905. =============================
  906.    A manual's name and author are usually printed on a title page.
  907. Sometimes copyright information is printed on the title page as well;
  908. more often, copyright information is printed on the back of the title
  909. page.
  910.    The title and copyright pages appear in the printed manual, but not
  911. in the Info file.  Because of this, it is possible to use several
  912. slightly obscure TeX typesetting commands that cannot be used in an
  913. Info file. In addition, this part of the beginning of a Texinfo file
  914. contains the text of the copying permissions that will appear in the
  915. printed manual.
  916.    *Note Titlepage Copying Permissions: Titlepage Permissions, for the
  917. standard text for the copyright permissions.
  918. * Menu:
  919. * titlepage::                   Create a title for the printed document.
  920. * titlefont center sp::         The `@titlefont', `@center',
  921.                                   and `@sp' commands.
  922. * title subtitle author::       The `@title', `@subtitle',
  923.                                   and `@author' commands.
  924. * Copyright & Permissions::     How to write the copyright notice and
  925.                                   include copying permissions.
  926. * end titlepage::               Turn on page headings after the title and
  927.                                   copyright pages.
  928. * headings on off::             An option for turning headings on and off
  929.                                   and double or single sided printing.
  930. File: texinfo,  Node: titlepage,  Next: titlefont center sp,  Up: Titlepage & Copyright Page
  931. `@titlepage'
  932. ------------
  933.    Start the material for the title page and following copyright page
  934. with `@titlepage' on a line by itself and end it with `@end titlepage'
  935. on a line by itself.
  936.    The `@end titlepage' command starts a new page and turns on page
  937. numbering. (*Note Page Headings: Headings, for details about how to
  938. generate of page headings.)  All the material that you want to appear
  939. on unnumbered pages should be put between the `@titlepage' and `@end
  940. titlepage' commands.  By using the `@page' command you can force a page
  941. break within the region delineated by the `@titlepage' and `@end
  942. titlepage' commands and thereby create more than one unnumbered page. 
  943. This is how the copyright page is produced.  (The `@titlepage' command
  944. might perhaps have been better named the `@titleandadditionalpages'
  945. command, but that would have been rather long!)
  946.    When you write a manual about a computer program, you should write
  947. the version of the program to which the manual applies on the title
  948. page.  If the manual changes more frequently than the program or is
  949. independent of it, you should also include an edition number(1) for the
  950. manual.  This helps readers keep track of which manual is for which
  951. version of the program.  (The `Top' node should also contain this
  952. information; see *Note  `@top': makeinfo top.)
  953.    Texinfo provides two methods for creating a title page.  One method
  954. uses the `@titlefont', `@sp', and `@center' commands to generate a
  955. title page in which the words on the page are centered.
  956.    The second method uses the `@title', `@subtitle', and `@author'
  957. commands to create a title page with black rules under the title and
  958. author lines and the subtitle text set flush to the right hand side of
  959. the page.  With this method, you do not specify any of the actual
  960. formatting of the title page.  You specify the text you want, and
  961. Texinfo does the formatting.  You may use either method.
  962.    ---------- Footnotes ----------
  963.    (1)  We have found that it is helpful to refer to versions of
  964. manuals as `editions' and versions of programs as `versions';
  965. otherwise, we find we are liable to confuse each other in conversation
  966. by referring to both the documentation and the software with the same
  967. words.
  968.