Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I guess if Pandoc adds Typst output support I will consider using that, but "LaTeX replacement" sounds like something that is too low level to consider for most usecases? It was many years since I used LaTeX for anything other than at most short snippets embedded in other documents (e.g. md or org). Or would Typst replace something like Pandoc Markdown (with a long list of supported output formats and a convenient Lua filter API)?

* Submitted too fast. A quick search tells me Pandoc already added Typst input and output support (e.g. https://pandoc.org/typst-property-output.html), so guess I need to look into if I should switch to use that for generating PDFs.



Depends what you want to do, but Typst has replaced Pandoc for the book [1] I'm writing.

[1]: https://github.com/scalawithcats/scala-with-cats/tree/featur...


I moved from Pandoc+Lua filters to Typst. Having the scripting language integrated is just nicer, though I sometimes miss the separation between data (from Pandoc markdown) and code.


Is it as good for generating EPUB or HTML for instance? Or just plain text?


I use it to generate PDF. The last release introduced experimental HTML output which is promising but still immature. Work on EPUB support hasn't started as far as I know but it's on the roadmap, and I guess it will be relatively easy once the ongoing work on HTML and accessibility is done.


Sounds like it may eventually turn into an interesting replacement for Pandoc then, but I will stick to the latter for now.




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: