22.5.2 Customization Variables and Options

The following table gives the customization variables associated with
some command line options. See Invoking texi2any, for the
meaning of the options.

Option

Variable

--enable-encoding

ENABLE_ENCODING

--document-language

documentlanguage

--error-limit

ERROR_LIMIT

--fill-column

FILLCOLUMN

--footnote-style

footnotestyle

--force

FORCE

--internal-links

INTERNAL_LINKS

--macro-expand

MACRO_EXPAND

--headers

HEADERS, SHOW_MENU

--no-warn

NO_WARN

--no-validate

novalidate

--number-footnotes

NUMBER_FOOTNOTES

--number-sections

NUMBER_SECTIONS

--node-files

NODE_FILES

--output

OUT, OUTFILE,
SUBDIR

--paragraph-indent

paragraphindent

--silent

SILENT

--split

SPLIT

--split-size

SPLIT_SIZE

--transliterate-file-names

TRANSLITERATE_FILE_NAMES

--verbose

VERBOSE

Setting such a customization variable to a value ‘foo’ is
essentially the same as specifying the --opt=foo if the
option takes an argument, or --opt if not.

In addition, the customization variable TEXINFO_OUTPUT_FORMAT
allows specifying what makeinfo outputs, either one of the usual
output formats that can be specified with options, or various other
forms:

‘docbook’

‘dvi’

‘dvipdf’

‘html’

‘info’

‘pdf’

‘plaintext’

‘ps’

‘xml’

These correspond to the command-line options (and
TEXINFO_OUTPUT_FORMAT environment variable values) of the same
name. See Invoking texi2any.

‘debugcount’

Instead of generating a regular output format, output the count of
bytes and lines obtained when converting to Info, and other information.

‘debugtree’

Instead of generating a regular output format, output a text representation
of the tree obtained by parsing the input texinfo document.

‘parse’

Do only Texinfo source parsing; there is no output.

‘plaintexinfo’

Output the Texinfo source with all the macros, @include and
@value{} expanded. This is similar to setting
--macro-expand, but instead of being output in addition to
the normal conversion, output of Texinfo is the main output.

‘rawtext’

Output raw text, with minimal formatting. For example, footnotes are
ignored and there is no paragraph filling. This is used by the parser
for file names and copyright text in HTML comments, for example.

‘structure’

Do only Texinfo source parsing and determination of the document
structure; there is no output.

‘texinfosxml’

Output the document in TexinfoSXML representation, a syntax for
writing XML data using Lisp S-expressions.

‘textcontent’

Output the text content only, stripped of commands; this is useful for
spell checking or word counting, for example. The trivial
detexinfo script setting this is in the util directory
of the Texinfo source as an example. It’s one line: