tohtml(1)

πŸ“¦ version 1.1.26.12, in arch rolling, nixos 26.05, nixpkgs unstable

πŸŽ€ 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 in begin{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 -1 prohibits splitting; 0 = chapter, 1 = section, etc. levels on levels 🎚️
  • -headeroffset n β€” offsets the HTML headers generated by section. for example, to use H2 instead of H1 for 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 \\cite into hyperlinks by using the specified file. (the synopsis says filename, this list says file β€” both are literally here 🫢)
  • -mapman filename, -mapman file β€” converts occurrences of tokens into hyperlinks to files. (again, filename in the synopsis and file in 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 says filename, this list says name β€” 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 like tohtml -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