home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Professional / OS2PRO194.ISO / os2 / prgramer / unix / info / texinfo.i04 (.txt) < prev    next >
GNU Info File  |  1993-06-12  |  52KB  |  989 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: makeinfo top command,  Next: Top Node Summary,  Prev: First Node,  Up: node
  21. The `@top' Sectioning Command
  22. -----------------------------
  23.    A special sectioning command, `@top', has been created for use with
  24. the `@node Top' line.  The `@top' sectioning command tells `makeinfo'
  25. that it marks the `Top' node in the file.  It provides the information
  26. that `makeinfo' needs to insert node pointers automatically.  Write the
  27. `@top' command at the beginning of the line immediately following the
  28. `@node Top' line.  Write the title on the remaining part of the same
  29. line as the `@top' command.
  30.    In Info, the `@top' sectioning command causes the title to appear on
  31. a line by itself, with a line of asterisks inserted underneath.
  32.    In TeX and `texinfo-format-buffer', the `@top' sectioning command is
  33. merely a synonym for `@unnumbered'. Neither of these formatters require
  34. an `@top' command, and do nothing special with it.  You can use
  35. `@chapter' or `@unnumbered' after the `@node Top' line when you use
  36. these formatters.  Also, you can use `@chapter' or `@unnumbered' when
  37. you use the Texinfo updating commands to create or update pointers and
  38. menus.
  39.    Whatever sectioning command follows an `@node Top' line, whether it
  40. be `@top' or `@chapter', the `@node Top' line and the immediately
  41. following line and any additional text must be enclosed between
  42. `@ifinfo' and `@end ifinfo' commands. (*Note Conditionals::.)  This
  43. prevents the title and the accompanying text from appearing in printed
  44. output.  Write the `@ifinfo' command before the `@node' line and write
  45. the `@end ifinfo' command after the `@top' or other sectioning command
  46. and after any additional text.  (You can write the `@end ifinfo'
  47. command after the `@end menu' command if you like.)
  48. File: texinfo,  Node: Top Node Summary,  Prev: makeinfo top command,  Up: node
  49. The `Top' Node Summary
  50. ----------------------
  51.    You can help readers by writing a summary in the `Top' node, after
  52. the `@top' line, before the main or master menu.  The summary should
  53. briefly describe the Info file.  You should also write the version
  54. number of the program to which the manual applies in this section.  This
  55. helps the reader keep track of which manual is for which version of the
  56. program.  If the manual changes more frequently than the program or is
  57. independent of it, you should also include an edition number for the
  58. manual.  (The title page should also contain this information: see
  59. *Note `@titlepage': titlepage.)
  60.    Put the whole of the `Top' node, including the `@top' sectioning
  61. command line if you have one, between `@ifinfo' and `@end ifinfo' so
  62. none of the text appears in the printed output (*note Conditionally
  63. Visible Text: Conditionals.).  (You may want to repeat the brief
  64. description from the `Top' node within `@iftex' ... `@end iftex' at the
  65. beginning of the first chapter, for those who read the printed manual.)
  66. File: texinfo,  Node: makeinfo Pointer Creation,  Prev: node,  Up: Nodes
  67. Creating Pointers with `makeinfo'
  68. =================================
  69.    The `makeinfo' program has a feature for automatically creating node
  70. pointers for a hierarchically organized file that lacks them.
  71.    When you take advantage of this feature, you do not need to write the
  72. `Next', `Previous', and `Up' pointers after the name of a node.
  73. However, you must write a sectioning command, such as `@chapter' or
  74. `@section', on the line immediately following each truncated `@node'
  75. line.  You cannot write a comment line after a node line; the section
  76. line must follow it immediately.
  77.    In addition, you must follow the `Top' `@node' line with a line
  78. beginning with `@top' to mark the `Top' node in the file. *Note `@top':
  79. makeinfo top.
  80.    Finally, you must write the name of each node (except for the `Top'
  81. node) in a menu that is one or more hierarchical levels above the
  82. node's hierarchical level.
  83.    This node pointer insertion feature in `makeinfo' is an alternative
  84. to the menu and pointer creation and update commands in Texinfo mode. 
  85. (*Note Updating Nodes and Menus::.)  It is especially helpful to people
  86. who do not use GNU Emacs for writing Texinfo documents.
  87. File: texinfo,  Node: Menus,  Next: Cross References,  Prev: Nodes,  Up: Top
  88. Menus
  89. *****
  90.    "Menus" contain pointers to subordinate nodes.(1) In Info, you use
  91. menus to go to such nodes.  Menus have no effect in printed manuals and
  92. do not appear in them.
  93.    By convention, a menu is put at the end of a node.  This way, it is
  94. easy for someone using Info to find the menu, using the `M->'
  95. (`end-of-buffer') command.
  96.    A node that has a menu should *not* contain much text.  If you have
  97. a lot of text and a menu, move most of the text into a new subnode--all
  98. but a few lines.
  99. * Menu:
  100. * Menu Location::               Put a menu in a short node.
  101. * Writing a Menu::              What is a menu?
  102. * Writing a Menu Entry::        How to write a menu entry.
  103. * Menu Example::                A menu example.
  104. * Other Info Files::            How to refer to a different Info file.
  105.    ---------- Footnotes ----------
  106.    (1)  Menus can carry you to any node, regardless of the hierarchical
  107. structure; even to nodes in a different Info file.  However, the GNU
  108. Emacs Texinfo mode updating commands work only to create menus of
  109. subordinate nodes. Conventionally, cross references are used to refer
  110. to other nodes.
  111. File: texinfo,  Node: Menu Location,  Next: Writing a Menu,  Up: Menus
  112. Menus Need Short Nodes
  113. ======================
  114.    A reader can easily see a menu that is close to the beginning of the
  115. node.  The node should be short.  As a practical matter, you should
  116. locate a menu within 20 lines of the beginning of the node. Otherwise,
  117. a reader with a terminal that displays only a few lines may miss the
  118. menu and its associated text.
  119.    The short text before a menu may look awkward in a printed manual. 
  120. To avoid this, you can write a menu near the beginning of its node and
  121. follow the menu by an `@node' line, and then an `@heading' line located
  122. within `@ifinfo' and `@end ifinfo'.  This way, the menu, `@node' line,
  123. and title appear only in the Info file, not the printed document.
  124.    For example, the preceding two paragraphs follow an Info-only menu,
  125. `@node' line, and heading, and look like this:
  126.      @menu
  127.      * Menu Location::               Put a menu in a short node.
  128.      * Menu Entry::                  How to write a menu entry.
  129.      * Menu Example::                A menu example.
  130.      @end menu
  131.      
  132.      @node Menu Location
  133.      @ifinfo
  134.      @heading Menus Need Short Nodes
  135.      @end ifinfo
  136.    The Texinfo file for this document contains more than a dozen other
  137. examples of this procedure.  One is at the beginning of this chapter;
  138. another is at the beginning of the "Cross References" chapter.
  139. File: texinfo,  Node: Writing a Menu,  Next: Writing a Menu Entry,  Prev: Menu Location,  Up: Menus
  140. Writing a Menu
  141. ==============
  142.    A menu consists of an `@menu' command on a line by itself followed
  143. by menu entry lines or menu comment lines and then by an `@end menu'
  144. command on a line by itself.
  145.    A menu looks like this:
  146.      @menu
  147.      Larger Units of Text
  148.      
  149.      * Files::                       All about handling files.
  150.      * Multiples: Buffers.           Multiple buffers; editing
  151.                                        several files at once.
  152.      @end menu
  153.    In a menu, every line that begins with an `* ' is a "menu entry". 
  154. (Note the space after the asterisk.)  A line that does not start with
  155. an `* ' may also appear in a menu.  Such a line is not a menu entry but
  156. is a menu comment line that appears in the Info file.  In the example
  157. above, the line `Larger Units of Text' is a menu comment line; the two
  158. lines starting with `* ' are menu entries.
  159. File: texinfo,  Node: Writing a Menu Entry,  Next: Menu Example,  Prev: Writing a Menu,  Up: Menus
  160. How to Write a Menu Entry
  161. =========================
  162.    A menu entry has three parts, only the second of which is required:
  163.   1. The menu entry name.
  164.   2. The name of the node.
  165.   3. A description of the item.
  166.    The template for a menu entry looks like this:
  167.      * MENU-ENTRY-NAME: NODE-NAME.   DESCRIPTION
  168.    Follow the menu entry name with a single colon and follow the node
  169. name with tab, comma, period, or newline.
  170.    In Info, a user selects a node with the `m' (`Info-menu') command. 
  171. The menu entry name is what the user types after the `m' command.
  172.    If the menu entry name and the node name are the same, you can write
  173. the name immediately after the asterisk and space at the beginning of
  174. the line and follow the name with two colons.
  175. For example, write
  176.      * Name::
  177. instead of
  178.      * Name: Name.
  179. You should use the node name for the menu entry name whenever possible,
  180. since it reduces visual clutter in the menu.
  181.    The third part of a menu entry is a short descriptive phrase or
  182. sentence.  Menu entry names and node names are often short; the
  183. description explains to the reader what the node is about.  The
  184. description, which is optional, can spread over two or more lines.  A
  185. useful description complements the node name rather than repeats it.
  186. File: texinfo,  Node: Menu Example,  Next: Other Info Files,  Prev: Writing a Menu Entry,  Up: Menus
  187. A Menu Example
  188. ==============
  189.    A menu looks like this in Texinfo:
  190.      @menu
  191.      * menu entry name: Node name.   A short description.
  192.      * Node name::                   This form is preferred.
  193.      @end menu
  194. This produces:
  195.      * menu:
  196.      
  197.      * menu entry name: Node name.   A short description.
  198.      * Node name::                   This form is preferred.
  199.    Here is an example as you might see it in a Texinfo file:
  200.      @menu
  201.      Larger Units of Text
  202.      
  203.      * Files::                       All about handling files.
  204.      * Multiples: Buffers.           Multiple buffers; editing
  205.                                        several files at once.
  206.      @end menu
  207. This produces:
  208.      * menu:
  209.      Larger Units of Text
  210.      
  211.      * Files::                       All about handling files.
  212.      * Multiples: Buffers.           Multiple buffers; editing
  213.                                        several files at once.
  214.    In this example, the menu has two entries.  `Files' is both a menu
  215. entry name and the name of the node referred to by that name.  In the
  216. other entry, `Multiples' is the menu entry name, and it refers to the
  217. node named `Buffers'.
  218.    Since no file name is specified with either `Files' or `Buffers',
  219. they must be the names of nodes in the same Info file. (*Note Referring
  220. to Other Info Files: Other Info Files.)
  221.    The line `Larger Units of Text' is a comment; it appears as part of
  222. the menu in Info, but is not a menu entry.
  223. File: texinfo,  Node: Other Info Files,  Prev: Menu Example,  Up: Menus
  224. Referring to Other Info Files
  225. =============================
  226.    You can create a menu entry that enables an reader in Info to go to a
  227. node in another Info file by writing the file name in parentheses just
  228. before the node name.  In this case, you should use the three-part menu
  229. entry format, which saves the reader from having to type the file name.
  230.    The format looks like this:
  231.      @menu
  232.      * FIRST-ENTRY-NAME:(FILENAME)NODENAME.     DESCRIPTION
  233.      * SECOND-ENTRY-NAME:(FILENAME)SECOND-NODE. DESCRIPTION
  234.      @end menu
  235.    For example, to refer directly to the `Outlining' and `Rebinding'
  236. nodes in the `Emacs Manual', you would write a menu in a Texinfo file
  237. similar to the following:
  238.      @menu
  239.      * Outlining: (emacs)Outline Mode. The major mode for
  240.                                        editing outlines.
  241.      * Rebinding: (emacs)Rebinding.    How to redefine the
  242.                                        meaning of a key.
  243.      @end menu
  244.    If you do not list the node name, but only name the file, then Info
  245. presumes that you are referring to the `Top' node.
  246.    The `dir' top level directory for the Info system has menu entries
  247. that take you directly to the `Top' nodes of each Info document.  Only
  248. the file names are listed, not the `Top' nodes.  (*Note Install an Info
  249. File::.)
  250.    For example:
  251.      ...
  252.      * Info: (info).         Documentation browsing system.
  253.      * Emacs: (emacs).       The extensible, self-documenting
  254.                              text editor.
  255.      ...
  256. (The `dir' top level directory for the Info system is an Info file, not
  257. a Texinfo file, but a menu entry looks the same in both types of file.)
  258.    Note that the GNU Emacs Texinfo mode menu updating commands only work
  259. with nodes within the current buffer, so you cannot use them to create
  260. menus that refer to other files.  You must write such menus by hand.
  261. File: texinfo,  Node: Cross References,  Next: Marking Text,  Prev: Menus,  Up: Top
  262. Cross References
  263. ****************
  264.    "Cross references" are used to refer the reader to other parts of the
  265. same or different Texinfo files.  In Texinfo, nodes are the places to
  266. which cross references can refer.
  267. * Menu:
  268. * References::                  What cross references are for.
  269. * Cross Reference Commands::    A summary of the different commands.
  270. * Cross Reference Parts::       A cross reference has several parts.
  271. * xref::                        Begin a reference with `See' ...
  272. * Top Node Naming::             How to refer to the beginning of another file.
  273. * ref::                         A reference for the last part of a sentence.
  274. * pxref::                       How to write a parenthetical cross reference.
  275. * inforef::                     How to refer to an Info-only file.
  276. File: texinfo,  Node: References,  Next: Cross Reference Commands,  Up: Cross References
  277. What References Are For
  278. =======================
  279.    Often, but not always, a printed document should be designed so that
  280. it can be read sequentially.  People tire of flipping back and forth to
  281. find information that should be presented to them as they need it.
  282.    However, in any document, some information will be too detailed for
  283. the current context, or incidental to it; use cross references to
  284. provide access to such information.  Also, an on-line help system or a
  285. reference manual is not like a novel; few read such documents in
  286. sequence from beginning to end.  Instead, people look up what they
  287. need.  For this reason, such creations should contain many cross
  288. references to help readers find other information that they may not
  289. have read.
  290.    In a printed manual, a cross reference results in a page reference,
  291. unless it is to another manual altogether, in which case the cross
  292. reference names that manual.
  293.    In Info, a cross reference results in an entry that you can follow
  294. using the Info `f' command.  (*note Some advanced Info commands:
  295. (info)Help-Adv.)
  296.    The various cross reference commands use nodes to define cross
  297. reference locations.  This is evident in Info, in which a cross
  298. reference takes you to the specified node.  TeX also uses nodes to
  299. define cross reference locations, but the action is less obvious.  When
  300. TeX generates a DVI file, it records nodes' page numbers and uses the
  301. page numbers in making references.  Thus, if you are writing a manual
  302. that will only be printed, and will not be used on-line, you must
  303. nonetheless write `@node' lines to name the places to which you make
  304. cross references.
  305. File: texinfo,  Node: Cross Reference Commands,  Next: Cross Reference Parts,  Prev: References,  Up: Cross References
  306. Different Cross Reference Commands
  307. ==================================
  308.    There are four different cross reference commands:
  309. `@xref'
  310.      Used to start a sentence in the printed manual saying `See ...' or
  311.      an entry in the Info file saying `*Note ...'.
  312. `@ref'
  313.      Used within or, more often, at the end of a sentence; produces just
  314.      the reference in the printed manual without a preceding `See'.
  315. `@pxref'
  316.      Used within parentheses to make a reference that starts with a
  317.      lower case `see' within the printed manual. (`p' is for
  318.      `parenthesis'.)
  319. `@inforef'
  320.      Used to make a reference to an Info file for which there is no
  321.      printed manual.
  322. (The `@cite' command is used to make references to books and manuals
  323. for which there is no corresponding Info file and, therefore, no node
  324. to which to point.   *Note `@cite': cite.)
  325. File: texinfo,  Node: Cross Reference Parts,  Next: xref,  Prev: Cross Reference Commands,  Up: Cross References
  326. Parts of a Cross Reference
  327. ==========================
  328.    A cross reference command requires only one argument, which is the
  329. name of the node to which it refers.  But a cross reference command may
  330. contain up to four additional arguments.  By using these arguments, you
  331. can provide a cross reference name for Info, a topic description or
  332. section title for the printed output, the name of a different Info
  333. file, and the name of a different printed manual.
  334.    Here is a simple cross reference example:
  335.      @xref{Node name}.
  336. which produces
  337.      *Note Node name::.
  338.      See Section NNN [Node name], page PPP.
  339.    Here, however, is an example of a full five-part cross reference:
  340.      @xref{Node name, Cross Reference Name, Particular Topic,
  341.      info-file-name, A Printed Manual}, for details.
  342. which produces
  343.      *Note Cross Reference Name: (info-file-name)Node name,
  344.      for details.
  345.      See Section Particular Topic of A Printed Manual, for details.
  346.    The five possible arguments for a cross reference are:
  347.   1. The node name (required).  This is the node to which the cross
  348.      reference takes you.  In a printed document, the location of the
  349.      node provides the page reference only for references within the
  350.      same document.
  351.   2. The cross reference name for the Info reference, if it is to be
  352.      different from the node name.  If you include this argument, it
  353.      argument becomes the first part of the cross reference. It is
  354.      usually omitted.
  355.   3. A topic description or section name.  Often, this is the title of
  356.      the section.  This is used as the name of the reference in the
  357.      printed manual.  If omitted, the node name is used.
  358.   4. The name of the Info file in which the reference is located, if it
  359.      is different from the current file.
  360.   5. The name of a printed manual from a different Texinfo file.
  361.    The template for a full five argument cross reference looks like
  362. this:
  363.      @xref{NODE-NAME, CROSS-REFERENCE-NAME, TITLE-OR-TOPIC,
  364.      INFO-FILE-NAME, PRINTED-MANUAL-TITLE}.
  365.    Cross references with one, two, three, four, and five arguments are
  366. described separately following the description of `@xref'.
  367.    Write a node name in a cross reference in exactly the same way as in
  368. the `@node' line, including the same capitalization; otherwise, the
  369. formatters may not find the reference.
  370.    You can write cross reference commands within a paragraph, but note
  371. how Info and TeX format the output of each of the various commands:
  372. write `@xref' at the beginning of a sentence; write `@pxref' only
  373. within parentheses, and so on.
  374. File: texinfo,  Node: xref,  Next: Top Node Naming,  Prev: Cross Reference Parts,  Up: Cross References
  375. `@xref'
  376. =======
  377.    The `@xref' command generates a cross reference for the beginning of
  378. a sentence.  The Info formatting commands convert it into an Info cross
  379. reference, which the Info `f' command can use to bring you directly to
  380. another node.  The TeX typesetting commands convert it into a page
  381. reference, or a reference to another book or manual.
  382. * Menu:
  383. * Reference Syntax::            What a reference looks like and requires.
  384. * One Argument::                `@xref' with one argument.
  385. * Two Arguments::               `@xref' with two arguments.
  386. * Three Arguments::             `@xref' with three arguments.
  387. * Four and Five Arguments::     `@xref' with four and five arguments.
  388. File: texinfo,  Node: Reference Syntax,  Next: One Argument,  Up: xref
  389. What a Reference Looks Like and Requires
  390. ----------------------------------------
  391.    Most often, an Info cross reference looks like this:
  392.      *Note NODE-NAME::.
  393. or like this
  394.      *Note CROSS-REFERENCE-NAME: NODE-NAME.
  395. In TeX, a cross reference looks like this:
  396.      See Section SECTION [NODE-NAME], page PAGE.
  397. or like this
  398.      See Section SECTION [TITLE-OR-TOPIC], page PAGE.
  399.    The `@xref' command does not generate a period or comma to end the
  400. cross reference in either the Info file or the printed output. You must
  401. write that period or comma yourself; otherwise, Info will not recognize
  402. the end of the reference.  (The `@pxref' command works differently. 
  403. *Note `@pxref': pxref.)
  404.      *Please note:* A period or comma *must* follow the closing brace
  405.      of an `@xref'.  It is required to terminate the cross reference. 
  406.      This period or comma will appear in the output, both in the Info
  407.      file and in the printed manual.
  408.    `@xref' must refer to an Info node by name.  Use `@node' to define
  409. the node (*note Writing a Node::.).
  410.    `@xref' is followed by several arguments inside braces, separated by
  411. commas.  Whitespace before and after these commas is ignored.
  412.    A cross reference requires only the name of a node; but it may
  413. contain up to four additional arguments.  Each of these variations
  414. produces a cross reference that looks somewhat different.
  415. File: texinfo,  Node: One Argument,  Next: Two Arguments,  Prev: Reference Syntax,  Up: xref
  416. `@xref' with One Argument
  417. -------------------------
  418.    The simplest form of `@xref' takes one argument, the name of another
  419. node in the same Info file.    The Info formatters produce output that
  420. the Info readers can use to jump to the reference; TeX produces output
  421. that specifies the page and section number for you.
  422. For example,
  423.      @xref{Tropical Storms}.
  424. produces
  425.      *Note Tropical Storms::.
  426.      See Section 3.1 [Tropical Storms], page 24.
  427. (Note that in the preceding example the closing brace is followed by a
  428. period.)
  429.    You can write a clause after the cross reference, like this:
  430.      @xref{Tropical Storms}, for more info.
  431. which produces
  432.      *Note Tropical Storms::, for more info.
  433.      See Section 3.1 [Tropical Storms], page 24, for more info.
  434. (Note that in the preceding example the closing brace is followed by a
  435. comma, and then by the clause, which is followed by a period.)
  436. File: texinfo,  Node: Two Arguments,  Next: Three Arguments,  Prev: One Argument,  Up: xref
  437. `@xref' with Two Arguments
  438. --------------------------
  439.    With two arguments, the second one is used as the name of the Info
  440. cross reference, while the first argument is still the node that the
  441. cross reference points to.
  442. The template is like this:
  443.      @xref{NODE-NAME, CROSS-REFERENCE-NAME}.
  444. For example,
  445.      @xref{Electrical Effects, Lightning}.
  446. produces:
  447.      *Note Lightning: Electrical Effects.
  448.      See Section 5.2 [Electrical Effects], page 57.
  449. (Note that in the preceding example the closing brace is followed by a
  450. period; and that the node name is printed, not the cross reference
  451. name.)
  452.    You can write a clause after the cross reference, like this:
  453.      @xref{Electrical Effects, Lightning}, for more info.
  454. which produces
  455.      *Note Lightning: Electrical Effects, for more info.
  456.      See Section 5.2 [Electrical Effects], page 57, for more info.
  457. (Note that in the preceding example the closing brace is followed by a
  458. comma, and then by the clause, which is followed by a period.)
  459. File: texinfo,  Node: Three Arguments,  Next: Four and Five Arguments,  Prev: Two Arguments,  Up: xref
  460. `@xref' with Three Arguments
  461. ----------------------------
  462.    A third argument replaces the node name in the TeX output.  The third
  463. argument should be the name of the section in the printed output, or
  464. else state the topic discussed by that section.  Often, you will want to
  465. use initial upper case letters so it will be easier to read when the
  466. reference is printed.  Use a third argument when the node name is
  467. unsuitable because of syntax or meaning.
  468.    Remember that a comma or period must follow the closing brace of an
  469. `@xref' command to terminate the cross reference.  In the following
  470. examples, a clause follows a terminating comma.
  471. The template is like this:
  472.      @xref{NODE-NAME, CROSS-REFERENCE-NAME, TITLE-OR-TOPIC}.
  473. For example,
  474.      @xref{Electrical Effects, Lightning, Thunder and Lightning}, for details.
  475. produces
  476.      *Note Lightning: Electrical Effects, for details.
  477.      See Section 5.2 [Thunder and Lightning], page 57, for details.
  478.    If a third argument is given and the second one is empty, then the
  479. third argument serves both.  (Note how two commas, side by side, mark
  480. the empty second argument.)
  481.      @xref{Electrical Effects, , Thunder and Lightning},
  482.      for details.
  483. produces
  484.      *Note Thunder and Lightning: Electrical Effects, for details.
  485.      See Section 5.2 [Thunder and Lightning], page 57, for details.
  486.    As a practical matter, it is often best to write cross references
  487. with just the first argument if the node name and the section title are
  488. the same, and with the first and third arguments if the node name and
  489. title are different.
  490.    Here are several examples from `The GAWK Manual':
  491.      @xref{Sample Program}.
  492.      @xref{Glossary}.
  493.      @xref{Case-sensitivity, ,Case-sensitivity in Matching}.
  494.      @xref{Close Output, , Closing Output Files and Pipes},
  495.         for more information.
  496.      @xref{Regexp, , Regular Expressions as Patterns}.
  497. File: texinfo,  Node: Four and Five Arguments,  Prev: Three Arguments,  Up: xref
  498. `@xref' with Four and Five Arguments
  499. ------------------------------------
  500.    In a cross reference, a fourth argument specifies the name of another
  501. Info file, different from the file in which the reference appears, and
  502. a fifth argument specifies its title as a printed manual.
  503.    Remember that a comma or period must follow the closing brace of an
  504. `@xref' command to terminate the cross reference.  In the following
  505. examples, a clause follows a terminating comma.
  506. The template is:
  507.      @xref{NODE-NAME, CROSS-REFERENCE-NAME, TITLE-OR-TOPIC,
  508.      INFO-FILE-NAME, PRINTED-MANUAL-TITLE}.
  509. For example,
  510.      @xref{Electrical Effects, Lightning, Thunder and Lightning,
  511.      weather, An Introduction to Meteorology}, for details.
  512. produces
  513.      *Note Lightning: (weather)Electrical Effects, for details.
  514. The name of the Info file is enclosed in parentheses and precedes the
  515. name of the node.
  516. In a printed manual, the reference looks like this:
  517.      See Section Thunder and Lightning of An Introduction to
  518.      Meteorology, for details.
  519. The title of the printed manual is typeset in italics; and the
  520. reference lacks a page number since TeX cannot know to which page a
  521. reference refers when that reference is to another manual.
  522.    Often, you will leave out the second argument when you use the long
  523. version of `@xref'.  In this case, the third argument, the topic
  524. description, will be used as the cross reference name in Info.
  525. The template looks like this:
  526.      @xref{NODE-NAME, , TITLE-OR-TOPIC, INFO-FILE-NAME,
  527.      PRINTED-MANUAL-TITLE}, for details.
  528. produces
  529.      *Note TITLE-OR-TOPIC: (INFO-FILE-NAME)NODE-NAME, for details.
  530.      See Section TITLE-OR-TOPIC of PRINTED-MANUAL-TITLE, for details.
  531. For example,
  532.      @xref{Electrical Effects, , Thunder and Lightning,
  533.      weather, An Introduction to Meteorology}, for details.
  534. produces
  535.      *Note Thunder and Lightning: (weather)Electrical Effects, for details.
  536.      See Section Thunder and Lightning of An Introduction to
  537.      Meteorology, for details.
  538.    On rare occasions, you may want to refer to another Info file that
  539. is within a single printed manual--when multiple Texinfo files are
  540. incorporated into the same TeX run but make separate Info files. In
  541. this case, you need to specify only the fourth argument, and not the
  542. fifth.
  543. File: texinfo,  Node: Top Node Naming,  Next: ref,  Prev: xref,  Up: Cross References
  544. Naming a `Top' Node
  545. ===================
  546.    In a cross reference, you must always name a node.  This means that
  547. in order to refer to a whole manual, you must identify the `Top' node by
  548. writing it as the first argument to the `@xref' command.  (This is
  549. different from the way you write a menu entry; see *Note Referring to
  550. Other Info Files: Other Info Files.)  At the same time, to provide a
  551. meaningful section topic or title in the printed cross reference
  552. (instead of the word `Top'), you must write an appropriate entry for
  553. the third argument to the `@xref' command.
  554. Thus, to make a cross reference to `The GNU Make Manual', write:
  555.      @xref{Top, , Overview, make, The GNU Make Manual}.
  556. which produces
  557.      *Note Overview: (make)Top.
  558.      See Section Overview of The GNU Make Manual.
  559. In this example, `Top' is the name of the first node, and `Overview' is
  560. the name of the first section of the manual.
  561. File: texinfo,  Node: ref,  Next: pxref,  Prev: Top Node Naming,  Up: Cross References
  562. `@ref'
  563. ======
  564.    `@ref' is nearly the same as `@xref' except that it does not
  565. generate a `See' in the printed output, just the reference itself. This
  566. makes it useful as the last part of a sentence.
  567. For example,
  568.      For more information, see @ref{Hurricanes}.
  569. produces
  570.      For more information, see *Note Hurricanes.
  571.      For more information, see Section 8.2 [Hurricanes], page 123.
  572.    The `@ref' command sometimes leads writers to express themselves in
  573. a manner that is suitable for a printed manual but looks awkward in the
  574. Info format.  Bear in mind that your audience will be using both the
  575. printed and the Info format.
  576. For example,
  577.      Sea surges are described in @ref{Hurricanes}.
  578. produces
  579.      Sea surges are described in Section 6.7 [Hurricanes], page 72.
  580. in a printed document, but
  581.      Sea surges are described in *Note Hurricanes::.
  582. in Info.
  583.      *Caution:* You *must* write a period or comma immediately after an
  584.      `@ref' command with two or more arguments.  Otherwise, Info will
  585.      not find the end of the cross reference entry and its attempt to
  586.      follow the cross reference will fail.  As a general rule, you
  587.      should write a period or comma after every `@ref' command. This
  588.      looks best in both the printed and the Info output.
  589. File: texinfo,  Node: pxref,  Next: inforef,  Prev: ref,  Up: Cross References
  590. `@pxref'
  591. ========
  592.    The parenthetical reference command, `@pxref', is nearly the same as
  593. `@xref', but you use it *only* inside parentheses and you do *not* type
  594. a comma or period after the command's closing brace.  The command
  595. differs from `@xref' in two ways:
  596.   1. TeX typesets the reference for the printed manual with a lower case
  597.      `see' rather than an upper case `See'.
  598.   2. The Info formatting commands automatically end the reference with a
  599.      closing colon or period.
  600.    Because one type of formatting automatically inserts closing
  601. punctuation and the other does not, you should use `@pxref' *only*
  602. inside parentheses as part of another sentence.  Also, you yourself
  603. should not insert punctuation after the reference, as you do with
  604. `@xref'.
  605.    `@pxref' is designed so that the output looks right and works right
  606. between parentheses both in printed output and in an Info file. In a
  607. printed manual, a closing comma or period should not follow a cross
  608. reference within parentheses; such punctuation is wrong.  But in an
  609. Info file, suitable closing punctuation must follow the cross reference
  610. so Info can recognize its end.  `@pxref' spares you the need to use
  611. complicated methods to put a terminator into one form of the output and
  612. not the other.
  613. With one argument, a parenthetical cross reference looks like this:
  614.      ... storms cause flooding (@pxref{Hurricanes}) ...
  615. produces
  616.      ... storms cause flooding (*Note Hurricanes::) ...
  617.      ... storms cause flooding (see Section 6.7 [Hurricanes], page 72)
  618.      ...
  619.    With two arguments, a parenthetical cross reference has this
  620. template:
  621.      ... (@pxref{NODE-NAME, CROSS-REFERENCE-NAME}) ...
  622. produces
  623.      ... (*Note CROSS-REFERENCE-NAME: NODE-NAME.) ...
  624.      ... (see Section NNN [NODE-NAME], page PPP) ...
  625.    `@pxref' can be used with up to five arguments just like `@xref'
  626. (*note `@xref': xref.).
  627.      *Please note:* Use `@pxref' only as a parenthetical reference.  Do
  628.      not try to use `@pxref' as a clause in a sentence. It will look
  629.      bad in either the Info file, the printed output, or both.
  630.      Also, parenthetical cross references look best at the ends of
  631.      sentences. Although you may write them in the middle of a
  632.      sentence, that location breaks up the flow of text.
  633. File: texinfo,  Node: inforef,  Prev: pxref,  Up: Cross References
  634. `@inforef'
  635. ==========
  636.    `@inforef' is used for cross references to Info files for which
  637. there are no printed manuals.  Even in a printed manual, `@inforef'
  638. generates a reference directing the user to look in an Info file.
  639.    The command takes either two or three arguments, in the following
  640. order:
  641.   1. The node name.
  642.   2. The cross reference name (optional).
  643.   3. The Info file name.
  644. Separate the arguments with commas, as with `@xref'.  Also, you must
  645. terminate the reference with a comma or period after the `}', as you do
  646. with `@xref'.
  647. The template is:
  648.      @inforef{NODE-NAME, CROSS-REFERENCE-NAME, INFO-FILE-NAME},
  649. Thus,
  650.      @inforef{Expert, Advanced Info commands, info},
  651.      for more information.
  652. produces
  653.      *Note Advanced Info commands: (info)Expert,
  654.      for more information.
  655.      See Info file `info', node `Expert', for more information.
  656. Similarly,
  657.      @inforef{Expert, , info}, for more information.
  658. produces
  659.      *Note (info)Expert::, for more information.
  660.      See Info file `info', node `Expert', for more information.
  661.    The converse of `@inforef' is `@cite', which is used to refer to
  662. printed works for which no Info form exists.  *Note  `@cite': cite.
  663. File: texinfo,  Node: Marking Text,  Next: Quotations and Examples,  Prev: Cross References,  Up: Top
  664. Marking Words and Phrases
  665. *************************
  666.    In Texinfo, you can mark words and phrases in a variety of ways. The
  667. Texinfo formatters use this information to determine how to highlight
  668. the text. You can specify, for example, whether a word or phrase is a
  669. defining occurrence, a metasyntactic variable, or a symbol used in a
  670. program.  Also, you can emphasize text.
  671. * Menu:
  672. * Indicating::                  How to indicate definitions, files, etc.
  673. * Emphasis::                    How to emphasize text.
  674. File: texinfo,  Node: Indicating,  Next: Emphasis,  Up: Marking Text
  675. Indicating Definitions, Commands, etc.
  676. ======================================
  677.    Texinfo has commands for indicating just what kind of object a piece
  678. of text refers to.  For example, metasyntactic variables are marked by
  679. `@var', and code by `@code'.  Since the pieces of text are labelled by
  680. commands that tell what kind of object they are, it is easy to change
  681. the way the Texinfo formatters prepare such text.  (Texinfo is an
  682. *intentional* formatting language rather than a *typesetting*
  683. formatting language.)
  684.    For example, in a printed manual, code is usually illustrated in a
  685. typewriter font; `@code' tells TeX to typeset this text in this font. 
  686. But it would be easy to change the way TeX highlights code to use
  687. another font, and this change would not effect how keystroke examples
  688. are highlighted.  If straight typesetting commands were used in the body
  689. of the file and you wanted to make a change, you would need to check
  690. every single occurrence to make sure that you were changing code and
  691. not something else that should not be changed.
  692. * Menu:
  693. * Useful Highlighting::         Highlighting provides useful information.
  694. * code::                        How to indicate code.
  695. * kbd::                         How to show keyboard input.
  696. * key::                         How to specify keys.
  697. * samp::                        How to show a literal sequence of characters.
  698. * var::                         How to indicate a metasyntactic variable.
  699. * file::                        How to indicate the name of a file.
  700. * dfn::                         How to specify a definition.
  701. * cite::                        How to refer to a book that is not in Info.
  702. File: texinfo,  Node: Useful Highlighting,  Next: code,  Up: Indicating
  703. Highlighting Commands are Useful
  704. --------------------------------
  705.    The highlighting commands can be used to generate useful information
  706. from the file, such as lists of functions or file names.  It is
  707. possible, for example, to write a program in Emacs Lisp (or a keyboard
  708. macro) to insert an index entry after every paragraph that contains
  709. words or phrases marked by a specified command.  You could do this to
  710. construct an index of functions if you had not already made the entries.
  711.    The commands serve a variety of purposes:
  712. `@code{SAMPLE-CODE}'
  713.      Indicate text that is a literal example of a piece of a program.
  714. `@kbd{KEYBOARD-CHARACTERS}'
  715.      Indicate keyboard input.
  716. `@key{KEY-NAME}'
  717.      Indicate the conventional name for a key on a keyboard.
  718. `@samp{TEXT}'
  719.      Indicate text that is a literal example of a sequence of
  720.      characters.
  721. `@var{METASYNTACTIC-VARIABLE}'
  722.      Indicate a metasyntactic variable.
  723. `@file{FILE-NAME}'
  724.      Indicate the name of a file.
  725. `@dfn{TERM}'
  726.      Indicate the introductory or defining use of a term.
  727. `@cite{REFERENCE}'
  728.      Indicate the name of a book.
  729. File: texinfo,  Node: code,  Next: kbd,  Prev: Useful Highlighting,  Up: Indicating
  730. `@code'{SAMPLE-CODE}
  731. --------------------
  732.    Use the `@code' command to indicate text that is a piece of a
  733. program and which consists of entire syntactic tokens.  Enclose the
  734. text in braces.
  735.    Thus, you should use `@code' for an expression in a program, for the
  736. name of a variable or function used in a program, or for a keyword. 
  737. Also, you should use `@code' for the name of a program, such as `diff',
  738. that is a name used in the machine. (You should write the name of a
  739. program in the ordinary text font if you regard it as a new English
  740. word, such as `Emacs' or `Bison'.)
  741.    Use `@code' for environment variables such as `TEXINPUTS', and other
  742. variables.
  743.    Use `@code' for command names in command languages that resemble
  744. programming languages, such as Texinfo or the shell. For example,
  745. `@code' and `@samp' are produced by writing `@code{@@code}' and
  746. `@code{@@samp}' in the Texinfo source, respectively.
  747.    Note, however, that you should not use `@code' for shell options
  748. such as `-c' when such options stand alone. (Use `@samp'.) Also, an
  749. entire shell command often looks better if written using `@samp' rather
  750. than `@code'.  In this case, the rule is to choose the more pleasing
  751. format.
  752.    It is incorrect to alter the case of a word inside an `@code'
  753. command when it appears at the beginning of a sentence.  Most computer
  754. languages are case sensitive.  In C, for example, `Printf' is different
  755. from the identifier `printf', and most likely is a misspelling of it. 
  756. Even in languages which are not case sensitive, it is confusing to a
  757. human reader to see identifiers spelled in different ways.  Pick one
  758. spelling and always use that.  If you do not want to start a sentence
  759. with a command written all in lower case, you should rearrange the
  760. sentence.
  761.    Do not use the `@code' command for a string of characters shorter
  762. than a syntactic token.  If you are writing about `TEXINPU', which is
  763. just a part of the name for the `TEXINPUTS' environment variable, you
  764. should use `@samp'.
  765.    In particular, you should not use the `@code' command when writing
  766. about the characters used in a token; do not, for example, use `@code'
  767. when you are explaining what letters or printable symbols can be used
  768. in the names of functions.  (Use `@samp'.)  Also, you should not use
  769. `@code' to mark text that is considered input to programs unless the
  770. input is written in a language that is like a programming language. 
  771. For example, you should not use `@code' for the keystroke commands of
  772. GNU Emacs (use `@kbd' instead) although you may use `@code' for the
  773. names of the Emacs Lisp functions that the keystroke commands invoke.
  774.    In the printed manual, `@code' causes TeX to typeset the argument in
  775. a typewriter face.  In the Info file, it causes the Info formatting
  776. commands to use single quotation marks around the text.
  777.    For example,
  778.      Use @code{diff} to compare two files.
  779. produces this in the printed manual:
  780.      Use `diff' to compare two files.
  781. File: texinfo,  Node: kbd,  Next: key,  Prev: code,  Up: Indicating
  782. `@kbd'{KEYBOARD-CHARACTERS}
  783. ---------------------------
  784.    Use the `@kbd' command for characters of input to be typed by users.
  785.  For example, to refer to the characters `M-a', write
  786.      @kbd{M-a}
  787. and to refer to the characters `M-x shell', write
  788.      @kbd{M-x shell}
  789.    The `@kbd' command has the same effect as `@code' in Info, but may
  790. produce a different font in a printed manual.
  791.    You can embed another @-command inside the braces of an `@kbd'
  792. command.  Here, for example, is the way to describe a command that
  793. would be described more verbosely as "press an `r' and then press the
  794. RET key":
  795.      @kbd{r @key{RET}}
  796. This produces: `r RET'
  797.    You also use the `@kbd' command if you are spelling out the letters
  798. you type; for example:
  799.      To give the @code{logout} command,
  800.      type the characters @kbd{l o g o u t @key{RET}}.
  801. This produces:
  802.      To give the `logout' command, type the characters `l o g o u t
  803.      RET'.
  804.    (Also, this example shows that you can add spaces for clarity.  If
  805. you really want to mention a space character as one of the characters of
  806. input, write `@key{SPC}' for it.)
  807. File: texinfo,  Node: key,  Next: samp,  Prev: kbd,  Up: Indicating
  808. `@key'{KEY-NAME}
  809. ----------------
  810.    Use the `@key' command for the conventional name for a key on a
  811. keyboard, as in:
  812.      @key{RET}
  813.    You can use the `@key' command within the argument of an `@kbd'
  814. command when the sequence of characters to be typed includes one or
  815. more keys that are described by name.
  816.    For example, to produce `C-x ESC' you would type:
  817.      @kbd{C-x @key{ESC}}
  818.    Here is a list of the recommended names for keys; they are all in
  819. upper case:
  820.     SPC
  821.           Space
  822.     RET
  823.           Return
  824.     LFD
  825.           Linefeed
  826.     TAB
  827.           Tab
  828.     BS
  829.           Backspace
  830.     ESC
  831.           Escape
  832.     DEL
  833.           Delete
  834.     SFT
  835.           Shift
  836.     CTL
  837.           Control
  838.     META
  839.           Meta
  840.    There are subtleties to handling words like `meta' or `ctl' that are
  841. names of shift keys.  When mentioning a character in which the shift
  842. key is used, such as `Meta-a', use the `@kbd' command alone; do not use
  843. the `@key' command; but when you are referring to the shift key in
  844. isolation, use the `@key' command.  For example, write `@kbd{Meta-a}'
  845. to produce `Meta-a' and `@key{META}' to produce META.  This is because
  846. `Meta-a' refers to keys that you press on a keyboard, but META refers
  847. to a key without implying that you press it.  In short, use `@kbd' for
  848. what you do, and use `@key' for what you talk about: "Press `@kbd{M-a}'
  849. to move point to the beginning of the sentence.  The `@key{META}' is
  850. often in the lower left of the keyboard."
  851. File: texinfo,  Node: samp,  Next: var,  Prev: key,  Up: Indicating
  852. `@samp'{TEXT}
  853. -------------
  854.    Use the `@samp' command to indicate text that is a literal example
  855. or `sample' of a sequence of characters in a file, string, pattern, etc.
  856. Enclose the text in braces.  The argument appears within single
  857. quotation marks in both the Info file and the printed manual; in
  858. addition, it is printed in a fixed-width font.
  859.      To match @samp{foo} at the end of the line,
  860.      use the regexp @samp{foo$}.
  861. produces
  862.      To match `foo' at the end of the line, use the regexp `foo$'.
  863.    Any time you are referring to single characters, you should use
  864. `@samp' unless `@kbd' is more appropriate.  Use `@samp' for the names
  865. of command-line options.  Also, you may use `@samp' for entire
  866. statements in C and for entire shell commands--in this case, `@samp'
  867. often looks better than `@code'.  Basically, `@samp' is a catchall for
  868. whatever is not covered by `@code', `@kbd', or `@key'.
  869.    Only include punctuation marks within braces if they are part of the
  870. string you are specifying.  Write punctuation marks outside the braces
  871. if those punctuation marks are part of the English text that surrounds
  872. the string.  In the following sentence, for example, the commas and
  873. period are outside of the braces:
  874.      In English, the vowels are @samp{a}, @samp{e},
  875.      @samp{i}, @samp{o}, @samp{u}, and sometimes
  876.      @samp{y}.
  877. This produces:
  878.      In English, the vowels are `a', `e', `i', `o', `u',  and sometimes
  879.      `y'.
  880. File: texinfo,  Node: var,  Next: file,  Prev: samp,  Up: Indicating
  881. `@var'{METASYNTACTIC-VARIABLE}
  882. ------------------------------
  883.    Use the `@var' command to indicate metasyntactic variables.  A
  884. "metasyntactic variable" is something that stands for another piece of
  885. text.  For example, you should use a metasyntactic variable in the
  886. documentation of a function to describe the arguments that are passed
  887. to that function.
  888.    Do not use `@var' for the names of particular variables in
  889. programming languages.  These are specific names from a program, so
  890. `@code' is correct for them.  For example, the Lisp variable
  891. `texinfo-tex-command' is not a metasyntactic variable; it is properly
  892. formatted using `@code'.
  893.    The effect of `@var' in the Info file is to upcase the argument; in
  894. the printed manual, to italicize it.
  895.    For example,
  896.      To delete file @var{filename},
  897.      type @code{rm @var{filename}}.
  898. produces
  899.      To delete file FILENAME, type `rm FILENAME'.
  900. (Note that `@var' may appear inside `@code', `@samp', `@file', etc.)
  901.    Write a metasyntactic variable all in lower case without spaces, and
  902. use hyphens to make it more readable.  Thus, the illustration of how to
  903. begin a Texinfo manual looks like this:
  904.      \input texinfo
  905.      @setfilename INFO-FILE-NAME
  906.      @settitle NAME-OF-MANUAL
  907.    In some documentation styles, metasyntactic variables are shown with
  908. angle brackets, for example:
  909.      ..., type rm <filename>
  910. However, that is not the style that Texinfo uses.  (You can, of course,
  911. modify the sources to TeX and the Info formatting commands to output
  912. the `<...>' format if you wish.)
  913. File: texinfo,  Node: file,  Next: dfn,  Prev: var,  Up: Indicating
  914. `@file'{FILE-NAME}
  915. ------------------
  916.    Use the `@file' command to indicate text that is the name of a file,
  917. buffer, or directory, or is the name of a node in Info.  You can also
  918. use the command for file name suffixes.  Do not use `@file' for symbols
  919. in a programming language; use `@code'.
  920.    Currently, `@file' is equivalent to `@samp' in its effects on the
  921. output.  For example,
  922.      The @file{.el} files are in
  923.      the @file{/usr/local/emacs/lisp} directory.
  924. produces
  925.      The `.el' files are in the `/usr/local/emacs/lisp' directory.
  926. File: texinfo,  Node: dfn,  Next: cite,  Prev: file,  Up: Indicating
  927. `@dfn'{TERM}
  928. ------------
  929.    Use the `@dfn' command to identify the introductory or defining use
  930. of a technical term.  Use the command only in passages whose purpose is
  931. to introduce a term which will be used again or which the reader ought
  932. to know.  Mere passing mention of a term for the first time does not
  933. deserve `@dfn'.  The command generates italics in the printed manual,
  934. and double quotation marks in the Info file.  For example:
  935.      Getting rid of a file is called @dfn{deleting} it.
  936. produces
  937.      Getting rid of a file is called "deleting" it.
  938.    As a general rule, a sentence containing the defining occurrence of a
  939. term should be a definition of the term.  The sentence does not need to
  940. say explicitly that it is a definition, but it should contain the
  941. information of a definition--it should make the meaning clear.
  942. File: texinfo,  Node: cite,  Prev: dfn,  Up: Indicating
  943. `@cite'{REFERENCE}
  944. ------------------
  945.    Use the `@cite' command for the name of a book that lacks a
  946. companion Info file. The command produces italics in the printed
  947. manual, and quotation marks in the Info file.
  948.    (If a book is written in Texinfo, it is better to use a cross
  949. reference command since a reader can easily follow such a reference in
  950. Info. *Note `@xref': xref.)
  951. File: texinfo,  Node: Emphasis,  Prev: Indicating,  Up: Marking Text
  952. Emphasizing Text
  953. ================
  954.    Usually, Texinfo changes the font to mark words in the text
  955. according to what category the words belong to; an example is the
  956. `@code' command. Most often, this is the best way to mark words.
  957. However, sometimes you will want to emphasize text without indicating a
  958. category.  Texinfo has two commands to do this.  Also, Texinfo has
  959. several commands that specify the font in which TeX will typeset text. 
  960. These commands have no affect on Info and only one of them, the `@r'
  961. command, has any regular use.
  962. * Menu:
  963. * emph & strong::               How to emphasize text in Texinfo.
  964. * Smallcaps::                   How to use the small caps font.
  965. * Fonts::                       Various font commands for printed output.
  966. File: texinfo,  Node: emph & strong,  Next: Smallcaps,  Up: Emphasis
  967. `@emph'{TEXT} and `@strong'{TEXT}
  968. ---------------------------------
  969.    The `@emph' and `@strong' commands are for emphasis; `@strong' is
  970. stronger.  In printed output, `@emph' produces *italics* and `@strong'
  971. produces *bold*.
  972. For example,
  973.      @quotation
  974.      @strong{Caution:} @code{rm * .[^.]*} removes @emph{all}
  975.      files in the directory.
  976.      @end quotation
  977. produces:
  978.           *Caution*: `rm * .[^.]*' removes *all*
  979.           files in the directory.
  980.    The `@strong' command is seldom used except to mark what is, in
  981. effect, a typographical element, such as the word `Caution' in the
  982. preceding example.(1)
  983.    In the Info file, both `@emph' and `@strong' put asterisks around
  984. the text.
  985.    ---------- Footnotes ----------
  986.    (1)  Do not use `@emph' or `@strong' with the word `Note'; Info will
  987. mistake the combination for a cross reference.  Use a phrase such as
  988. *Please note* or *Caution* instead.
  989.