Hacker News new | ask | show | jobs
by __mharrison__ 12 days ago
Use Pandoc w/ Typst. I've published many books using it.

In fact, just had a friend with a traditionally published book who is now self-pubbing ask me yesterday about my tools. I recommended Pandoc and Typst. He (surprisingly to me) had never heard of Typst, but within the hour replied that (with the use of AI) he had a great-looking template for the book. (Try doing that with LaTeX).

1 comments

Could you elaborate on your workflow? Which tool do you start in (presumably it's a sequential flow?)? When is it that you go across the tools?
Jupyter to markdown to typst. Pandoc does the last conversation. (Pandoc also creates epubs for me).

I have some custom filters for index entries and code formatting.

I'm curious if Quarto could coordinate all of that for you automatically. It supports both code execution via Jupyter, and output via Typst (including books).

https://quarto.org/docs/computations/python.html

https://quarto.org/docs/output-formats/typst.html

https://quarto.org/docs/books/book-output.html#typst-output

https://quarto.org/docs/output-formats/typst-custom.html#boo...