TC2HTML(1)
π TC2HTML β the tc2html(1) glow-up π
okay bestie, this is a General Commands Manual page and it's about tc2html, a lil program that turns troffcvt output into HTML. she's a converter, she's a postprocessor, she's lowkey the main character of your doc pipeline. let's get into it π«Ά
β¨ NAME β¨
tc2html β convert troffcvt output to Hypertext Markup Language
πΈ SYNTAX πΈ
tc2html [ options ] file ... ]
(yes the stray bracket is literally in there, i didn't do that, i'm just the messenger π)
π¦ DESCRIPTION π¦
so tc2html is a postprocessor for troffcvt, and what she does is convert troffcvt output into Hypertext Markup Language (HTML). no cap, that's the whole vibe. β¨
and like, usually you don't even call her directly?? she gets invoked by running the troffcvt front end troff2html. so she's giving backstage icon energy, doing the work while troff2html takes the credit. periodt. π
tc2html understands the following options:
-Dβ turn on debugging output. all the lil diagnostic messages, unlocked π-Eβ makestc2htmlecho token information tostderras tokens are read from troffcvt. basically she narrates what she's reading, live ποΈ-Ttitle β set a title for the document. super handy for docs that don't have any recognizable title of their own. but β and this is the important part β if the document does contain a title, this overrides it. so-Twins, always. π
π SEE ALSO π
go read those too bestie, they're the whole ecosystem π
π WHO-TO-BLAME π
Paul DuBois, dubois@primate.wisc.edu.
(if something's broken, that's the icon to blame π«Ά)
π BUGS π
okay so here's the tea, and it's giving important caveat energy:
tc2html uses a set of special macros that tell troffcvt how to generate tc2html-specific output β output that indicates HTML structural elements. cute, right?
π¨ but those macros do not work in compatibility mode. fr fr. if you're in compatibility mode, they're just not gonna do the thing. no cap, no workaround listed, just... don't. π
and that's the page!! πΈ it's a General Commands Manual entry, signed off with the classic TC2HTML(1) stamp at the bottom, so you know it's official π slay, go convert some docs, ily bye β¨ππ¦
π¦ where this page comes from
- debian bookworm: troffcvt 1.04+repack1-1
- ubuntu noble: troffcvt 1.04+repack1-1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms