TEXI2ANY(1)

๐Ÿ’… TEXI2ANY(1) โ€” the girlies' guide

okay bestie, this is texi2any, a User Command, and it translates Texinfo documents. That's the whole gig. She eats. โœจ


๐ŸŽ€ NAME

texi2any โ€” translate Texinfo documents ๐Ÿฆ‹


๐ŸŒธ SYNOPSIS

makeinfo [OPTION]... TEXINFO-FILE...

โœจ DESCRIPTION

She takes your Texinfo source documentation and turns it into a whole bunch of other formats. And by default? She makes Info files โ€” you know, the kind you read online with Emacs or with standalone GNU Info. main character behavior fr fr.

Also important: this program is commonly installed as both makeinfo and texi2any. The behavior is identical, and it does not depend on which name got installed. So don't come for her about her name, she answers to both ๐Ÿ’…


๐Ÿงš General options:

  • --document-language=STR โ€” the locale used when translating Texinfo keywords for the output document (default is C)
  • --error-limit=NUM โ€” she quits after NUM errors (default is 100), so like, know your limits bestie
  • --force โ€” preserve the output even if there are errors. stubborn queen ๐Ÿ‘‘
  • --help โ€” display this help and exit
  • --no-validate โ€” suppress node cross-reference validation
  • --no-warn โ€” suppress warnings (but not errors, those still come through)
  • --conf-dir=DIR โ€” search also for initialization files in DIR
  • --init-file=FILE โ€” load FILE to modify the default behavior
  • -c, --set-customization-variable VAR=VAL โ€” set the customization variable VAR to the value VAL
  • --trace-includes โ€” print the names of included files
  • -v, --verbose โ€” explain what is being done (she'll narrate, as she should)
  • --version โ€” display version information and exit

๐ŸŒˆ Output format selection (default is to produce Info):

  • --docbook โ€” output Docbook XML
  • --html โ€” output HTML
  • --epub3 โ€” output EPUB 3
  • --latex โ€” output LaTeX
  • --plaintext โ€” output plain text rather than Info
  • --xml โ€” output Texinfo XML
  • --dvi, --dvipdf, --ps, --pdf โ€” call texi2dvi to generate the given output, but only after checking the validity of TEXINFO-FILE

๐Ÿ’– General output options:

  • -E, --macro-expand=FILE โ€” output the macro-expanded source to FILE, ignoring any @setfilename
  • --no-headers โ€” suppress node separators, Node: lines, and menus from Info output (so you get plain text instead) or from HTML (so you get shorter output). Also, if you're producing Info, this makes her write to standard output by default.
  • --no-split โ€” suppress any splitting of the output; generate only one output file
  • --[no-]number-sections โ€” output chapter and sectioning numbers; default is on
  • --[no-]number-footnotes โ€” number footnotes sequentially; default is on
  • -o, --output=DEST โ€” output to DEST. With split output, create DEST as a directory and put the output files there. With non-split output, if DEST is already a directory or ends with a /, put the output file there. Otherwise, DEST names the output file.
  • --disable-encoding โ€” do not output accented and special characters in Info and plain text output based on document encoding
  • --enable-encoding โ€” override --disable-encoding (this is the default)

๐Ÿ“ Options for Info and plain text:

  • --fill-column=NUM โ€” break Info lines at NUM columns (default is 72)
  • --footnote-style=STYLE โ€” output footnotes in Info according to STYLE: separate to put them in their own node; end to put them at the end of the node in which they are defined (this one is the default)
  • --paragraph-indent=VAL โ€” indent Info paragraphs by VAL spaces (default is 3). If VAL is none, do not indent; if VAL is asis, preserve the existing indentation.
  • --split-size=NUM โ€” split Info files at size NUM (default is 300000)

๐Ÿฆ‹ Options for HTML:

  • --css-include=FILE โ€” include FILE in the HTML <style> output; read stdin if FILE is -
  • --css-ref=URL โ€” generate a CSS reference to URL
  • --internal-links=FILE โ€” produce a list of internal links in FILE
  • --split=SPLIT โ€” split at SPLIT, where SPLIT may be chapter, section or node
  • --transliterate-file-names โ€” use file names in ASCII transliteration
  • --node-files โ€” produce redirection files for nodes and anchors; the default is set only if split

๐Ÿ”ฅ Options for DVI/PS/PDF:

  • --Xopt=OPT โ€” pass OPT to texi2dvi; can be repeated

๐Ÿ’œ Input file options:

  • -D VAR โ€” define the variable VAR, as with @set
  • -D 'VAR VAL' โ€” define VAR to VAL (as one shell argument)
  • -I DIR โ€” append DIR to the @include search path
  • -P DIR โ€” prepend DIR to the @include search path
  • -U VAR โ€” undefine the variable VAR, as with @clear

โญ Conditional processing in input:

  • --ifdocbook โ€” process @ifdocbook and @docbook
  • --ifhtml โ€” process @ifhtml and @html
  • --ifinfo โ€” process @ifinfo
  • --iflatex โ€” process @iflatex and @latex
  • --ifplaintext โ€” process @ifplaintext
  • --iftex โ€” process @iftex and @tex
  • --ifxml โ€” process @ifxml and @xml

By default, an --ifFORMAT setting is on only when the output format is FORMAT. Like, --ifhtml is on when you're outputting HTML. Also, when --ifFORMAT is on, @ifnotFORMAT text is not processed.

Each --ifFORMAT option may be prefixed with --no- to negate it. For example, --no-ifhtml means not to process @ifhtml or @html text, and to process @ifnothtml text. got it? got it. ๐Ÿ’–


๐Ÿซถ EXAMPLES

  • makeinfo foo.texi โ€” write Info
  • makeinfo --html foo.texi โ€” write HTML
  • makeinfo --xml foo.texi โ€” write Texinfo XML
  • makeinfo --docbook foo.texi โ€” write Docbook XML
  • makeinfo --plaintext foo.texi โ€” write plain text to standard output
  • makeinfo --pdf foo.texi โ€” write PDF using texi2dvi
  • makeinfo --html --no-headers foo.texi โ€” write html without node lines, menus
  • makeinfo --number-sections foo.texi โ€” write Info with numbered sections
  • makeinfo --no-split foo.texi โ€” write one Info file however big

๐Ÿ˜ญ REPORTING BUGS

Email bug reports to bug-texinfo@gnu.org, and general questions and discussion to help-texinfo@gnu.org.

Texinfo home page: https://www.gnu.org/software/texinfo/


๐Ÿ‘‘

Copyright ยฉ 2026 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>

This is free software: you are free to change and redistribute it.

There is NO WARRANTY, to the extent permitted by law. (she said what she said, no cap ๐Ÿ’€)

๐ŸŒŸ SEE ALSO

The full documentation for texi2any is maintained as a Texinfo manual. If the info and texi2any programs are properly installed at your site, the command

info texi2any

should give you access to the complete manual. iykyk ๐Ÿงš


and that's the whole page, bestie ๐Ÿ’… this was GNU texinfo 7.3, dated March 2026 โ€” thanks for coming to my TED talk, mwah ๐ŸŽ€โœจ๐Ÿฆ‹

๐Ÿ“ฆ where this page comes from