Next: Pointer Validation, Previous: Invoking makeinfo, Up: Creating an Info File
makeinfo
The makeinfo program accepts many options. Perhaps the most commonly needed are those that change the output format. By default, makeinfo outputs Info files.
Each command line option is a word preceded by `--' or a letter preceded by `-'. You can use abbreviations for the long option names as long as they are unique.
For example, you could use the following shell command to create an Info file for bison.texinfo in which each line is filled to only 68 columns:
makeinfo --fill-column=68 bison.texinfo
You can write two or more options in sequence, like this:
makeinfo --no-split --fill-column=70 ...
This would keep the Info file together as one possibly very long file and would also set the fill column to 70.
The options are:
-D
var@set
var in the Texinfo file (see set clear value).
--commands-in-node-names
@
-commands in node names. This is not recommended, as it
can probably never be implemented in TeX. It also makes
makeinfo
much slower. Also, this option is ignored when
`--no-validate' is used. See Pointer Validation, for more
details.
--css-include=
file--docbook
--enable-encoding
documentencoding
, and Inserting Accents.
--error-limit=
limit-e
limitmakeinfo
will report
before exiting (on the assumption that continuing would be useless);
default 100.
--fill-column=
width-f
width--footnote-style=
style-s
style@footnotestyle
command (see Footnotes). When the
footnote style is `separate', makeinfo
makes a new node
containing the footnotes found in the current node. When the footnote
style is `end', makeinfo
places the footnote references at
the end of the current node. Ignored with `--html'.
--force
-F
--help
-h
--html
-I
dir@include
command. By default,
makeinfo
searches only the current directory. If dir is
not given, the current directory . is appended. Note that
dir can actually be a list of several directories separated by the
usual path separator character (`:' on Unix, `;' on
MS-DOS/MS-Windows).
--ifdocbook
--ifhtml
--ifinfo
--ifplaintext
--iftex
--ifxml
--macro-expand=
file-E
filemakeinfo
and then discarded. This option is used by
texi2dvi.
--no-headers
--plaintext
For HTML output, likewise omit menus. And if `--no-split' is also specified, do not include a navigation links at the top of each node (these are never included in the default case of split output). See Generating HTML.
In both cases, ignore @setfilename
and write to standard
output by default—can be overridden with -o.
--no-ifdocbook
--no-ifhtml
--no-ifinfo
--no-ifplaintext
--no-iftex
--no-ifxml
--no-number-footnotes
makeinfo
numbers each footnote sequentially in a single node, resetting the
current footnote number to 1 at the start of each node.
--no-number-sections
--no-split
makeinfo
. By default, large
output files (where the size is greater than 70k bytes) are split into
smaller subfiles. For Info output, each one is approximately 50k bytes.
For HTML output, each file contains one node (see Generating HTML).
--no-pointer-validate
--no-validate
makeinfo
—a dangerous
thing to do. This can also be done with the @novalidate
command (see Use TeX). Normally, after a Texinfo file
is processed, some consistency checks are made to ensure that cross
references can be resolved, etc. See Pointer Validation.
--no-warn
--number-sections
--output=
file-o
file@setfilename
command found in the
Texinfo source (see setfilename). If file is `-', output
goes to standard output and `--no-split' is implied. For split
HTML output, file is the name for the directory into which all
HTML nodes are written (see Generating HTML).
-P
dir@include
.
If dir is not given, the current directory . is prepended.
See `-I' for more details.
--paragraph-indent=
indent-p
indent@paragraphindent
command (see paragraphindent). The value
of indent is interpreted as follows:
--reference-limit=
limit-r
limitmakeinfo
will make without reporting a warning. If a node has more
than this number of references in it, makeinfo
will make the
references but also report a warning. The default is 1000.
--split-size=
num-U
var@clear
var in the Texinfo file (see set clear value).
--verbose
makeinfo
to display messages saying what it is doing.
Normally, makeinfo
only outputs messages if there are errors or
warnings.
--version
-V
--xml
makeinfo also reads the environment variable TEXINFO_OUTPUT_FORMAT to determine the output format, if not overridden by a command line option. The possible values are:
docbook html info plaintext xml
If not set, Info output is the default.