To become success story
To become success story
Posted Sep 19, 2025 12:21 UTC (Fri) by dskoll (subscriber, #1630)In reply to: To become success story by anselm
Parent article: Typst: a possible LaTeX replacement
Also, nowadays people expect to be able to write a document in a single source format and render it, without source changes, in wildly different output formats such as HTML and PDF, in a way that avails itself of the specific advantages of the format in question, and TeX/LaTeX doesn't really have a straightforward and obvious answer to that requirement[...]
I solved this problem (with a little bit of pain) for my 600-page set of manuals I mentioned earlier. I wanted PDF output as well as HTML output. There's a pretty nice program called htlatex that does a creditable job of generating HTML, and then I post-processed it to (eg) replace the generated images with the original source images so figures were of higher quality. I also defined a few conditional macros that inserted links to training videos in certain spots... something you can't really do with PDF.
Yes, it was a bit annoying to set up, but once I had my Makefile written, it worked beautifully.
