Hacker News new | ask | show | jobs
by raybb 20 days ago
I've been making ebooks for a nonprofit using typst and pandoc for a few years and it works quite well.

We generate a pdf ebook, a print version, and a epub. They each have little tweeks but are all defined conditionally using sys.input.

It was rough at first and I've had to open around a dozen or so issues for pandoc to improve things. Now it's pretty seamless.

1 comments

I saw typst in my explorations but LaTeX had a few more of the controls I was looking for in print, and I really wanted a Standard Ebooks compliant EPUB. I might revisit at some time though. Thanks for bringing it up.
What kind of controls for print? I'm pretty amature all things considered so don't use any advanced features.

Also, I doubt if pandoc produces a highly compliant epub but it is always improving so who knows.

Last I checked, typst doesn't have baseline grid support (i.e., assures vertical lines of text across spreads are aligned, thus text doesn't bleed through recto to verso).
Seems you're right and there is an open issue https://github.com/typst/typst/issues/5225