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 isC)--error-limit=NUMโ she quits afterNUMerrors (default is100), 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 inDIR--init-file=FILEโ loadFILEto modify the default behavior-c,--set-customization-variable VAR=VALโ set the customization variableVARto the valueVAL--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โ calltexi2dvito generate the given output, but only after checking the validity ofTEXINFO-FILE
๐ General output options:
-E,--macro-expand=FILEโ output the macro-expanded source toFILE, 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 toDEST. With split output, createDESTas a directory and put the output files there. With non-split output, ifDESTis already a directory or ends with a/, put the output file there. Otherwise,DESTnames 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 atNUMcolumns (default is72)--footnote-style=STYLEโ output footnotes in Info according toSTYLE:separateto put them in their own node;endto put them at the end of the node in which they are defined (this one is the default)--paragraph-indent=VALโ indent Info paragraphs byVALspaces (default is3). IfVALisnone, do not indent; ifVALisasis, preserve the existing indentation.--split-size=NUMโ split Info files at sizeNUM(default is300000)
๐ฆ Options for HTML:
--css-include=FILEโ includeFILEin the HTML<style>output; read stdin ifFILEis---css-ref=URLโ generate a CSS reference toURL--internal-links=FILEโ produce a list of internal links inFILE--split=SPLITโ split atSPLIT, whereSPLITmay bechapter,sectionornode--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โ passOPTtotexi2dvi; can be repeated
๐ Input file options:
-D VARโ define the variableVAR, as with@set-D 'VAR VAL'โ defineVARtoVAL(as one shell argument)-I DIRโ appendDIRto the@includesearch path-P DIRโ prependDIRto the@includesearch path-U VARโ undefine the variableVAR, as with@clear
โญ Conditional processing in input:
--ifdocbookโ process@ifdocbookand@docbook--ifhtmlโ process@ifhtmland@html--ifinfoโ process@ifinfo--iflatexโ process@iflatexand@latex--ifplaintextโ process@ifplaintext--iftexโ process@iftexand@tex--ifxmlโ process@ifxmland@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 Infomakeinfo --html foo.texiโ write HTMLmakeinfo --xml foo.texiโ write Texinfo XMLmakeinfo --docbook foo.texiโ write Docbook XMLmakeinfo --plaintext foo.texiโ write plain text to standard outputmakeinfo --pdf foo.texiโ write PDF usingtexi2dvimakeinfo --html --no-headers foo.texiโ write html without node lines, menusmakeinfo --number-sections foo.texiโ write Info with numbered sectionsmakeinfo --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
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
- alpine 3.24: texinfo-doc 7.3-r0 ยท GPL-3.0-or-later
- arch rolling: texinfo 7.3-1
- arch rolling: texinfo 7.3-3 ยท GPL3
- nixpkgs unstable: texinfo 7.3
- nixpkgs unstable: texinfo-interactive 7.3
- ubuntu stonking: texinfo 7.3-2build1 ยท GPL-3.0-or-later
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms