Remix.run Logo
3036e4 12 hours ago

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.

noelwelsh 12 hours ago | parent | next [-]

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...

cbolton 11 hours ago | parent | prev [-]

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.

3036e4 11 hours ago | parent [-]

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

cbolton 9 hours ago | parent [-]

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.

3036e4 8 hours ago | parent [-]

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