tohtml(1)
π NAME π
okay bestie, welcome to the tohtml(1) manual page π this one is literally about how tohtml creates HTML from LaTeX input. slay.
β¨ SYNOPSIS β¨
here's the exact synopsis vibe, no cap:
tohtml [-latex] [-info] [-mapref filename] [-basedir dirname] [-userpath
path] [-iftex] [-split n] [-headeroffset n ] [-mapman filename ]
[-cvtlatex] [-cvttables] [-cvtmath] [-simplemath] [-useimg] [-gaudy]
[-iftex] [-default] [-nonavnames] [-notopnames] [-nobottomnav] [-basedef
filename] [-endpage filename ] [-beginpage filename] [-citeprefix str]
[-citesuffix str] [-o outname ] filename
yes, -iftex is in there twice β the synopsis said what it said π
π INPUT PARAMETERS π
okay so here's every flag and argument deets, fr fr:
-iftexβ includes text inbegin{iftex}...end{iftex}mode. (and yes, it appears twice in the synopsis β iconic but true π«Ά)-cvtlatexβ converts LaTeX that can not be represented as text into bitmaps. bitmap era π-cvttablesβ converts tabular environments into bitmaps.-useimgβ when used with-cvtlatex, uses existing bitmaps from a previous run. reuse and recycle bestie β»οΈ-gaudyβ uses color images for itemize bullets. maximalist bullet energy π-nocopyβ does not copy the pre-defined bitmaps.-dosnlβ generates Windows/DOS-style newlines (newline return). newline return, exactly as the page says π-split nβ splits the document down to sections at level n.-split -1prohibits splitting;0 = chapter,1 = section, etc. levels on levels ποΈ-headeroffset nβ offsets the HTML headers generated by section. for example, to useH2instead ofH1for top level sections, use-headeroffset 1. header glow-up β¨-nonavnamesβ does not output the navigation buttons.-notopnamesβ does not output the names on the top of the page.-nobottomnavβ does not output the names or buttons at the bottom of a section.-nocontentsβ does not generate the contents page.-mapref filename,-mapref fileβ converts references in\\citeinto hyperlinks by using the specified file. (the synopsis saysfilename, this list saysfileβ both are literally here π«Ά)-mapman filename,-mapman fileβ converts occurrences of tokens into hyperlinks to files. (again,filenamein the synopsis andfilein this list β keeping both deets π)-defaultβ picks relatively nice defaults. nice defaults are a vibe β¨-citeprefix strβ sets the prefix for citations ([by default).-citesuffix strβ sets the suffix for citations (]by default).-basedef filename,-basedef nameβ uses file name to define TeX commands. (synopsis saysfilename, this list saysnameβ both noted π)-beginpage filenameβ prepends the HTML in filename to the end of each page. yes, prepend to the end β that is the wording here, bestie π-endpage filenameβ appends the HTML in filename to the end of each page.-o outnameβ specifies the name to be used as the output file name (instead of basing the output file name on the input file name). this name should include the natural extension; e.g., for HTML output, use something liketohtml -latex -o myout.htm myfile.tex. output name glow-up π-latexβ shows up in the synopsis; this part of the page doesn't spell out extra deets for it here.-infoβ shows up in the synopsis; this part of the page doesn't spell out extra deets for it here.-basedir dirnameβ shows up in the synopsis; no extra description in this list.-userpath pathβ shows up in the synopsis; no extra description in this list.-cvtmathβ shows up in the synopsis; no extra description in this list.-simplemathβ shows up in the synopsis; no extra description in this list.filenameβ the trailing input file argument at the end of the synopsis. the main character file π
π¦ LOCATION π¦
the source file is literally tohtml.c β that's the location deets, periodt.
okay bye bestie β this page is dated 6/21/2019 and it's the tohtml(1) manual, mwah π
π¦ where this page comes from
- arch rolling: sowing 1.1.26.12-2 Β· GPL
- nixos 26.05: sowing 1.1.26.12
- nixpkgs unstable: sowing 1.1.26.12
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms