I wrote a free e-book tutorial for the Kitura web framework called Kitura Until Dawn [0] using an almost identical workflow: per-chapter Markdown files, pandoc, and kindlegen. Pandoc is an amazing tool. In addition to tweaking some Latex stuff to get the output I wanted, I also use a simple Lua script to rewrite internal links so that they don't break. I export to several different downloadable formats, and host an HTML version via GitBook[1] - though I may self-host at some point.
I have the entire book in a GitHub repository [2], including the export script [3], which may be of interest to those wishing to write a book a similar way.
(Pardon the new account, but my "normal" HN account is more closely tied to my IRL identity than my Nocturnal identity.)
I have the entire book in a GitHub repository [2], including the export script [3], which may be of interest to those wishing to write a book a similar way.
(Pardon the new account, but my "normal" HN account is more closely tied to my IRL identity than my Nocturnal identity.)
[0]: https://learnkitura.com
[1]: https://nocturnal.gitbook.io/kitura-until-dawn/
[2]: https://github.com/NocturnalSolutions/KituraBook
[3]: https://github.com/NocturnalSolutions/KituraBook/blob/master...