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

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