/usr/share/doc/texinfo/html/Invoking-texi2any.html is in texinfo-doc-nonfree 5.2.0-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<!-- This manual is for GNU Texinfo (version 5.2, 26 September 2013),
a documentation system that can produce both online information and a
printed manual from a single source using semantic markup.
Copyright (C) 1988, 1990, 1991, 1992, 1993, 1995, 1996, 1997,
1998, 1999, 2001, 2001, 2003, 2004, 2005, 2006, 2007, 2008, 2009,
2010, 2011, 2012, 2013 Free Software Foundation, Inc.
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.3 or
any later version published by the Free Software Foundation; with no
Invariant Sections, with the Front-Cover Texts being "A GNU Manual",
and with the Back-Cover Texts as in (a) below. A copy of the license
is included in the section entitled "GNU Free Documentation
License".
(a) The FSF's Back-Cover Text is: "You have the freedom to copy and
modify this GNU manual. Buying copies from the FSF supports it in
developing GNU and promoting software freedom." -->
<!-- Created by GNU Texinfo 5.1, http://www.gnu.org/software/texinfo/ -->
<head>
<title>GNU Texinfo 5.2: Invoking texi2any</title>
<meta name="description" content="GNU Texinfo 5.2: Invoking texi2any">
<meta name="keywords" content="GNU Texinfo 5.2: Invoking texi2any">
<meta name="resource-type" content="document">
<meta name="distribution" content="global">
<meta name="Generator" content="makeinfo">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link href="index.html#Top" rel="start" title="Top">
<link href="Command-and-Variable-Index.html#Command-and-Variable-Index" rel="index" title="Command and Variable Index">
<link href="index.html#SEC_Contents" rel="contents" title="Table of Contents">
<link href="Generic-Translator-texi2any.html#Generic-Translator-texi2any" rel="up" title="Generic Translator texi2any">
<link href="texi2any-Printed-Output.html#texi2any-Printed-Output" rel="next" title="texi2any Printed Output">
<link href="Reference-Implementation.html#Reference-Implementation" rel="previous" title="Reference Implementation">
<style type="text/css">
<!--
a.summary-letter {text-decoration: none}
blockquote.smallquotation {font-size: smaller}
div.display {margin-left: 3.2em}
div.example {margin-left: 3.2em}
div.indentedblock {margin-left: 3.2em}
div.lisp {margin-left: 3.2em}
div.smalldisplay {margin-left: 3.2em}
div.smallexample {margin-left: 3.2em}
div.smallindentedblock {margin-left: 3.2em; font-size: smaller}
div.smalllisp {margin-left: 3.2em}
kbd {font-style:oblique}
pre.display {font-family: inherit}
pre.format {font-family: inherit}
pre.menu-comment {font-family: serif}
pre.menu-preformatted {font-family: serif}
pre.smalldisplay {font-family: inherit; font-size: smaller}
pre.smallexample {font-size: smaller}
pre.smallformat {font-family: inherit; font-size: smaller}
pre.smalllisp {font-size: smaller}
span.nocodebreak {white-space:nowrap}
span.nolinebreak {white-space:nowrap}
span.roman {font-family:serif; font-weight:normal}
span.sansserif {font-family:sans-serif; font-weight:normal}
ul.no-bullet {list-style: none}
-->
</style>
</head>
<body lang="en" bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#800080" alink="#FF0000">
<a name="Invoking-texi2any"></a>
<div class="header">
<p>
Next: <a href="texi2any-Printed-Output.html#texi2any-Printed-Output" accesskey="n" rel="next"><tt>texi2any</tt> Printed Output</a>, Previous: <a href="Reference-Implementation.html#Reference-Implementation" accesskey="p" rel="previous">Reference Implementation</a>, Up: <a href="Generic-Translator-texi2any.html#Generic-Translator-texi2any" accesskey="u" rel="up">Generic Translator <tt>texi2any</tt></a> [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Command-and-Variable-Index.html#Command-and-Variable-Index" title="Index" rel="index">Index</a>]</p>
</div>
<hr>
<a name="Invoking-texi2any_002fmakeinfo-from-a-Shell"></a>
<h3 class="section">22.2 Invoking <code>texi2any</code>/<code>makeinfo</code> from a Shell</h3>
<a name="Invoking-makeinfo"></a><a name="index-makeinfo"></a>
<a name="index-texi2any"></a>
<p>To process a Texinfo file, invoke <code>texi2any</code> or
<code>makeinfo</code> (the two names are synonyms for the same program;
we’ll use the names interchangeably) followed by the name of the
Texinfo file. Also select the format you want to output with the
appropriate command line option (default is Info). Thus, to create
the Info file for Bison, type the following to the shell:
</p>
<div class="example">
<pre class="example">texi2any --info bison.texinfo
</pre></div>
<p>You can specify more than one input file name; each is processed in
turn. If an input file name is ‘<samp>-</samp>’, standard input is read.
</p>
<a name="makeinfo-Options"></a><a name="index-makeinfo-options"></a>
<a name="index-Options-for-makeinfo"></a>
<a name="texi2any-Options"></a><a name="index-texi2any-options"></a>
<a name="index-Options-for-texi2any"></a>
<p>The <code>texi2any</code> program accept many options. Perhaps the
most basic are those that change the output format. By default,
<code>texi2any</code> outputs Info.
</p>
<p>Each command line option is either a long name preceded by ‘<samp>--</samp>’
or a single letter preceded by ‘<samp>-</samp>’. You can use abbreviations
for the long option names as long as they are unique.
</p>
<p>For example, you could use the following shell command to create an
Info file for <samp>bison.texinfo</samp> in which lines are filled to only
68 columns:
</p>
<div class="example">
<pre class="example">texi2any --fill-column=68 bison.texinfo
</pre></div>
<p>You can write two or more options in sequence, like this:
</p>
<div class="example">
<pre class="example">texi2any --no-split --fill-column=70 …
</pre></div>
<p>(This would keep the Info file together as one possibly very long
file and would also set the fill column to 70.)
</p>
<p>The options are (approximately in alphabetical order):
</p>
<dl compact="compact">
<dt><code>--commands-in-node-names</code></dt>
<dd><a name="index-_002d_002dcommands_002din_002dnode_002dnames"></a>
<p>This option now does nothing, but remains for compatibility. (It used
to ensure that @-commands in node names were expanded throughout the
document, especially <code>@value</code>. This is now done by default.)
</p>
</dd>
<dt><code>--conf-dir=<var>path</var></code></dt>
<dd><a name="index-_002d_002dconf_002ddir_003dpath"></a>
<p>Prepend <var>path</var> to the directory search list for finding
customization files that may be loaded with <samp>--init-file</samp> (see
below). The <var>path</var> value can be a single directory, or a list of
several directories separated by the usual path separator character
(‘<samp>:</samp>’ on Unix-like systems, ‘<samp>;</samp>’ on Windows). </p>
</dd>
<dt><code>--css-include=<var>file</var></code></dt>
<dd><a name="index-_002d_002dcss_002dinclude"></a>
<p>When producing HTML, literally include the contents of <var>file</var>,
which should contain W3C cascading style sheets specifications, in the
‘<samp><style></samp>’ block of the HTML output. If <var>file</var> is ‘<samp>-</samp>’,
read standard input. See <a href="HTML-CSS.html#HTML-CSS">HTML CSS</a>.
</p>
</dd>
<dt><code>--css-ref=<var>url</var></code></dt>
<dd><a name="index-_002d_002dcss_002dref"></a>
<p>When producing HTML, add a ‘<samp><link></samp>’ tag to the output which
references a cascading style sheet at <var>url</var>. This allows using
standalone style sheets.
</p>
</dd>
<dt><code>-D <var>var</var></code></dt>
<dd><a name="index-_002dD-var"></a>
<p>Cause the Texinfo variable <var>var</var> to be defined. This is
equivalent to <code>@set <var>var</var></code> in the Texinfo file
(see <a href="_0040set-_0040clear-_0040value.html#g_t_0040set-_0040clear-_0040value"><tt>@set @clear @value</tt></a>).
</p>
</dd>
<dt><code>--disable-encoding</code></dt>
<dt><code>--enable-encoding</code></dt>
<dd><a name="index-_002d_002ddisable_002dencoding"></a>
<a name="index-_002d_002denable_002dencoding"></a>
<p>By default, or with <samp>--enable-encoding</samp>, output accented and
special characters in Info and plain text output based on
‘<samp>@documentencoding</samp>’. With <samp>--disable-encoding</samp>, 7-bit
ASCII transliterations are output. See <a href="_0040documentencoding.html#g_t_0040documentencoding"><tt>@documentencoding</tt></a>,
and <a href="Inserting-Accents.html#Inserting-Accents">Inserting Accents</a>.
</p>
</dd>
<dt><code>--docbook</code></dt>
<dd><a name="index-_002d_002ddocbook"></a>
<p>Generate Docbook output (rather than Info).
</p>
</dd>
<dt><code>--document-language=<var>lang</var></code></dt>
<dd><a name="index-_002d_002ddocument_002dlanguage"></a>
<p>Use <var>lang</var> to translate Texinfo keywords which end up in the
output document. The default is the locale specified by the
<code>@documentlanguage</code> command if there is one, otherwise English
(see <a href="_0040documentlanguage.html#g_t_0040documentlanguage"><tt>@documentlanguage</tt></a>).
</p>
</dd>
<dt><code>--dvi</code></dt>
<dd><a name="index-_002d_002ddvi"></a>
<p>Generate a TeX DVI file using <code>texi2dvi</code>, rather than Info
(see <a href="texi2any-Printed-Output.html#texi2any-Printed-Output"><tt>texi2any</tt> Printed Output</a>).
</p>
</dd>
<dt><code>--dvipdf</code></dt>
<dd><a name="index-_002d_002ddvipdf"></a>
<p>Generate a PDF file using <code>texi2dvi --dvipdf</code>, rather than
Info (see <a href="texi2any-Printed-Output.html#texi2any-Printed-Output"><tt>texi2any</tt> Printed Output</a>).
</p>
</dd>
<dt><code>--error-limit=<var>limit</var></code></dt>
<dt><code>-e <var>limit</var></code></dt>
<dd><a name="index-_002d_002derror_002dlimit_003dlimit"></a>
<a name="index-_002de-limit"></a>
<p>Report <var>LIMIT</var> errors before aborting (on the assumption that
continuing would be useless); default 100.
</p>
</dd>
<dt><code>--fill-column=<var>width</var></code></dt>
<dt><code>-f <var>width</var></code></dt>
<dd><a name="index-_002d_002dfill_002dcolumn_003dwidth"></a>
<a name="index-_002df-width"></a>
<p>Specify the maximum number of columns in a line; this is the
right-hand edge of a line. Paragraphs that are filled will be filled
to this width. (Filling is the process of breaking up and connecting
lines so that lines are the same length as or shorter than the number
specified as the fill column. Lines are broken between words.) The
default value is 72.
</p>
</dd>
<dt><code>--footnote-style=<var>style</var></code></dt>
<dt><code>-s <var>style</var></code></dt>
<dd><a name="index-_002d_002dfootnote_002dstyle_003dstyle"></a>
<a name="index-_002ds-style"></a>
<p>Set the footnote style to <var>style</var>: either ‘<samp>end</samp>’ for the end
node style (the default) or ‘<samp>separate</samp>’ for the separate node
style. The value set by this option overrides the value set in a
Texinfo file by an <code>@footnotestyle</code> command (see <a href="Footnote-Styles.html#Footnote-Styles">Footnote Styles</a>).
</p>
<p>When the footnote style is ‘<samp>separate</samp>’, <code>makeinfo</code> makes a
new node containing the footnotes found in the current node. When the
footnote style is ‘<samp>end</samp>’, <code>makeinfo</code> places the footnote
references at the end of the current node.
</p>
<p>In HTML, when the footnote style is ‘<samp>end</samp>’, or if the output is
not split, footnotes are put at the end of the output. If set to
‘<samp>separate</samp>’, and the output is split, they are placed in a
separate file.
</p>
</dd>
<dt><code>--force</code></dt>
<dt><code>-F</code></dt>
<dd><a name="index-_002d_002dforce"></a>
<a name="index-_002dF"></a>
<p>Ordinarily, if the input file has errors, the output files are not
created. With this option, they are preserved.
</p>
</dd>
<dt><code>--help</code></dt>
<dt><code>-h</code></dt>
<dd><a name="index-_002d_002dhelp_002c-for-texi2any"></a>
<a name="index-_002dh"></a>
<p>Print a message with available options and basic usage, then exit
successfully.
</p>
</dd>
<dt><code>--html</code></dt>
<dd><a name="index-_002d_002dhtml"></a>
<p>Generate HTML output (rather than Info). By default, the HTML output
is split into one output file per Texinfo source node, and the split
output is written into a subdirectory based on the name of the
top-level Info file. See <a href="Generating-HTML.html#Generating-HTML">Generating HTML</a>.
</p>
</dd>
<dt><code>-I <var>path</var></code></dt>
<dd><a name="index-_002dI-path"></a>
<p>Append <var>path</var> to the directory search list for finding files that
are included using the <code>@include</code> command. By default,
<code>texi2any</code> searches only the current directory. If <var>path</var> is
not given, the current directory is appended. The <var>path</var> value
can be a single directory or a list of several directories separated
by the usual path separator character (‘<samp>:</samp>’ on Unix-like systems,
‘<samp>;</samp>’ on Windows).
</p>
</dd>
<dt><code>--ifdocbook</code></dt>
<dd><a name="index-_002d_002difdocbook"></a>
</dd>
<dt><code>--ifhtml</code></dt>
<dd><a name="index-_002d_002difhtml"></a>
</dd>
<dt><code>--ifinfo</code></dt>
<dd><a name="index-_002d_002difinfo"></a>
</dd>
<dt><code>--ifplaintext</code></dt>
<dd><a name="index-_002d_002difplaintext"></a>
</dd>
<dt><code>--iftex</code></dt>
<dd><a name="index-_002d_002diftex"></a>
</dd>
<dt><code>--ifxml</code></dt>
<dd><a name="index-_002d_002difxml"></a>
<p>For the given format, process ‘<samp>@if<var>format</var></samp>’ and
‘<samp>@<var>format</var></samp>’ commands, and do not process
‘<samp>@ifnot<var>format</var></samp>’, regardless of the format being output.
For instance, if <samp>--iftex</samp> is given, then ‘<samp>@iftex</samp>’ and
‘<samp>@tex</samp>’ blocks will be read, and ‘<samp>@ifnottex</samp>’ blocks will be
ignored.
</p>
</dd>
<dt><code>--info</code></dt>
<dd><a name="index-_002d_002dinfo"></a>
<p>Generate Info output. By default, if the output file contains more
than about 300,000 bytes, it is split into shorter subfiles of about
that size. The name of the output file and any subfiles is determined
by <code>@setfilename</code> (see <a href="_0040setfilename.html#g_t_0040setfilename"><tt>@setfilename</tt></a>). See <a href="Tag-and-Split-Files.html#Tag-and-Split-Files">Tag and Split Files</a>.
</p>
</dd>
<dt><code>--init-file=<var>file</var></code></dt>
<dd><a name="index-_002d_002dinit_002dfile_003dfile"></a>
<p>Load <var>file</var> as code to modify the behavior and output of the
generated manual. It is customary to use the <code>.pm</code> or the
<code>.init</code> extensions for these customization files, but that is not
enforced; the <var>file</var> name can be anything. The
<samp>--conf-dir</samp> option (see above) can be used to add to the list
of directories in which these customization files are searched for.
</p>
</dd>
<dt><code>--internal-links=<var>file</var></code></dt>
<dd><a name="index-_002d_002dinternal_002dlinks_003dfile"></a>
<a name="index-Internal-links_002c-of-HTML"></a>
<p>In HTML mode, output a tab-separated file containing three columns:
the internal link to an indexed item or item in the table of contents,
the name of the index (or table of contents) in which it occurs, and
the term which was indexed or entered. The items are in the natural
sorting order for the given element. This dump can be useful for
post-processors.
</p>
</dd>
<dt><code>--macro-expand=<var>file</var></code></dt>
<dt><code>-E <var>file</var></code></dt>
<dd><a name="index-_002d_002dmacro_002dexpand_003dfile"></a>
<a name="index-_002dE-file"></a>
<p>Output the Texinfo source, with all Texinfo macros expanded, to
<var>file</var>. Normally, the result of macro expansion is used
internally by <code>makeinfo</code> and then discarded.
</p>
</dd>
<dt><code>--no-headers</code></dt>
<dd><a name="index-_002d_002dno_002dheaders"></a>
<a name="index-Node-separators_002c-omitting-with-_002d_002dno_002dheaders"></a>
<a name="index-Generating-plain-text-files-with-_002d_002dno_002dheaders"></a>
<a name="index-Menus_002c-omitting-with-_002d_002dno_002dheaders"></a>
<p>Do not include menus or node separator lines in the output.
</p>
<p>When generating Info, this is the same as using <samp>--plaintext</samp>,
resulting in a simple plain text file. Furthermore,
<code>@setfilename</code> is ignored, and output is to standard output
unless overridden with <samp>-o</samp>. (This behavior is for backward
compatibility.)
</p>
<a name="index-Navigation-links_002c-omitting"></a>
<p>When generating HTML, and output is split, also output navigation
links only at the beginning of each file. If output is not split, do
not include navigation links at the top of each node at all.
See <a href="Generating-HTML.html#Generating-HTML">Generating HTML</a>.
</p>
</dd>
<dt><code>--no-ifdocbook</code></dt>
<dd><a name="index-_002d_002dno_002difdocbook"></a>
</dd>
<dt><code>--no-ifhtml</code></dt>
<dd><a name="index-_002d_002dno_002difhtml"></a>
</dd>
<dt><code>--no-ifinfo</code></dt>
<dd><a name="index-_002d_002dno_002difinfo"></a>
</dd>
<dt><code>--no-ifplaintext</code></dt>
<dd><a name="index-_002d_002dno_002difplaintext"></a>
</dd>
<dt><code>--no-iftex</code></dt>
<dd><a name="index-_002d_002dno_002diftex"></a>
</dd>
<dt><code>--no-ifxml</code></dt>
<dd><a name="index-_002d_002dno_002difxml"></a>
<p>For the given format, do not process ‘<samp>@if<var>format</var></samp>’ and
‘<samp>@<var>format</var></samp>’ commands, and do process
‘<samp>@ifnot<var>format</var></samp>’, regardless of the format being output.
For instance, if <samp>--no-ifhtml</samp> is given, then ‘<samp>@ifhtml</samp>’
and ‘<samp>@html</samp>’ blocks will not be read, and ‘<samp>@ifnothtml</samp>’
blocks will be.
</p>
</dd>
<dt><code>--no-node-files</code></dt>
<dt><code>--node-files</code></dt>
<dd><a name="index-_002d_002dno_002dnode_002dfiles"></a>
<a name="index-_002d_002dnode_002dfiles"></a>
<p>When generating HTML, create redirection files for anchors and any
nodes not already output with the file name corresponding to the node
name (see <a href="HTML-Xref-Node-Name-Expansion.html#HTML-Xref-Node-Name-Expansion">HTML Xref Node Name Expansion</a>). This makes it possible
for section- and chapter-level cross-manual references to succeed
(see <a href="HTML-Xref-Configuration.html#HTML-Xref-Configuration">HTML Xref Configuration</a>).
</p>
<p>If the output is split, this is enabled by default. If the output is
not split, <samp>--node-files</samp> enables the creation of the
redirection files, in addition to the monolithic main output file.
<samp>--no-node-files</samp> suppresses the creation of redirection files
in any case. This option has no effect with any output format other
than HTML. See <a href="Generating-HTML.html#Generating-HTML">Generating HTML</a>.
</p>
</dd>
<dt><code>--no-number-footnotes</code></dt>
<dd><a name="index-_002d_002dno_002dnumber_002dfootnotes"></a>
<p>Suppress automatic footnote numbering. By default, footnotes are
numbered sequentially within a node, i.e., the current footnote number
is reset to 1 at the start of each node.
</p>
</dd>
<dt><code>--no-number-sections</code></dt>
<dt><code>--number-sections</code></dt>
<dd><a name="index-_002d_002dno_002dnumber_002dsections"></a>
<a name="index-_002d_002dnumber_002dsections"></a>
<p>With <samp>--number_sections</samp> (the default), output chapter,
section, and appendix numbers as in printed manuals. This works only
with hierarchically-structured manuals. You should specify
<code>--no-number-sections</code> if your manual is not normally structured.
</p>
</dd>
<dt><code>--no-pointer-validate</code></dt>
<dt><code>--no-validate</code></dt>
<dd><a name="index-_002d_002dno_002dpointer_002dvalidate"></a>
<a name="index-_002d_002dno_002dvalidate"></a>
<a name="index-Pointer-validation_002c-suppressing-from-command-line"></a>
<p>Suppress the pointer-validation phase of <code>makeinfo</code>—a dangerous
thing to do. This can also be done with the <code>@novalidate</code>
command (see <a href="Use-TeX.html#Use-TeX">Use TeX</a>). Normally, consistency checks are made
to ensure that cross references can be resolved, etc. See <a href="Pointer-Validation.html#Pointer-Validation">Pointer Validation</a>.
</p>
</dd>
<dt><code>--no-warn</code></dt>
<dd><a name="index-_002d_002dno_002dwarn"></a>
<p>Suppress warning messages (but not error messages).
</p>
</dd>
<dt><code>--output=<var>file</var></code></dt>
<dt><code>-o <var>file</var></code></dt>
<dd><a name="index-_002d_002doutput_003dfile"></a>
<a name="index-_002do-file"></a>
<p>Specify that the output should be directed to <var>file</var>. This
overrides any file name specified in an <code>@setfilename</code> command
found in the Texinfo source. If neither <code>@setfilename</code> nor this
option are specified, the input file name is used to determine the
output name. See <a href="_0040setfilename.html#g_t_0040setfilename"><tt>@setfilename</tt></a>.
</p>
<p>If <var>file</var> is ‘<samp>-</samp>’, output goes to standard output and
‘<samp>--no-split</samp>’ is implied.
</p>
<p>If <var>file</var> is a directory or ends with a ‘<samp>/</samp>’ the usual rules
are used to determine the output file name (namely, use
<code>@setfilename</code> or the input file name) but the files are written
to the <var>file</var> directory. For example, ‘<samp>makeinfo -o bar/
foo.texi</samp>’, with or without <samp>--no-split</samp>, will write
<samp>bar/foo.info</samp>, and possibly other files, under <samp>bar/</samp>.
</p>
<p>When generating HTML and output is split, <var>file</var> is used as the
name for the directory into which all files are written. For example,
‘<samp>makeinfo -o bar --html foo.texi</samp>’ will write
<samp>bar/index.html</samp>, among other files.
</p>
</dd>
<dt><code>--output-indent=<var>val</var></code></dt>
<dd><a name="index-_002d_002doutputindent"></a>
<p>This option now does nothing, but remains for compatibility. (It used
to alter indentation in XML/Docbook output.)
</p>
</dd>
<dt><code>-P <var>path</var></code></dt>
<dd><a name="index-_002dP-path"></a>
<p>Prepend <var>path</var> to the directory search list for <code>@include</code>.
If <var>path</var> is not given, the current directory is prepended. See
‘<samp>-I</samp>’ above.
</p>
</dd>
<dt><code>--paragraph-indent=<var>indent</var></code></dt>
<dt><code>-p <var>indent</var></code></dt>
<dd><a name="index-_002d_002dparagraph_002dindent_003dindent"></a>
<a name="index-_002dp-indent"></a>
<p>Set the paragraph indentation style to <var>indent</var>. The value set by
this option overrides the value set in a Texinfo file by an
<code>@paragraphindent</code> command (see <a href="_0040paragraphindent.html#g_t_0040paragraphindent"><tt>@paragraphindent</tt></a>).
The value of <var>indent</var> is interpreted as follows:
</p>
<dl compact="compact">
<dt>‘<samp>asis</samp>’</dt>
<dd><p>Preserve any existing indentation (or lack thereof) at the beginnings
of paragraphs.
</p>
</dd>
<dt>‘<samp>0</samp>’ or ‘<samp>none</samp>’</dt>
<dd><p>Delete any existing indentation.
</p>
</dd>
<dt><var>num</var></dt>
<dd><p>Indent each paragraph by <var>num</var> spaces.
</p></dd>
</dl>
<p>The default is to indent by two spaces, except for paragraphs
following a section heading, which are not indented.
</p>
</dd>
<dt><code>--pdf</code></dt>
<dd><a name="index-_002d_002dpdf"></a>
<p>Generate a PDF file using <code>texi2dvi --pdf</code>, rather than Info
(see <a href="texi2any-Printed-Output.html#texi2any-Printed-Output"><tt>texi2any</tt> Printed Output</a>).
</p>
</dd>
<dt><code>--plaintext</code></dt>
<dd><a name="index-_002d_002dplaintext"></a>
<a name="index-Plain-text-output-with-_002d_002dplaintext"></a>
<a name="index-ASCII-text-output-with-_002d_002dplaintext"></a>
<a name="index-Generating-plain-text-files-with-_002d_002dplaintext"></a>
<a name="index-Node-separators_002c-omitting-with-_002d_002dplaintext"></a>
<a name="index-Menus_002c-omitting-with-_002d_002dplaintext"></a>
<a name="index-INSTALL-file_002c-generating"></a>
<p>Output a plain text file (rather than Info): do not include menus or
node separator lines in the output. This results in a straightforward
plain text file that you can (for example) send in email without
complications, or include in a distribution (for example, an
<samp>INSTALL</samp> file).
</p>
<p>With this option, <code>@setfilename</code> is ignored and the output goes
to standard output by default; this can be overridden with <samp>-o</samp>.
</p>
</dd>
<dt><code>--ps</code></dt>
<dd><a name="index-_002d_002dps"></a>
<p>Generate a PostScript file using <code>texi2dvi --ps</code>, rather than
Info (see <a href="texi2any-Printed-Output.html#texi2any-Printed-Output"><tt>texi2any</tt> Printed Output</a>).
</p>
</dd>
<dt><code>--set-customization-variable <var>var</var>=<var>value</var></code></dt>
<dt><code>-c <var>var</var>=<var>value</var></code></dt>
<dd><a name="index-_002d_002dset_002dcustomization_002dvariable-var_003dvalue"></a>
<a name="index-_002dc-var_003dvalue"></a>
<p>Set the customization variable <var>var</var> to <var>value</var>. The <code>=</code>
is optional, but both <var>var</var> and <var>value</var> must be quoted to the
shell as necessary so the result is a single word. Many aspects of
<code>texi2any</code> behavior and output may be controlled by
customization variables, beyond what can be set in the document by
@-commands and with other command line switches. See <a href="Customization-Variables.html#Customization-Variables">Customization Variables</a>.
</p>
</dd>
<dt><code>--split=<var>how</var></code></dt>
<dt><code>--no-split</code></dt>
<dd><a name="index-_002d_002dsplit_003dhow"></a>
<a name="index-_002d_002dno_002dsplit"></a>
<a name="index-Splitting-of-output-files"></a>
<a name="index-Output-file-splitting"></a>
<a name="Splitting-Output"></a><p>When generating Info, by default large output files are split into
smaller subfiles, of approximately 300k bytes. When generating HTML,
by default each output file contains one node (see <a href="Generating-HTML.html#Generating-HTML">Generating HTML</a>). <samp>--no-split</samp> suppresses this splitting of the output.
</p>
<p>Alternatively, <samp>--split=<var>how</var></samp> may be used to specify at
which level the HTML output should be split. The possible values for
<var>how</var> are:
</p>
<dl compact="compact">
<dt>‘<samp>chapter</samp>’</dt>
<dd><p>The output is split at <code>@chapter</code> and other sectioning
@-commands at this level (<code>@appendix</code>, etc.).
</p>
</dd>
<dt>‘<samp>section</samp>’</dt>
<dd><p>The output is split at <code>@section</code> and similar.
</p>
</dd>
<dt>‘<samp>node</samp>’</dt>
<dd><p>The output is split at every node. This is the default.
</p></dd>
</dl>
</dd>
<dt><code>--split-size=<var>num</var></code></dt>
<dd><a name="index-_002d_002dsplit_002dsize_003dnum"></a>
<p>Keep Info files to at most <var>num</var> characters if possible; default
is 300,000. (However, a single node will never be split across Info
files.)
</p>
</dd>
<dt><code>--transliterate-file-names</code></dt>
<dd><a name="index-_002d_002dtransliterate_002dfile_002dnames"></a>
<p>Enable transliteration of 8-bit characters in node names for the
purpose of file name creation. See <a href="HTML-Xref-8_002dbit-Character-Expansion.html#HTML-Xref-8_002dbit-Character-Expansion">HTML Xref 8-bit Character Expansion</a>.
</p>
</dd>
<dt><code>-U <var>var</var></code></dt>
<dd><p>Cause <var>var</var> to be undefined. This is equivalent to <code>@clear
<var>var</var></code> in the Texinfo file (see <a href="_0040set-_0040clear-_0040value.html#g_t_0040set-_0040clear-_0040value"><tt>@set @clear @value</tt></a>).
</p>
</dd>
<dt><code>--verbose</code></dt>
<dd><a name="index-_002d_002dverbose"></a>
<p>Cause <code>makeinfo</code> to display messages saying what it is doing.
Normally, <code>makeinfo</code> only outputs messages if there are errors or
warnings.
</p>
</dd>
<dt><code>--version</code></dt>
<dt><code>-V</code></dt>
<dd><a name="index-_002d_002dversion_002c-for-texi2any"></a>
<a name="index-_002dV"></a>
<p>Print the version number, then exit successfully.
</p>
</dd>
<dt><code>--Xopt <var>str</var></code></dt>
<dd><a name="index-_002d_002dXopt-str"></a>
<p>Pass <var>str</var> (a single shell word) to <code>texi2dvi</code>; may be
repeated (see <a href="texi2any-Printed-Output.html#texi2any-Printed-Output"><tt>texi2any</tt> Printed Output</a>).
</p>
</dd>
<dt><code>--xml</code></dt>
<dd><a name="index-_002d_002dxml"></a>
<p>Generate Texinfo XML output (rather than Info).
</p>
</dd>
</dl>
<a name="index-TEXINFO_005fOUTPUT_005fFORMAT"></a>
<a name="index-Environment-variable-TEXINFO_005fOUTPUT_005fFORMAT"></a>
<p><code>makeinfo</code> also reads the environment variable
<code>TEXINFO_OUTPUT_FORMAT</code> to determine the output format, if not
overridden by a command line option. The value should be one of:
</p>
<div class="example">
<pre class="example">docbook dvi dvipdf html info pdf plaintext ps xml
</pre></div>
<p>If not set or otherwise specified, Info output is the default.
</p>
<p>The customization variable of the same name is also read; if set, that
overrides an environment variable setting, but not a command-line
option. See <a href="Customization-Variables-for-_0040_002dCommands.html#Customization-Variables-for-_0040_002dCommands">Customization Variables for @-Commands</a>.
</p>
<hr>
<div class="header">
<p>
Next: <a href="texi2any-Printed-Output.html#texi2any-Printed-Output" accesskey="n" rel="next"><tt>texi2any</tt> Printed Output</a>, Previous: <a href="Reference-Implementation.html#Reference-Implementation" accesskey="p" rel="previous">Reference Implementation</a>, Up: <a href="Generic-Translator-texi2any.html#Generic-Translator-texi2any" accesskey="u" rel="up">Generic Translator <tt>texi2any</tt></a> [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Command-and-Variable-Index.html#Command-and-Variable-Index" title="Index" rel="index">Index</a>]</p>
</div>
</body>
</html>
|