home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-dist / texinfo-3.7-bin.lha / info / texinfo.info-9 (.txt) < prev   
GNU Info File  |  1996-10-12  |  51KB  |  1,026 lines

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