TEXI2HTML(1)
π TEXI2HTML(1) π
okay bestie, sit down, hydrate, because we're about to talk about texi2html, from the General Commands Manual, and honestly? it's giving converter core. π
β¨ NAME β¨
texi2html β a Texinfo to HTML converter. that's it, that's the whole thing, and she serves. π
π¦ SYNOPSIS π¦
texi2html [options] file
πΈ DESCRIPTION πΈ
so here's the tea, bestie: Texi2html takes the Texinfo file you hand her and turns it into a set of HTML files. she tries to handle most of the Texinfo commands, and she's lowkey amazing at it β she creates hypertext links for cross-references, footnotes... the whole vibe. π₯
she may furthermore use latex2html to generate HTML (code and/or images) for @math and @iftex tags β that's the --l2h option, more on her later. π
Texi2html creates several files depending on the contents of the Texinfo file and on the chosen options (peep the FILES section, it's all there).
the HTML files she makes are, in general, closer to TeX than to Info. and if you want other styles or output formats? use init files (see the --init-file option) and she'll switch it up for you. periodt. π
π OPTIONS π
okay so quick PSA: options may be abbreviated to th shortests unique prefix. and this is only an incomplete list of the available options β she's got more where that came from. π
--help [1|2]β print usage instructions and list the most important, all relevant, or all recognised (including obsolete) command-line options, and exit. yes, she'll also tell you about the obsolete ones, iconic behaviour honestly. π--split chapter|section|nodeβ split the output into several HTML files (one per main chapter/section or node). divide and conquer, slay.--ifinfo--iftex--ifxml--ifplaintext--ifhtmlβ expand@ifinfo,@iftexand@tex,@ifxmland@xml,@ifplaintext,@ifhtmland@htmlregions, and don't expand@ifnotcorresponding regions (default:ifhtml).--no-ifinfo--no-iftex--no-ifxml--no-ifplaintext--no-htmlβ don't expand@ifinfo,@iftex,@ifxml,@ifplaintextregions and expand@ifnotcorresponding regions. flip the whole thing, why not.-I dirβ append dir to the directory list searched for included files.-P dirβ prepend dir to the directory list searched for included files. (yes, prepend. she goes first now. main character energy. β¨)--l2hβ uselatex2htmlfor content of@mathand@textags. content must be such that both,latexandtex, can translate it correctly. i.e., no tex-only constructs must be used. respect the rules bestie, she's strict about this one. π--css-include fileβ use css file file. cute her up. π--init-file fileβ load init file file (see also FILES).--document-language langβ use lang as document language.--macro-expand fileβ output macro expanded source in file.--no-menuβ don't show the Texinfo menus; by default they are shown.--no-numberβ don't number the sections.--use-nodesβ use nodes for sectionning. (yes, that's how it's spelled in the original, we keep it verbatim fr fr π )--prefixβ use as prefix for output files, instead of basename.--node-filesβ produce one file per node for cross references.--l2h-l2h progβ use prog aslatex2htmlprogram (defaultlatex2html). program must be executable. no executable, no vibes.--l2h-init fileβ use file aslatex2htmlinit file. file should be used to specify in which waylatex2htmlhandles mathematical expressions and formulas.--l2h-tmp dirβ use dir as tmp dir forlatex2html. this directory (resp. its path) must not contain a dot (i.e., a"."). > like, genuinely must not. not a single.in there. she will not be okay about it. π--l2h-cleanβ remove all intermediate files generated bylatex2html(prevents caching!). big dramatic warning, she means it. π€--l2h-skipβ do not really runlatex2html. use (kept) files of previous runs, instead.--verboseβ give a verbose output. she will talk. π£οΈ--versionβ print version and exit.
π§ FILES π§
initialisation options are read first from /usr/share/texi2html/Config (the exact location being changeable with the --datadir=dir option to the configure script), then from /etc/texi2html/Config (the exact location being changeable with the --sysconfdir=dir option to the configure script), then from ./Config, from $HOME/.texi2html/Config, and from any command-line options including --init-file options; with later settings overriding earlier ones. later settings win, always, no exceptions. π
by default texi2html my creates the following files (foo being the name of the Texinfo file):
foo_toc.htmlβ the table of contents (if@contentsis present).foo.htmlβ the document's contents or the Top element.foo_fot.htmlβ the footnotes (if any).foo_abt.htmlβ an help section.foo_l2h_img*β images generated bylatex2html(if any).
when used with the --split option, it creates several files (one per chapter or node), named foo_n.html (n being the index of the chapter or node), and the foo.html file contains the Top element. π
otherwise it creates only one file: foo.html. just the one. simple. clean. minimal. π
β VERSION β
this is texi2html version 5.0, 30 June 2010. vintage, but make it fashion. π
π«Ά AUTHOR π«Ά
Texi2html was originally written by is Lionel Cons, CERN IT/DIS/OSE, Lionel.Cons@cern.ch. over time, many other people around the net contributed to this program. it was maintained by Olaf Bachmann, obachman@mathematik.uni-kl.de, and is now maintained by Derek Price. the communal effort of it all, honestly? obsessed. π₯Ή
π₯ AVAILABILITY π₯
the latest version of this program, as well as support in the form of mailing lists with archives, bug tracking, documentation, and other tools can be found at: http://www.nongnu.org/texi2html/ β go visit her, she's online bestie. π
π COPYRIGHT π
Copyright Β© 1999-2005 Patrice Dumas <pertusus@free.fr>, Derek Price <derek@ximbiot.com>, Adrian Aichner <adrian@xemacs.org>, & others.
there is NO warranty. like, none. zero. not even a little one. π
you may redistribute this software under the terms of the GNU General Public License. for more information about these matters, see the file named COPYING.
π SEE ALSO π
- GNU Texinfo Documentation Format β
http://texinfo.org/ - World Wide Web (WWW), HyperText Markup Language (HTML) β
http://www.w3.org - LaTeX2HTML β
http://www-dsed.llnl.gov/files/programs/unix/latex2html
π BUGS π
this man-page is often out-of-date. the info manual should be more up-to-date. so if something here looks sus... check the info manual, bestie, that's the real one. π
and that's the whole page, mwah. π
this was the 7th Edition, dated 30 June 2010 β texi2html version 5.0, still serving looks after all these years. stay hydrated, read your info manual, and go convert something iconic. πβ¨π
π¦ where this page comes from
- centos-stream 10: texi2html 5.0-24.el10 Β· GPL-2.0-or-later AND LicenseRef-OFSFDL AND (CC-BY-SA-3.0 OR GPL-2.0-only)
- centos-stream 9: texi2html 5.0-17.el9 Β· GPLv2+ and OFSFDL and (CC-BY-SA or GPLv2)
- fedora 43: texi2html 5.0-25.fc43 Β· GPL-2.0-or-later AND LicenseRef-OFSFDL AND (CC-BY-SA-3.0 OR GPL-2.0-only)
- fedora 44: texi2html 5.0-26.fc44 Β· GPL-2.0-or-later AND LicenseRef-OFSFDL AND (CC-BY-SA-3.0 OR GPL-2.0-only)
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms