Node:makeinfo options, Next:Pointer Validation, Previous:Invoking makeinfo, Up:Creating an Info File
makeinfo
The makeinfo
command takes a number of options. Most often,
options are used to set the value of the fill column and specify the
footnote style. 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.
--docbook
--enable-encoding
@documentencoding
.
--error-limit=
limit
-e
limit
makeinfo
will report
before exiting (on the assumption that continuing would be useless);
default 100.
--fill-column=
width
-f
width
--html
.
--footnote-style=
style
-s
style
end
for the end
node style (the default) or separate
for the separate node style.
The value set by this option overrides the value set in a Texinfo file
by an @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).
--ifhtml
--ifinfo
--ifplaintext
--iftex
--ifxml
@if
format
and
@
format
commands even if not generating the given output
format. For instance, if --iftex
is specified, then
@iftex
and @tex
blocks will be read. This can be useful
when postprocessing the output.
--macro-expand=
file
-E
file
makeinfo
and then discarded. This option is used by
texi2dvi
if you are using an old version of texinfo.tex
that does not support @macro
.
--no-headers
INSTALL
file).
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, write to standard output by default (can still be
overridden by -o
).
--no-ifhtml
--no-ifinfo
--no-ifplaintext
--no-iftex
--no-ifxml
@if
format
and @
format
commands even if generating the given format. For instance, if
--no-ifhtml
is specified, then @ifhtml
and
@html
blocks will not be read.
--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
. 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
--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.
--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:
asis
0
or none
--reference-limit=
limit
-r
limit
makeinfo
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