home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Professional / OS2PRO194.ISO / os2 / prgramer / unix / info / texinfo.i08 < prev    next >
Encoding:
GNU Info File  |  1993-06-12  |  50.5 KB  |  1,317 lines

  1. This is Info file texinfo, produced by Makeinfo-1.47 from the input
  2. file texinfo2.tex.
  3.  
  4.    This file documents Texinfo, a documentation system that uses a
  5. single source file to produce both on-line information and a printed
  6. manual.
  7.  
  8.    Copyright (C) 1988, 1990, 1991, 1992 Free Software Foundation, Inc.
  9.  
  10.    This is the second edition of the Texinfo documentation,
  11. and is consistent with version 2 of `texinfo.tex'.
  12.  
  13.    Permission is granted to make and distribute verbatim copies of this
  14. manual provided the copyright notice and this permission notice are
  15. preserved on all copies.
  16.  
  17.    Permission is granted to copy and distribute modified versions of
  18. this manual under the conditions for verbatim copying, provided that
  19. the entire resulting derived work is distributed under the terms of a
  20. permission notice identical to this one.
  21.  
  22.    Permission is granted to copy and distribute translations of this
  23. manual into another language, under the above conditions for modified
  24. versions, except that this permission notice may be stated in a
  25. translation approved by the Foundation.
  26.  
  27. 
  28. File: texinfo,  Node: Command List,  Next: Tips,  Prev: Install an Info File,  Up: Top
  29.  
  30. @-Command List
  31. **************
  32.  
  33.    Here is an alphabetical list of the @-commands in Texinfo.  Square
  34. brackets ([ ]) indicate optional arguments; an ellipsis (`...')
  35. indicates repeated text.
  36.  
  37. `@*'
  38.      Force a line break. Do not end a paragraph that uses `@*' with an
  39.      `@refill' command.  *Note Line Breaks::.
  40.  
  41. `@.'
  42.      Stands for a period that really does end a sentence (usually after
  43.      an end-of-sentence capital letter).  *Note Controlling Spacing::.
  44.  
  45. `@:'
  46.      Indicate to TeX that an immediately preceding period, question
  47.      mark, exclamation mark, or colon does not end a sentence.  Prevent
  48.      TeX from inserting extra whitespace as it does at the end of a
  49.      sentence.  The command has no effect on the Info file output.
  50.      *Note Controlling Spacing::.
  51.  
  52. `@@'
  53.      Stands for `@'.  *Note Inserting `@': Braces Atsigns Periods.
  54.  
  55. `@{'
  56.      Stands for a left-hand brace, `{'. *Note Inserting @ braces and
  57.      periods: Braces Atsigns Periods.
  58.  
  59. `@}'
  60.      Stands for a right-hand brace, `}'. *Note Inserting @ braces and
  61.      periods: Braces Atsigns Periods.
  62.  
  63. `@appendix TITLE'
  64.      Begin an appendix.  The title appears in the table of contents of
  65.      a printed manual.  In Info, the title is underlined with
  66.      asterisks.  *Note The `@unnumbered' and `@appendix' Commands:
  67.      unnumbered & appendix.
  68.  
  69. `@appendixsec TITLE'
  70. `@appendixsection TITLE'
  71.      Begin an appendix section within an appendix.  The section title
  72.      appears in the table of contents of a printed manual.  In Info,
  73.      the title is underlined with equal signs.  `@appendixsection' is a
  74.      longer spelling of the `@appendixsec' command.  *Note Section
  75.      Commands: unnumberedsec appendixsec heading.
  76.  
  77. `@appendixsubsec TITLE'
  78.      Begin an appendix subsection within an appendix.  The title appears
  79.      in the table of contents of a printed manual.  In Info, the title
  80.      is underlined with hyphens.  *Note Subsection Commands:
  81.      unnumberedsubsec appendixsubsec subheading.
  82.  
  83. `@appendixsubsubsec TITLE'
  84.      Begin an appendix subsubsection within a subappendix.  The title
  85.      appears in the table of contents of a printed manual.  In Info, the
  86.      title is underlined with periods.  *Note The `subsub' Commands:
  87.      subsubsection.
  88.  
  89. `@asis'
  90.      Used following `@table', `@ftable', and `@vtable' to print the
  91.      table's first column without highlighting ("as is"). *Note Making
  92.      a Two-column Table: Two-column Tables.
  93.  
  94. `@author AUTHOR'
  95.      Typeset AUTHOR flushleft and underline it.  *Note The `@title' and
  96.      `@author' Commands: title subtitle author.
  97.  
  98. `@b{TEXT}'
  99.      Print TEXT in bold font.  No effect in Info.  *Note Fonts::.
  100.  
  101. `@bullet{}'
  102.      Generate a large round dot, or the closest possible thing to one. 
  103.      *Note `@bullet': bullet.
  104.  
  105. `@bye'
  106.      Terminate TeX processing on the file.  TeX does not see any of the
  107.      contents of the file following the `@bye' command. *Note Ending a
  108.      File::.
  109.  
  110. `@c COMMENT'
  111.      Begin a comment in Texinfo.  The rest of the line does not appear
  112.      in either the Info file or the printed manual.  A synonym for
  113.      `@comment'.  *Note General Syntactic Conventions: Conventions.
  114.  
  115. `@cartouche'
  116.      Highlight an example or quotation by drawing a box with rounded
  117.      corners around it.  Pair with `@end cartouche'.  No effect in
  118.      Info.  *Note Drawing Cartouches Around Examples: cartouche.)
  119.  
  120. `@center LINE-OF-TEXT'
  121.      Center the line of text following the command. *Note `@center':
  122.      titlefont center sp.
  123.  
  124. `@chapheading TITLE'
  125.      Print a chapter-like heading in the text, but not in the table of
  126.      contents of a printed manual.  In Info, the title is underlined
  127.      with asterisks.  *Note `@majorheading' and `@chapheading':
  128.      majorheading & chapheading.
  129.  
  130. `@chapter TITLE'
  131.      Begin a chapter.  The chapter title appears in the table of
  132.      contents of a printed manual.  In Info, the title is underlined
  133.      with asterisks.  *Note `@chapter': chapter.
  134.  
  135. `@cindex ENTRY'
  136.      Add ENTRY to the index of concepts.  *Note  Defining the Entries
  137.      of an Index: Index Entries.
  138.  
  139. `@cite{REFERENCE}'
  140.      Highlight the name of a book or other reference that lacks a
  141.      companion Info file.  *Note `@cite': cite.
  142.  
  143. `@clear FLAG'
  144.      Unset FLAG, preventing the Texinfo formatting commands from
  145.      formatting text between subsequent pairs of `@ifset FLAG' and
  146.      `@end ifset' commands.  *Note `@set' and `@clear': set and clear.
  147.  
  148. `@code{SAMPLE-CODE}'
  149.      Highlight text that is an expression, a syntactically complete
  150.      token of a program, or a program name.  *Note `@code': code.
  151.  
  152. `@comment COMMENT'
  153.      Begin a comment in Texinfo.  The rest of the line does not appear
  154.      in either the Info file or the printed manual.  A synonym for `@c'.
  155.      *Note General Syntactic Conventions: Conventions.
  156.  
  157. `@contents'
  158.      Print a complete table of contents.  Has no effect in Info, which
  159.      uses menus instead.  *Note Generating a Table of Contents:
  160.      Contents.
  161.  
  162. `@copyright{}'
  163.      Generate a copyright symbol.  *Note  `@copyright': copyright
  164.      symbol.
  165.  
  166. `@defcodeindex INDEX-NAME'
  167.      Define a new index and its indexing command.  Print entries in an
  168.      `@code' font.  *Note Defining New Indices: New Indices.
  169.  
  170. `@defcv CATEGORY CLASS NAME'
  171.      Format a description for a variable associated with a class in
  172.      object-oriented programming.  Takes three arguments: the category
  173.      of thing being defined, the class to which it belongs, and its
  174.      name. *Note Definition Commands::.
  175.  
  176. `@deffn CATEGORY NAME ARGUMENTS...'
  177.      Format a description for a function, interactive command, or
  178.      similar entity that may take arguments.  `@deffn' takes as
  179.      arguments the category of entity being described, the name of this
  180.      particular entity, and its arguments, if any.  *Note Definition
  181.      Commands::.
  182.  
  183. `@defindex INDEX-NAME'
  184.      Define a new index and its indexing command.  Print entries in a
  185.      roman font.  *Note Defining New Indices: New Indices.
  186.  
  187. `@defivar CLASS INSTANCE-VARIABLE-NAME'
  188.      Format a description for an instance variable in object-oriented
  189.      programming.  The command is equivalent to `@defcv {Instance
  190.      Variable} ...'.  *Note Definition Commands::.
  191.  
  192. `@defmac MACRO-NAME ARGUMENTS...'
  193.      Format a description for a macro.  The command is equivalent to
  194.      `@deffn Macro ...'.  *Note Definition Commands::.
  195.  
  196. `@defmethod CLASS METHOD-NAME ARGUMENTS...'
  197.      Format a description for a method in object-oriented programming. 
  198.      The command is equivalent to `@defop Method ...'.  Takes as
  199.      arguments the name of the class of the method, the name of the
  200.      method, and its arguments, if any.  *Note Definition Commands::.
  201.  
  202. `@defop CATEGORY CLASS NAME ARGUMENTS...'
  203.      Format a description for an operation in object-oriented
  204.      programming. `@defop' takes as arguments the overall name of the
  205.      category of operation, the name of the class of the operation, the
  206.      name of the operation, and its arguments, if any.  *Note
  207.      Definition Commands::.
  208.  
  209. `@defopt OPTION-NAME'
  210.      Format a description for a user option.  The command is equivalent
  211.      to `@defvr {User Option} ...'.  *Note Definition Commands::.
  212.  
  213. `@defspec SPECIAL-FORM-NAME ARGUMENTS...'
  214.      Format a description for a special form.  The command is
  215.      equivalent to `@deffn {Special Form} ...'.  *Note Definition
  216.      Commands::.
  217.  
  218. `@deftp CATEGORY NAME-OF-TYPE ATTRIBUTES...'
  219.      Format a description for a data type.  `@deftp' takes as arguments
  220.      the category, the name of the type (which is a word like `int' or
  221.      `float'), and then the names of attributes of objects of that
  222.      type.  *Note Definition Commands::.
  223.  
  224. `@deftypefn CLASSIFICATION DATA-TYPE NAME ARGUMENTS...'
  225.      Format a description for a function or similar entity that may take
  226.      arguments and that is typed.  `@deftypefn' takes as arguments the
  227.      classification of entity being described, the type, the name of
  228.      the entity, and its arguments, if any.  *Note Definition
  229.      Commands::.
  230.  
  231. `@deftypefun DATA-TYPE FUNCTION-NAME ARGUMENTS...'
  232.      Format a description for a function in a typed language. The
  233.      command is equivalent to `@deftypefn Function ...'. *Note
  234.      Definition Commands::.
  235.  
  236. `@deftypevr CLASSIFICATION DATA-TYPE NAME'
  237.      Format a description for something like a variable in a typed
  238.      language--an entity that records a value.  Takes as arguments the
  239.      classification of entity being described, the type, and the name of
  240.      the entity.  *Note Definition Commands::.
  241.  
  242. `@deftypevar DATA-TYPE VARIABLE-NAME'
  243.      Format a description for a variable in a typed language.  The
  244.      command is equivalent to `@deftypevr Variable ...'.  *Note
  245.      Definition Commands::.
  246.  
  247. `@defun FUNCTION-NAME ARGUMENTS...'
  248.      Format a description for functions.  The command is equivalent to
  249.      `@deffn Function ...'.  *Note Definition Commands::.
  250.  
  251. `@defvar VARIABLE-NAME'
  252.      Format a description for variables.  The command is equivalent to
  253.      `@defvr Variable ...'.  *Note Definition Commands::.
  254.  
  255. `@defvr CATEGORY NAME'
  256.      Format a description for any kind of variable.  `@defvr' takes as
  257.      arguments the category of the entity and the name of the entity.
  258.      *Note Definition Commands::.
  259.  
  260. `@dfn{TERM}'
  261.      Highlight the introductory or defining use of a term. *Note
  262.      `@dfn': dfn.
  263.  
  264. `@display'
  265.      Begin a kind of example.  Indent text, do not fill, do not select a
  266.      new font.  Pair with `@end display'.  *Note  `@display': display.
  267.  
  268. `@dmn{DIMENSION}'
  269.      Format a dimension.  Causes TeX to insert a narrow space before
  270.      DIMENSION.  Has no effect in Info.  Used for writing a number
  271.      followed by an abbreviation of a dimension name, such as `12pt',
  272.      written as `12@dmn{pt}', with no space between the number and the
  273.      `@dmn' command.  *Note  `@dmn': dmn.
  274.  
  275. `@dots{}'
  276.      Insert an ellipsis: `...'. *Note `@dots': dots.
  277.  
  278. `@emph{TEXT}'
  279.      Highlight TEXT; text is displayed in *italics* in printed output,
  280.      and surrounded by asterisks in Info.  *Note Emphasizing Text:
  281.      Emphasis.
  282.  
  283. `@enumerate'
  284.      Begin a numbered list, using `@item' for each entry.  Pair with
  285.      `@end enumerate'.  *Note  `@enumerate': enumerate.
  286.  
  287. `@equiv{}'
  288.      Indicate to the reader the exact equivalence of two forms with a
  289.      glyph: `=='.  *Note Equivalence::.
  290.  
  291. `@error{}'
  292.      Indicate to the reader with a glyph that the following text is an
  293.      error message: `error-->'.  *Note Error Glyph::.
  294.  
  295. `@evenfooting [LEFT] @| [CENTER] @| [RIGHT]'
  296.      Specify page footings for even-numbered (left-hand) pages.  Not
  297.      relevant to Info.  *Note How to Make Your Own Headings: Custom
  298.      Headings.
  299.  
  300. `@evenheading [LEFT] @| [CENTER] @| [RIGHT]'
  301.      Specify page headings for even-numbered (left-hand) pages.  Not
  302.      relevant to Info.  *Note How to Make Your Own Headings: Custom
  303.      Headings.
  304.  
  305. `@everyfooting [LEFT] @| [CENTER] @| [RIGHT]'
  306.      Specify page footings for every page.  Not relevant to Info. 
  307.      *Note How to Make Your Own Headings: Custom Headings.
  308.  
  309. `@everyheading [LEFT] @| [CENTER] @| [RIGHT]'
  310.      Specify page headings for every page.  Not relevant to Info. 
  311.      *Note How to Make Your Own Headings: Custom Headings.
  312.  
  313. `@example'
  314.      Begin an example.  Indent text, do not fill, and select
  315.      fixed-width font. Pair with `@end example'.  *Note  `@example':
  316.      example.
  317.  
  318. `@exdent LINE-OF-TEXT'
  319.      Remove any indentation a line might have.  *Note  Undoing the
  320.      Indentation of a Line: exdent.
  321.  
  322. `@expansion{}'
  323.      Indicate the result of a macro expansion to the reader with a
  324.      special glyph: `==>'. *Note ==> Indicating an Expansion: expansion.
  325.  
  326. `@file{FILENAME}'
  327.      Highlight the name of a file, buffer, node, or directory.  *Note 
  328.      `@file': file.
  329.  
  330. `@finalout'
  331.      Prevent TeX from printing large black warning rectangles beside
  332.      over-wide lines.  *Note Overfull hboxes::.
  333.  
  334. `@findex ENTRY'
  335.      Add ENTRY to the index of functions.  *Note  Defining the Entries
  336.      of an Index: Index Entries.
  337.  
  338. `@flushleft'
  339.      Left justify every line but leave the right end ragged. Leave font
  340.      as is.  Pair with `@end flushleft'. *Note `@flushleft' and
  341.      `@flushright': flushleft & flushright.
  342.  
  343. `@flushright'
  344.      Right justify every line but leave the left end ragged. Leave font
  345.      as is.  Pair with `@end flushright'. *Note `@flushleft' and
  346.      `@flushright': flushleft & flushright.
  347.  
  348. `@footnote{TEXT-OF-FOOTNOTE}'
  349.      Enter a footnote.  Footnote text is printed at the bottom of the
  350.      page by TeX; Info may format in either `End' node or `Separate'
  351.      node style. *Note Footnotes::.
  352.  
  353. `@footnotestyle STYLE'
  354.      Specify an Info file's footnote style, either `end' for the end
  355.      node style or `separate' for the separate node style. *Note
  356.      Footnotes::.
  357.  
  358. `@format'
  359.      Begin a kind of example.  Like `@example' or `@display', but do
  360.      not narrow the margins and do not select the fixed-width font.
  361.      Pair with `@end format'.  *Note  `@example': example.
  362.  
  363. `@ftable FORMATTING-COMMAND'
  364.      Begin a two-column table, using `@item' for each entry.
  365.      Automatically enter each of the items in the first column into the
  366.      index of functions.  Pair with `@end ftable'.  The same as
  367.      `@table', except for indexing.  *Note  `@ftable' and `@vtable':
  368.      ftable vtable.
  369.  
  370. `@group'
  371.      Hold text together that must appear on one printed page.  Pair with
  372.      `@end group'.  Not relevant to Info.  *Note  `@group': group.
  373.  
  374. `@heading TITLE'
  375.      Print an unnumbered section-like heading in the text, but not in
  376.      the table of contents of a printed manual.  In Info, the title is
  377.      underlined with equal signs.  *Note Section Commands:
  378.      unnumberedsec appendixsec heading.
  379.  
  380. `@headings ON-OFF-SINGLE-DOUBLE'
  381.      Turn page headings on or off, or specify single-sided or
  382.      double-sided page headings for printing.  `@headings on' is
  383.      synonymous with `@headings double'.  *Note The `@headings'
  384.      Command: headings on off.
  385.  
  386. `@i{TEXT}'
  387.      Print TEXT in italic font.  No effect in Info. *Note Fonts::.
  388.  
  389. `@ifclear FLAG'
  390.      If FLAG is cleared, the Texinfo formatting commands format text
  391.      between `@ifclear FLAG' and the following `@end ifclear' command. 
  392.      *Note `@set' and `@clear': set and clear.
  393.  
  394. `@ifinfo'
  395.      Begin a stretch of text that will be ignored by TeX when it
  396.      typesets the printed manual.  The text appears only in the Info
  397.      file. Pair with `@end ifinfo'.  *Note Conditionally Visible Text:
  398.      Conditionals.
  399.  
  400. `@ifset FLAG'
  401.      If FLAG is set, the Texinfo formatting commands format text
  402.      between `@ifset FLAG' and the following `@end ifset' command. 
  403.      *Note `@set' and `@clear': set and clear.
  404.  
  405. `@iftex'
  406.      Begin a stretch of text that will not appear in the Info file, but
  407.      will be processed only by TeX.  Pair with `@end iftex'. *Note
  408.      Conditionally Visible Text: Conditionals.
  409.  
  410. `@ignore'
  411.      Begin a stretch of text that will not appear in either the Info
  412.      file or the printed output.  Pair with `@end ignore'. *Note
  413.      Comments and Ignored Text: Comments.
  414.  
  415. `@include FILENAME'
  416.      Incorporate the contents of the file FILENAME into the Info file
  417.      or printed document.  *Note Include Files::.
  418.  
  419. `@inforef{NODE-NAME, [ENTRY-NAME], INFO-FILE-NAME}'
  420.      Make a cross reference to an Info file for which there is no
  421.      printed manual.  *Note Cross references using `@inforef': inforef.
  422.  
  423. `\input MACRO-DEFINITIONS-FILE'
  424.      Use the specified macro definitions file.  This command is used
  425.      only in the first line of a Texinfo file to cause TeX to make use
  426.      of the `texinfo' macro definitions file.  The backslash in `\input'
  427.      is used instead of an `@' because TeX does not properly recognize
  428.      `@' until after it has read the definitions file. *Note The
  429.      Texinfo File Header: Header.
  430.  
  431. `@item'
  432.      Indicate the beginning of a marked paragraph for `@itemize' and
  433.      `@enumerate'; indicate the beginning of the text of a first column
  434.      entry for `@table', `@ftable', and `@vtable'. *Note Lists and
  435.      Tables::.
  436.  
  437. `@itemize  MARK-GENERATING-CHARACTER-OR-COMMAND'
  438.      Produce a sequence of indented paragraphs, with a mark inside the
  439.      left margin at the beginning of each paragraph.  Pair with `@end
  440.      itemize'.  *Note `@itemize': itemize.
  441.  
  442. `@itemx'
  443.      Like `@item' but do not generate extra vertical space above the
  444.      item text.  *Note `@itemx': itemx.
  445.  
  446. `@kbd{KEYBOARD-CHARACTERS}'
  447.      Indicate text that consists of characters of input to be typed by
  448.      users.  *Note `@kbd': kbd.
  449.  
  450. `@key{KEY-NAME}'
  451.      Highlight KEY-NAME, a conventional name for a key on a keyboard.
  452.      *Note `@key': key.
  453.  
  454. `@kindex ENTRY'
  455.      Add ENTRY to the index of keys.  *Note Defining the Entries of an
  456.      Index: Index Entries.
  457.  
  458. `@lisp'
  459.      Begin an example of Lisp code.  Indent text, do not fill, and
  460.      select fixed-width font.  Pair with `@end lisp'.  *Note  `@lisp':
  461.      Lisp Example.
  462.  
  463. `@majorheading  TITLE'
  464.      Print a chapter-like heading in the text, but not in the table of
  465.      contents of a printed manual.  Generate more vertical whitespace
  466.      before the heading than the `@chapheading' command.  In Info, the
  467.      chapter heading line is underlined with asterisks.  *Note
  468.      `@majorheading' and `@chapheading': majorheading & chapheading.
  469.  
  470. `@menu'
  471.      Mark the beginning of a menu of nodes in Info.  No effect in a
  472.      printed manual.  Pair with `@end menu'.  *Note Menus::.
  473.  
  474. `@minus{}'
  475.      Generate a minus sign.  *Note `@minus': minus.
  476.  
  477. `@need N'
  478.      Start a new page in a printed manual if fewer than N mils
  479.      (thousandths of an inch) remain on the current page.  *Note 
  480.      `@need': need.
  481.  
  482. `@node NAME, NEXT, PREVIOUS, UP'
  483.      Define the beginning of a new node in Info, and serve as a locator
  484.      for references for TeX.  *Note `@node': node.
  485.  
  486. `@noindent'
  487.      Prevent text from being indented as if it were a new paragraph.
  488.      *Note `@noindent': noindent.
  489.  
  490. `@oddfooting [LEFT] @| [CENTER] @| [RIGHT]'
  491.      Specify page footings for odd-numbered (right-hand) pages.  Not
  492.      relevant to Info.  *Note How to Make Your Own Headings: Custom
  493.      Headings.
  494.  
  495. `@oddheading [LEFT] @| [CENTER] @| [RIGHT]'
  496.      Specify page headings for odd-numbered (right-hand) pages.  Not
  497.      relevant to Info.  *Note How to Make Your Own Headings: Custom
  498.      Headings.
  499.  
  500. `@page'
  501.      Start a new page in a printed manual.  No effect in Info. *Note
  502.      `@page': page.
  503.  
  504. `@paragraphindent INDENT'
  505.      Indent paragraphs by INDENT number of spaces; delete indentation
  506.      if the value of INDENT is 0; and do not change indentation if
  507.      INDENT is `asis'. *Note Paragraph Indenting: paragraphindent.
  508.  
  509. `@pindex ENTRY'
  510.      Add ENTRY to the index of programs.  *Note Defining the Entries of
  511.      an Index: Index Entries.
  512.  
  513. `@point{}'
  514.      Indicate the position of point in a buffer to the reader with a
  515.      glyph: `-!-'.  *Note Indicating Point in a Buffer: Point Glyph.
  516.  
  517. `@print{}'
  518.      Indicate printed output to the reader with a glyph: `-|'.  *Note
  519.      Print Glyph::.
  520.  
  521. `@printindex INDEX-NAME'
  522.      Print an alphabetized two-column index in a printed manual or
  523.      generate an alphabetized menu of index entries for Info.  *Note
  524.      Printing Indices & Menus::.
  525.  
  526. `@pxref{NODE-NAME, [ENTRY], [TOPIC-OR-TITLE], [INFO-FILE], [MANUAL]}'
  527.      Make a reference that starts with a lower case `see' in a printed
  528.      manual.  Use within parentheses only.  Do not follow command with a
  529.      punctuation mark.  The Info formatting commands automatically
  530.      insert terminating punctuation as needed, which is why you do not
  531.      need to insert punctuation.  Only the first argument is mandatory.
  532.      *Note `@pxref': pxref.
  533.  
  534. `@quotation'
  535.      Narrow the margins to indicate text that is quoted from another
  536.      real or imaginary work.  Write command on a line of its own.  Pair
  537.      with `@end quotation'.  *Note  `@quotation': quotation.
  538.  
  539. `@r{TEXT}'
  540.      Print TEXT in roman font.  No effect in Info. *Note Fonts::.
  541.  
  542. `@ref{NODE-NAME, [ENTRY], [TOPIC-OR-TITLE], [INFO-FILE], [MANUAL]}'
  543.      Make a reference.  In a printed manual, the reference does not
  544.      start with a `See'.  Follow command with a punctuation mark.  Only
  545.      the first argument is mandatory.  *Note `@ref': ref.
  546.  
  547. `@refill'
  548.      In Info, refill and indent the paragraph after all the other
  549.      processing has been done.  No effect on TeX, which always refills.
  550.       This command is no longer needed, since all formatters now
  551.      automatically refill. *Note Refilling Paragraphs::.
  552.  
  553. `@result{}'
  554.      Indicate the result of an expression to the reader with a special
  555.      glyph: `=>'.  *Note `@result': result.
  556.  
  557. `@samp{TEXT}'
  558.      Highlight TEXT that is a literal example of a sequence of
  559.      characters.  Used for single characters, for statements, and often
  560.      for entire shell commands.  *Note `@code': samp.
  561.  
  562. `@sc{TEXT}'
  563.      Set TEXT in a printed output in THE SMALL CAPS FONT and set text
  564.      in the Info file in uppercase letters. *Note Smallcaps::.
  565.  
  566. `@section TITLE'
  567.      Begin a section within a chapter.  In a printed manual, the section
  568.      title is numbered and appears in the table of contents.  In Info,
  569.      the title is underlined with equal signs.  *Note  `@section':
  570.      section.
  571.  
  572. `@set FLAG'
  573.      Set FLAG, causing the Texinfo formatting commands to format text
  574.      between subsequent pairs of `@ifset FLAG' and `@end ifset'
  575.      commands.  *Note `@set' and `@clear': set and clear.
  576.  
  577. `@setchapternewpage ON-OFF-ODD'
  578.      Specify whether chapters start on new pages, and if so, whether on
  579.      odd-numbered (right-hand) new pages.  *Note  `@setchapternewpage':
  580.      setchapternewpage.
  581.  
  582. `@setfilename INFO-FILE-NAME'
  583.      Provide a name for the Info file.  *Note General Syntactic
  584.      Conventions: Conventions.
  585.  
  586. `@settitle TITLE'
  587.      Provide a title for page headers in a printed manual. *Note
  588.      General Syntactic Conventions: Conventions.
  589.  
  590. `@shortcontents'
  591.      Print a short table of contents.  Not relevant to Info, which uses
  592.      menus rather than tables of contents.  A synonym for
  593.      `@summarycontents'.  *Note Generating a Table of Contents:
  594.      Contents.
  595.  
  596. `@smallbook'
  597.      Cause TeX to produce a printed manual in a 7 by 9.25 inch format
  598.      rather than the regular 8.5 by 11 inch format.  *Note  Printing
  599.      Small Books: smallbook.  Also, see *Note  `@smallexample' and
  600.      `@smalllisp': smallexample & smalllisp.
  601.  
  602. `@smallexample'
  603.      Indent text to indicate an example.  Do not fill, select
  604.      fixed-width font.  In `@smallbook' format, print text in a smaller
  605.      font than with `@example'.  Pair with `@end smallexample'. *Note
  606.      `@smallexample' and `@smalllisp': smallexample & smalllisp.
  607.  
  608. `@smalllisp'
  609.      Begin an example of Lisp code.  Indent text, do not fill, select
  610.      fixed-width font.  In `@smallbook' format, print text in a smaller
  611.      font.  Pair with `@end smalllisp'.  *Note `@smallexample' and
  612.      `@smalllisp': smallexample & smalllisp.
  613.  
  614. `@sp N'
  615.      Skip N blank lines.  *Note `@sp': sp.
  616.  
  617. `@strong TEXT'
  618.      Emphasize TEXT by typesetting it in a *bold* font for the printed
  619.      manual and by surrounding it with asterisks for Info. *Note
  620.      Emphasizing Text: emph & strong.
  621.  
  622. `@subheading TITLE'
  623.      Print an unnumbered subsection-like heading in the text, but not in
  624.      the table of contents of a printed manual.  In Info, the title is
  625.      underlined with hyphens.  *Note `@unnumberedsubsec'
  626.      `@appendixsubsec' `@subheading': unnumberedsubsec appendixsubsec
  627.      subheading.
  628.  
  629. `@subsection TITLE'
  630.      Begin a subsection within a section.  In a printed manual, the
  631.      subsection title is numbered and appears in the table of contents.
  632.       In Info, the title is underlined with hyphens.  *Note 
  633.      `@subsection': subsection.
  634.  
  635. `@subsubheading TITLE'
  636.      Print an unnumbered subsubsection-like heading in the text, but
  637.      not in the table of contents of a printed manual.  In Info, the
  638.      title is underlined with periods.  *Note The `subsub' Commands:
  639.      subsubsection.
  640.  
  641. `@subsubsection TITLE'
  642.      Begin a subsubsection within a subsection.  In a printed manual,
  643.      the subsubsection title is numbered and appears in the table of
  644.      contents.  In Info, the title is underlined with periods. *Note
  645.      The `subsub' Commands: subsubsection.
  646.  
  647. `@subtitle TITLE'
  648.      In a printed manual, set a subtitle in a normal sized font flush to
  649.      the right-hand side of the page.  Not relevant to Info, which does
  650.      not have title pages.  *Note `@title' `@subtitle' and `@author'
  651.      Commands: title subtitle author.
  652.  
  653. `@summarycontents'
  654.      Print a short table of contents.  Not relevant to Info, which uses
  655.      menus rather than tables of contents.  A synonym for
  656.      `@shortcontents'.  *Note Generating a Table of Contents: Contents.
  657.  
  658. `@syncodeindex FROM-INDEX INTO-INDEX'
  659.      Merge the index named in the first argument into the index named in
  660.      the second argument, printing the entries from the first index in
  661.      `@code' font.  *Note Combining Indices::.
  662.  
  663. `@synindex FROM-INDEX INTO-INDEX'
  664.      Merge the index named in the first argument into the index named in
  665.      the second argument.  Do not change the font of FROM-INDEX
  666.      entries.  *Note Combining Indices::.
  667.  
  668. `@t{TEXT}'
  669.      Print TEXT in a fixed-width, typewriter-like font. No effect in
  670.      Info.  *Note Fonts::.
  671.  
  672. `@table FORMATTING-COMMAND'
  673.      Begin a two-column table, using `@item' for each entry.  Write
  674.      each first column entry on the same line as `@item'.  First column
  675.      entries are printed in the font resulting from FORMATTING-COMMAND.
  676.       Pair with `@end table'. *Note Making a Two-column Table:
  677.      Two-column Tables. Also see *Note `@ftable' and `@vtable': ftable
  678.      vtable, and *Note `@itemx': itemx.
  679.  
  680. `@TeX{}'
  681.      Insert the logo TeX.  *Note Inserting TeX and (C): TeX and
  682.      copyright.
  683.  
  684. `@tex'
  685.      Enter TeX completely.  Pair with `@end tex'.  *Note Using Ordinary
  686.      TeX Commands: Using Ordinary TeX Commands.
  687.  
  688. `@thischapter'
  689.      In a heading or footing, stands for the number and name of the
  690.      current chapter, in the format `Chapter 1: Title'.  *Note How to
  691.      Make Your Own Headings: Custom Headings.
  692.  
  693. `@thischaptername'
  694.      In a heading or footing, stands for the name of the current
  695.      chapter. *Note How to Make Your Own Headings: Custom Headings.
  696.  
  697. `@thisfile'
  698.      In a heading or footing, stands for the name of the current
  699.      `@include' file.  Does not insert anything if not within an
  700.      `@include' file.  *Note How to Make Your Own Headings: Custom
  701.      Headings.
  702.  
  703. `@thispage'
  704.      In a heading or footing, stands for the current page number. *Note
  705.      How to Make Your Own Headings: Custom Headings.
  706.  
  707. `@thistitle'
  708.      In a heading or footing, stands for the name of the document, as
  709.      specified by the `@settitle' command.  *Note How to Make Your Own
  710.      Headings: Custom Headings.
  711.  
  712. `@tindex ENTRY'
  713.      Add ENTRY to the index of data types.  *Note  Defining the Entries
  714.      of an Index: Index Entries.
  715.  
  716. `@title TITLE'
  717.      In a printed manual, set a title flush to the left-hand side of the
  718.      page in a larger than normal font and underline it with a black
  719.      rule. Not relevant to Info, which does not have title pages. 
  720.      *Note The `@title' `@subtitle' and `@author' Commands: title
  721.      subtitle author.
  722.  
  723. `@titlefont{TEXT}'
  724.      In a printed manual, print TEXT in a larger than normal font. Not
  725.      relevant to Info, which does not have title pages. *Note The
  726.      `@titlefont' `@center' and `@sp' Commands: titlefont center sp.
  727.  
  728. `@titlepage'
  729.      Indicate to Texinfo the beginning of the title page.  Write
  730.      command on a line of its own.  Pair with `@end titlepage'. 
  731.      Nothing between `@titlepage' and `@end titlepage' appears in Info.
  732.      *Note `@titlepage': titlepage.
  733.  
  734. `@today{}'
  735.      Insert the current date, in `1 Jan 1900' style.  *Note How to Make
  736.      Your Own Headings: Custom Headings.
  737.  
  738. `@top TITLE'
  739.      In a Texinfo file to be formatted with `makeinfo', identify the
  740.      topmost `@node' line in the file, which must be written on the line
  741.      immediately preceding the `@top' command.  Used for `makeinfo''s
  742.      node pointer insertion feature.  The title is underlined with
  743.      asterisks.  Both the `@node' line and the `@top' line normally
  744.      should be enclosed by `@ifinfo' and `@end ifinfo'.  In TeX and
  745.      `texinfo-format-buffer', the `@top' command is merely a synonym
  746.      for `@unnumbered'.  *Note Creating Pointers with `makeinfo':
  747.      makeinfo Pointer Creation.
  748.  
  749. `@unnumbered TITLE'
  750.      In a printed manual, begin a chapter that appears without chapter
  751.      numbers of any kind.  The title appears in the table of contents
  752.      of a printed manual.  In Info, the title is underlined with
  753.      asterisks. *Note `@unnumbered' and `@appendix': unnumbered &
  754.      appendix.
  755.  
  756. `@unnumberedsec TITLE'
  757.      In a printed manual, begin a section that appears without section
  758.      numbers of any kind.  The title appears in the table of contents
  759.      of a printed manual.  In Info, the title is underlined with equal
  760.      signs. *Note Section Commands: unnumberedsec appendixsec heading.
  761.  
  762. `@unnumberedsubsec TITLE'
  763.      In a printed manual, begin an unnumbered subsection within a
  764.      chapter.  The title appears in the table of contents of a printed
  765.      manual.  In Info, the title is underlined with hyphens. *Note 
  766.      `@unnumberedsubsec' `@appendixsubsec' `@subheading':
  767.      unnumberedsubsec appendixsubsec subheading.
  768.  
  769. `@unnumberedsubsubsec TITLE'
  770.      In a printed manual, begin an unnumbered subsubsection within a
  771.      chapter.  The title appears in the table of contents of a printed
  772.      manual.  In Info, the title is underlined with periods. *Note The
  773.      `subsub' Commands: subsubsection.
  774.  
  775. `@var{METASYNTACTIC-VARIABLE}'
  776.      Highlight a metasyntactic variable, which is something that stands
  777.      for another piece of text.  *Note Indicating Metasyntactic
  778.      Variables: var.
  779.  
  780. `@vindex ENTRY'
  781.      Add ENTRY to the index of variables.  *Note  Defining the Entries
  782.      of an Index: Index Entries.
  783.  
  784. `@vskip AMOUNT'
  785.      In a printed manual, insert whitespace so as to push text on the
  786.      remainder of the page towards the bottom of the page.  Used in
  787.      formatting the copyright page with the argument `0pt plus 1filll'.
  788.       (Note spelling of `filll'.)  `@vskip' may be used only in
  789.      contexts ignored for Info.  *Note  The Copyright Page and Printed
  790.      Permissions: Copyright & Permissions.
  791.  
  792. `@vtable FORMATTING-COMMAND'
  793.      Begin a two-column table, using `@item' for each entry.
  794.      Automatically enter each of the items in the first column into the
  795.      index of variables.  Pair with `@end vtable'.  The same as
  796.      `@table', except for indexing.  *Note  `@ftable' and `@vtable':
  797.      ftable vtable.
  798.  
  799. `@w{TEXT}'
  800.      Prevent TEXT from being split across two lines.  Do not end a
  801.      paragraph that uses `@w' with an `@refill' command. In the Texinfo
  802.      file, keep TEXT on one line. *Note `@w': w.
  803.  
  804. `@xref{NODE-NAME, [ENTRY], [TOPIC-OR-TITLE], [INFO-FILE], [MANUAL]}'
  805.      Make a reference that starts with `See' in a printed manual. 
  806.      Follow command with a punctuation mark.  Only the first argument is
  807.      mandatory.  *Note `@xref': xref.
  808.  
  809. 
  810. File: texinfo,  Node: Tips,  Next: Sample Texinfo File,  Prev: Command List,  Up: Top
  811.  
  812. Tips and Hints
  813. **************
  814.  
  815.    Here are some tips for writing Texinfo documentation:
  816.  
  817.    * Write in the present tense, not in the past or the future.
  818.  
  819.    * Write actively!  For example, write "We recommend that ..." rather
  820.      than "It is recommended that ...".
  821.  
  822.    * Use 70 or 72 as your fill column.  Longer lines are hard to read.
  823.  
  824.    * Include a copyright notice and copying permissions.
  825.  
  826. Index, index, index!
  827. ....................
  828.  
  829.    Write many index entries, in different ways. Readers like indices;
  830. they are helpful and convenient.
  831.  
  832.    Although it is easiest to write index entries as you write the body
  833. of the text, some people prefer to write entries afterwards.  In either
  834. case, write an entry before the paragraph to which it applies.  This
  835. way, an index entry points to the first page of a paragraph that is
  836. split across pages.
  837.  
  838.    Here are more hints we have found valuable:
  839.  
  840.    * Write each index entry differently, so each entry refers to a
  841.      different place in the document.  The index of an Info file lists
  842.      only one location for each entry.
  843.  
  844.    * Write index entries only where a topic is discussed significantly.
  845.       For example, it is not useful to index "debugging information" in
  846.      a chapter on reporting bugs.  Someone who wants to know about
  847.      debugging information will certainly not find it in that chapter.
  848.  
  849.    * Consistently capitalize the first word of every index entry, or
  850.      else use lower case.  According to convention, you should
  851.      capitalize the first word of an index entry.  However, this
  852.      practice may make an index look crowded.  Some writers prefer
  853.      lower case.  Regardless of which you prefer, choose one style and
  854.      stick to it.  Mixing the two styles looks bad.
  855.  
  856.    * Always capitalize or use upper case for those words in an index for
  857.      which this is proper, such as names of countries or acronyms.
  858.  
  859.    * Write the indexing commands that refer to a whole section
  860.      immediately after the section command, and write the indexing
  861.      commands that refer to the paragraph before the paragraph.
  862.  
  863.      For example:
  864.  
  865.           @section The Dog and the Fox
  866.           @cindex Jumping, in general
  867.           @cindex Leaping
  868.           
  869.           @cindex Dog, lazy, jumped over
  870.           @cindex Lazy dog jumped over
  871.           @cindex Fox, jumps over dog
  872.           @cindex Quick fox jumps over dog
  873.           The quick brown fox jumps over the lazy dog.
  874.  
  875.      (Note that the example shows entries for the same concept that are
  876.      written in different ways--`Lazy dog', and `Dog, lazy'--so readers
  877.      can look up the concept in different ways.)
  878.  
  879. Blank lines
  880. ...........
  881.  
  882.    * Insert a blank line between a sectioning command and the first
  883.      following sentence or paragraph, or between the indexing commands
  884.      associated with the sectioning command and the first following
  885.      sentence or paragraph, as shown in the tip on indexing. 
  886.      Otherwise, a formatter may fold title and paragraph together.
  887.  
  888.    * Always insert a blank line before an `@table' command and after an
  889.      `@end table' command; but never insert a blank line after an
  890.      `@table' command or before an `@end table' command.
  891.  
  892.      For example:
  893.  
  894.           Types of fox:
  895.           
  896.           @table @samp
  897.           @item Quick
  898.           Jump over lazy dogs.
  899.           
  900.           @item Brown
  901.           Also jump over lazy dogs.
  902.           @end table
  903.           
  904.           @noindent
  905.           On the other hand, ...
  906.  
  907.      Insert blank lines before and after `@itemize' ... `@end itemize'
  908.      and `@enumerate' ... `@end enumerate' in the same way.
  909.  
  910. Complete phrases
  911. ................
  912.  
  913.    Complete phrases are easier to read than ....
  914.  
  915.    * Write entries in an itemized list as complete sentences; or at
  916.      least, as complete phrases.  Incomplete expressions ... awkward
  917.      ... like this.
  918.  
  919.    * Write the prefatory sentence or phrase for a multi-item list or
  920.      table as a complete expression.  Do not write "You can set:";
  921.      instead, write "You can set these variables:".  The former
  922.      expression sounds cut off.
  923.  
  924. Editions, dates and versions
  925. ............................
  926.  
  927.    Write the edition and version numbers and date in three places in
  928. every manual:
  929.  
  930.   1. In the first `@ifinfo' section, for people reading the Texinfo
  931.      file.
  932.  
  933.   2. In the `@titlepage' section, for people reading the printed manual.
  934.  
  935.   3. In the `Top' node, for people reading the Info file.
  936.  
  937. Also, it helps to write a note before the first ifinfo section to
  938. explain what you are doing.
  939.  
  940. For example:
  941.  
  942.      @c ===> NOTE! <==
  943.      @c Specify the edition and version numbers and date
  944.      @c in *three* places:
  945.      @c   1. First ifinfo section  2. title page  3. top node
  946.      @c To find the locations, search for !!set
  947.      
  948.      @ifinfo
  949.      @c !!set edition, date, version
  950.      This is Edition 4.03, January 1992,
  951.      of the @cite{GDB Manual} for GDB Version 4.3.
  952.      ...
  953.  
  954. Definition Commands
  955. ...................
  956.  
  957.    Definition commands are `@deffn', `@defun', `@defmac', and the like,
  958. and enable you to write descriptions in a uniform format.
  959.  
  960.    * Write just one definition command for each entity you define with a
  961.      definition command.  The automatic indexing feature creates an
  962.      index entry that leads the reader to the definition.
  963.  
  964.    * Use `@table' ... `@end table' in an appendix that contains a
  965.      summary of functions, not `@deffn' or other definition commands.
  966.  
  967. Capitalization
  968. ..............
  969.  
  970.    * Capitalize `Texinfo'; it is a name.  Do not write the `x' or `i'
  971.      in upper case.
  972.  
  973.    * Capitalize `Info'; it is a name.
  974.  
  975.    * Write TeX using the `@TeX{}' command.  Note the uppercase `T' and
  976.      `X'.  This command causes the formatters to typeset the name
  977.      according to the wishes of Donald Knuth, who wrote TeX.
  978.  
  979. Spaces
  980. ......
  981.  
  982.    Do not use spaces to format a Texinfo file, except inside of
  983. `@example' ... `@end example' and similar commands.
  984.  
  985.    For example, TeX fills the following:
  986.  
  987.          @kbd{C-x v}
  988.          @kbd{M-x vc-next-action}
  989.             Perform the next logical operation
  990.             on the version-controlled file
  991.             corresponding to the current buffer.
  992.  
  993. so it looks like this:
  994.  
  995.      `C-x v' `M-x vc-next-action' Perform the next logical operation on
  996.      the version-controlled file corresponding to the current buffer.
  997.  
  998. In this case, the text should be formatted with `@table', `@item', and
  999. `@itemx', to create a table.
  1000.  
  1001. @code, @samp, @var, and `---'
  1002. .............................
  1003.  
  1004.    * Use `@code' around Lisp symbols, including command names. For
  1005.      example:
  1006.  
  1007.           The main function is @code{vc-next-action}, ...
  1008.  
  1009.    * Avoid putting letters such as `s' immediately after an `@code'. 
  1010.      Such letters look bad.
  1011.  
  1012.    * Use `@var' around meta-variables.  Do not write angle brackets
  1013.      around them.
  1014.  
  1015.    * Use three hyphens in a row, `---', to indicate a long dash.  TeX
  1016.      typesets these as a long dash and the Info formatters reduce three
  1017.      hyphens to two.
  1018.  
  1019. Periods Outside of Quotes
  1020. .........................
  1021.  
  1022.    Place periods and other punctuation marks *outside* of quotations,
  1023. unless the punctuation is part of the quotation.  This practice goes
  1024. against convention, but enables the reader to distinguish between the
  1025. contents of the quotation and the whole passage.
  1026.  
  1027.    For example, you should write the following sentence with the period
  1028. outside the end quotation marks:
  1029.  
  1030.      Evidently, `au' is an abbreviation for ``author''.
  1031.  
  1032. since `au' does *not* serve as an  abbreviation for `author.' (with a
  1033. period following the word).
  1034.  
  1035. Introducing New Terms
  1036. .....................
  1037.  
  1038.    * Introduce new terms so that a user who does not know them can
  1039.      understand them from context; or write a definition for the term.
  1040.  
  1041.      For example, in the following, the terms "check in", "register" and
  1042.      "delta" are all appearing for the first time; the example sentence
  1043.      should be rewritten so they are understandable.
  1044.  
  1045.           The major function assists you in checking in a file to your
  1046.           version control system and registering successive sets of
  1047.           changes to it as deltas.
  1048.  
  1049.    * Use the `@dfn' command around a word being introduced, to indicate
  1050.      that the user should not expect to know the meaning already, and
  1051.      should expect to learn the meaning from this passage.
  1052.  
  1053. @pxref
  1054. ......
  1055.  
  1056.    Absolutely never use `@pxref' except in the special context for
  1057. which it is designed: inside parentheses, with the closing parenthesis
  1058. following immediately after the closing brace.  One formatter
  1059. automatically inserts closing punctuation and the other does not.  This
  1060. means that the output looks right both in printed output and in an Info
  1061. file, but only when the command is used inside parentheses.
  1062.  
  1063. Invoking from a Shell
  1064. .....................
  1065.  
  1066.    You can invoke programs such as Emacs, GCC, and GAWK from a shell.
  1067. The documentation for each program should contain a section that
  1068. describes this.  Unfortunately, if the node names and titles for these
  1069. sections are all different, readers find it hard to search for the
  1070. section.
  1071.  
  1072.    Name such sections with a phrase beginning with the word
  1073. `Invoking ...', as in `Invoking Emacs'; this way users can find the
  1074. section easily.
  1075.  
  1076. ANSI C Syntax
  1077. .............
  1078.  
  1079.    When you use `@example' to describe a C function's calling
  1080. conventions, use the ANSI C syntax, like this:
  1081.  
  1082.      void dld_init (char *@var{path});
  1083.  
  1084. And in the subsequent discussion, refer to the argument values by
  1085. writing the same argument names, again highlighted with `@var'.
  1086.  
  1087.    Avoid the obsolete style that looks like this:
  1088.  
  1089.      #include <dld.h>
  1090.      
  1091.      dld_init (path)
  1092.      char *path;
  1093.  
  1094.    Also, it is best to avoid writing `#include' above the declaration
  1095. just to indicate that the function is declared in a header file.  The
  1096. practice may give the misimpression that the `#include' belongs near
  1097. the declaration of the function.  Either state explicitly which header
  1098. file holds the declaration or, better yet, name the header file used
  1099. for a group of functions at the beginning of the section that describes
  1100. the functions.
  1101.  
  1102. Bad Examples
  1103. ............
  1104.  
  1105.    Here are several examples of bad writing to avoid:
  1106.  
  1107.      If you are working with other people, it assists in coordinating
  1108.      everyone's changes so they do not step on each other.
  1109.  
  1110. It is not clear what `it' refers to.
  1111.  
  1112.      SCCS, RCS and other version-control systems all perform similar
  1113.      functions in broadly similar ways (it is this resemblance which
  1114.      makes a unified control mode like this possible).
  1115.  
  1116. Say, "... makes a unified interface such as VC mode possible."
  1117.  
  1118.      When you are done editing the file, you must perform a
  1119.      `@dfn'{check in}.
  1120.  
  1121. Say, " ... you must `@dfn'{check in} the new version." That flows
  1122. better.
  1123.  
  1124. And Finally ...
  1125. ...............
  1126.  
  1127.    * Pronounce TeX as if the `X' were a Greek `chi', as the last sound
  1128.      in the name `Bach'.  But pronounce Texinfo as in `speck':
  1129.      `teckinfo'.
  1130.  
  1131.    * Write notes for yourself at the very end of a Texinfo file after
  1132.      the `@bye'.  None of the formatters process text after the `@bye';
  1133.      it is as if the text were within `@ignore' ... `@end ignore'.
  1134.  
  1135. 
  1136. File: texinfo,  Node: Sample Texinfo File,  Next: Sample Permissions,  Prev: Tips,  Up: Top
  1137.  
  1138. A Sample Texinfo File
  1139. *********************
  1140.  
  1141.    Here is a complete, short sample Texinfo file, without any
  1142. commentary. You can see this file, with comments, in the first chapter.
  1143. *Note A Short Sample Texinfo File: Short Sample.
  1144.  
  1145.      \input texinfo   @c -*-texinfo-*-
  1146.      @c %**start of header
  1147.      @setfilename sample.info
  1148.      @settitle Sample Document
  1149.      @c %**end of header
  1150.      
  1151.      @setchapternewpage odd
  1152.      
  1153.      @ifinfo
  1154.      This is a short example of a complete Texinfo file.
  1155.      
  1156.      Copyright @copyright{} 1990 Free Software Foundation, Inc.
  1157.      @end ifinfo
  1158.      
  1159.      @titlepage
  1160.      @sp 10
  1161.      @comment The title is printed in a large font.
  1162.      @center @titlefont{Sample Title}
  1163.      
  1164.      @c The following two commands start the copyright page.
  1165.      @page
  1166.      @vskip 0pt plus 1filll
  1167.      Copyright @copyright{} 1990 Free Software Foundation, Inc.
  1168.      @end titlepage
  1169.      
  1170.      @node    Top,       First Chapter, (dir),    (dir)
  1171.      @comment node-name, next,          previous, up
  1172.      
  1173.      @menu
  1174.      * First Chapter::    The first chapter is the
  1175.                           only chapter in this sample.
  1176.      * Concept Index::    This index has two entries.
  1177.      @end menu
  1178.      
  1179.      @node    First Chapter, Concept Index, Top,      Top
  1180.      @comment node-name,     next,          previous, up
  1181.      @chapter First Chapter
  1182.      @cindex Sample index entry
  1183.      
  1184.      This is the contents of the first chapter.
  1185.      @cindex Another sample index entry
  1186.      
  1187.      Here is a numbered list.
  1188.      
  1189.      @enumerate
  1190.      @item
  1191.      This is the first item.
  1192.      
  1193.      @item
  1194.      This is the second item.
  1195.      @end enumerate
  1196.      
  1197.      The @code{makeinfo} and @code{texinfo-format-buffer}
  1198.      commands transform a Texinfo file such as this into
  1199.      an Info file; and @TeX{} typesets it for a printed
  1200.      manual.
  1201.      
  1202.      @node    Concept Index,    ,  First Chapter, Top
  1203.      @comment node-name,    next,  previous,      up
  1204.      @unnumbered Concept Index
  1205.      
  1206.      @printindex cp
  1207.      
  1208.      @contents
  1209.      @bye
  1210.  
  1211. 
  1212. File: texinfo,  Node: Sample Permissions,  Next: Include Files,  Prev: Sample Texinfo File,  Up: Top
  1213.  
  1214. Sample Permissions
  1215. ******************
  1216.  
  1217.    Texinfo files should contain sections that tell the readers that they
  1218. have the right to copy and distribute the Texinfo file, the Info file,
  1219. the printed manual, and any accompanying software.  Here are samples
  1220. containing the standard text of the Free Software Foundation copying
  1221. permission notice for an Info file and printed manual.
  1222.  
  1223.    *Note Distribution: (emacs)Distrib, for an example of the text that
  1224. could be used in the software "Distribution", "General Public License",
  1225. and "NO WARRANTY" sections of a document.
  1226.  
  1227. * Menu:
  1228.  
  1229. * Inserting Permissions::       How to put permissions in your document.
  1230. * ifinfo Permissions::          Sample `ifinfo' copying permissions.
  1231. * Titlepage Permissions::       Sample Titlepage copying permissions.
  1232.  
  1233. 
  1234. File: texinfo,  Node: Inserting Permissions,  Next: ifinfo Permissions,  Up: Sample Permissions
  1235.  
  1236. Inserting Permissions
  1237. =====================
  1238.  
  1239.    In a Texinfo file, the first `@ifinfo' section usually begins with a
  1240. line that says what the file documents.  This is what a person reading
  1241. the unprocessed Texinfo file or using the advanced Info command `g *'
  1242. sees first.  *note Advanced Info commands: (info)Expert, for more
  1243. information. (A reader using the regular Info commands will usually
  1244. start reading at the first node and skip this first section, which is
  1245. not in a node.)
  1246.  
  1247.    In the `@ifinfo' section, the summary sentence should be followed by
  1248. a copyright notice and then by the copying permission notice.  One of
  1249. the copying permission paragraphs is enclosed in `@ignore' and `@end
  1250. ignore' commands.  This paragraph states that the Texinfo file can be
  1251. processed through TeX and printed, provided the printed manual carries
  1252. the proper copying permission notice.  This paragraph is not made part
  1253. of the Info file since it is not relevant to the Info file; but it is a
  1254. mandatory part of the Texinfo file since it permits people to process
  1255. the Texinfo file in TeX.
  1256.  
  1257.    In the printed manual, the Free Software Foundation copying
  1258. permission notice follows the copyright notice and publishing
  1259. information and is located within the region delineated by the
  1260. `@titlepage' and `@end titlepage' commands.  The copying permission
  1261. notice is exactly the same as the notice in the `@ifinfo' section
  1262. except that the paragraph enclosed in `@ignore' and `@end ignore'
  1263. commands is not part of the notice.
  1264.  
  1265.    To make it simple to copy the permission notice into each section of
  1266. the Texinfo file, the complete permission notices for each section are
  1267. reproduced in full below.
  1268.  
  1269.    Note that you may need to specify the correct name of a section
  1270. mentioned in the permission notice.  For example, in `The GDB Manual',
  1271. the name of the section referring to the General Public License is
  1272. called the "GDB General Public License", but in the sample shown below,
  1273. that section is referred to generically as the "General Public License".
  1274.  
  1275. 
  1276. File: texinfo,  Node: ifinfo Permissions,  Next: Titlepage Permissions,  Prev: Inserting Permissions,  Up: Sample Permissions
  1277.  
  1278. `ifinfo' Copying Permissions
  1279. ============================
  1280.  
  1281.    In the `@ifinfo' section of the Texinfo file, the standard Free
  1282. Software Foundation permission notices reads as follows:
  1283.  
  1284.      This file documents ...
  1285.      
  1286.      Copyright 1988 Free Software Foundation, Inc.
  1287.      
  1288.      Permission is granted to make and distribute verbatim
  1289.      copies of this manual provided the copyright notice and
  1290.      this permission notice are preserved on all copies.
  1291.      
  1292.      @ignore
  1293.      Permission is granted to process this file through TeX
  1294.      and print the results, provided the printed document
  1295.      carries a copying permission notice identical to this
  1296.      one except for the removal of this paragraph (this
  1297.      paragraph not being relevant to the printed manual).
  1298.      
  1299.      @end ignore
  1300.      Permission is granted to copy and distribute modified
  1301.      versions of this manual under the conditions for
  1302.      verbatim copying, provided also that the sections
  1303.      entitled ``Distribution'' and ``General Public License''
  1304.      are included exactly as in the original, and provided
  1305.      that the entire resulting derived work is distributed
  1306.      under the terms of a permission notice identical to this
  1307.      one.
  1308.      
  1309.      Permission is granted to copy and distribute
  1310.      translations of this manual into another language, under
  1311.      the above conditions for modified versions, except that
  1312.      the sections entitled ``Distribution'' and ``General
  1313.      Public License'' may be included in a translation
  1314.      approved by the author instead of in the original
  1315.      English.
  1316.  
  1317.