Publishing Simple Books with Jekyll
bradleytaunt.com
bradleytaunt.com
[0] https://docs.racket-lang.org/pollen/ [1] https://practicaltypography.com
Edit: I see after a quick search that Pollen has already been featured on HN multiple times [2] [3], but I still think it might be helpful to reference it again here.
[2] https://news.ycombinator.com/item?id=20027116 [3] https://news.ycombinator.com/item?id=15335010
If you are interested in the (Markdown content -> publishable format) pipeline, take a look at Pandoc. Ultimately this is more developer-oriented however.
There's also a latex template I've bookmarked [2] - I haven't tried yet, but sample on the repo looks nice
[1] https://learnbyexample.github.io/tutorial/ebook-generation/c...
It's not super difficult to take Jekyll-ish input and generate books from it either, e.g. I built a tool to do this:
https://bitbucket.org/elliottslaughter/bookmd
Example of a book I published with this approach: https://www.amazon.com/dp/0692553916 (a fairly challenging type setting problem with lots of footnotes, foreign language, etc.)
The main gotchas are that if you really want it to look good you have to dig into the Latex template, so ultimately it would take more effort to make it push-button for non-technical users.
First, 40 page reports experienced a few millimeters of sliding. It became more apparent at 60 pages.
Second, I could not go above 75 dpi.
The output looks nice enough, but there aren't even links from the table of contents to the chapters. Neither in the HTML nor the PDF version. Nor does it say what page number to find the chapter on in the PDF.
Additionally, as mentioned in the "cons" section of the article, "Chapters are spit out as one long, single page." This includes the PDF, where there aren't even page breaks at the start of new chapters.
This is no way to publish a book. Even a simple one.
Does anybody have a Jekyll theme or workflow that actually works well with books?
Someone found it and posted about it here in 2017: https://news.ycombinator.com/item?id=14482828
Parsing HTML is supposedly a big no-no but what’s the problem when it’s your own code?
Anyway, it seems like most comment here are trying to reinvent the wheel when any variant of LaTeX is a great solution; there are never any compromises to be made with TeX.