For my book Hands on Scala, I did a totaly different approach: parsed markdown into HTML myself, used puppeteer to turn it into PDFs. I extended markdown with some macros to do the things I needed (e.g. named cross-references, two-column sections, graphviz diagram blocks, pulling in code snippets from the examples folder) The build tool made it easy to import libraries like CommonMark-Java or ApachePDFBox to do what…
Re: How I Wrote My Book
#21I see that you have a physical copy on sale on amazon KDP - How do you manage getting a pdf into KDP (I understand it is possible just that it is not recommended / renders poorly)?