Hacker News new | ask | show | jobs
by xigoi 263 days ago
What else would you use to generate PDFs from a text-based template?
8 comments

20-ish years ago I wrote a system to do that with xslt. Would not recommend.
E.g. Pandoc, universal tool…
You will be surprised to learn that pandoc uses latex for generating the PDF. It's barely hidden:

https://www.pandoc.org/demo/example33/2.4-creating-a-pdf.htm...

I know it ;) But we are talking about how to use something universal. I like pandoc as it is easy to use and… boring.
Your original comment before editing complained about using pdflatex as if it was not part of the pandoc toolchain. It was not about pandoc being universal.
Doesn’t Pandoc just use LaTeX under the hood?
Pandoc works with typst too.
A good XSL-FO impl with docbook or something like that?
Apart from typst, I've used weasyprint.
DITA, see my other comment on level up.
Asciidoctor?
Docbook
ReportLab?