▲ | Using Pandoc and Typst to Produce PDFs(imaginarytext.ca) | |||||||||||||||||||
94 points by bribri 13 hours ago | 15 comments | ||||||||||||||||||||
▲ | WA 6 hours ago | parent | next [-] | |||||||||||||||||||
Browser support to print HTML sucked. No page counter / max pages, no way to properly style headers and footers. Chrome 131 recently added CSS support for @page [1][2] and cross-references in the same doc (giving you the page number), which is a great step forward. I think this simplifies Markdown → PDF even more on the tooling side. | ||||||||||||||||||||
▲ | stakhanov 10 hours ago | parent | prev | next [-] | |||||||||||||||||||
An alternative stack that circumvents LaTeX and that I've successfully used for a book-scale project would be pandoc+weasyprint. | ||||||||||||||||||||
| ||||||||||||||||||||
▲ | 5evOX5hTZ9mYa9E 10 hours ago | parent | prev | next [-] | |||||||||||||||||||
I really wish there were more resources for Typst out there. The reference documentation seems comprehensive, but as somebody who is neither a developer nor experienced in LaTeX, I seem to need a bit more handholding. | ||||||||||||||||||||
| ||||||||||||||||||||
▲ | Gethsemane 5 hours ago | parent | prev | next [-] | |||||||||||||||||||
I've similarly found the combination of pandoc + typst to be quite exciting. I've found it particularly useful for typesetting academic papers - I'm quite averse to word in general, don't require extensive mathematical typesetting support, and find latex to generally be quite unapproachable (just look at the size of the default pandoc template!), and so it gives me a method of making a decent pdf whilst simultaneously producing a .docx for my collaborators. Being able to track changes with git is also a huge advantage, although never had the chance to work with someone who is comfortable using git :( The recently added support for PDF/A is also quite exciting, as I've never found a satisfactory solution to this with latex. Now I just wish journals would support markdown submissions... | ||||||||||||||||||||
▲ | binarycoffee 9 hours ago | parent | prev | next [-] | |||||||||||||||||||
I can see why someone would prefer Typst over LaTeX when the source is written in Typst or LaTeX, but what are the advantages if your source document is in Markdown? Is there anything else beyond the (presumably) smaller install size of Typst? | ||||||||||||||||||||
| ||||||||||||||||||||
▲ | zwnow 5 hours ago | parent | prev | next [-] | |||||||||||||||||||
Nice, does it work with images? Like can I render images and place text on top of them, well positioned? | ||||||||||||||||||||
▲ | knbknb 9 hours ago | parent | prev | next [-] | |||||||||||||||||||
Can Typst only produce PDFs? Are other output formats on the development roadmap? (I know that pandoc is incredibly flexible.) | ||||||||||||||||||||
| ||||||||||||||||||||
▲ | 4 hours ago | parent | prev [-] | |||||||||||||||||||
[deleted] |