I keep the most recent edition of that ebook as a pdf on my blog
What is the current "great ebook creation" toolset that all the Cool Kids™ are running? Is it to refactor it into something like Obsidian notes, connecting them, and exporting to pdf? Is it a 'classic' word processor like Apple Pages or Microsoft Word or Google Docs?
Beyond merely updating/expanding what I wrote previously, I also have a few other ebooks I want to compile - and would like to not learn more than one tool to do this.
I use Jupyter Notebook, and use export to PDF feature. It renders the code, the text, and LaTeX equations perfectly.
I have also written stuff in Markdown and converted them to EPUB and PDF via pandoc. But there were no equations there. I used Obsidian as the editor.
Don't really know what will fit your need. If it were up to me, I would have used LaTeX- end to end. There are just a lot of tools and packages, and online help available. I wrote my Master's Thesis- fully in LaTeX.
I have done some technical review for Packt Publishing, and they use MS Word for everything.
Quarto converts the entire kit and kaboodle into HTML (for previewing), ePub, PDF and if you want it, AsciiDoc and DOCX.
I don't like writing latex directly, because I also want to make html based ebooks, because html ebooks can reflow according to different screen sizes.
For a technical ebook with lots of code samples using our trusted IDE just was the natural choice.
It's very good with images, tables and code.
That said -- if you're looking for a layout that reflows based on the screen size (read: more suited for mobile devices), you might want to look at exporting to .epub rather than .pdf.
You can get an epub and PDF out of it
[0] https://www.yieldcode.blog/post/asciidoc-for-book-writing/
Org mode is happy to do HTML, and LaTeX (for pdf generation) export as well.
I've seen nice things out of asciidoc, and it has an EPUB3 exporter. There's always pandoc if you want something super versatile.
I understand that Apple Pages outputs standard-compliant epub that can go straight onto Apple Books/SW/D2D.
Calibre does not. The Calibre authors think that epubcheck is trash and if you follow it, your books won't quite be right on the widest variety of epub readers, which is what they aim for. Beware.
When I tried Pandoc it didn't output a compliant epub, I'm told it does now.
Don't just run and hope - check the output against a variety of readers. You will hit issues.
(e.g. one I only found out about because someone just happened to use a Kobo reader.)
You may have to edit XHTML files in a .zip that has to be ordered in a particular way. (I hate epub so much.) Having done this, I don't recommend it at all. Here's my guide for people who've made poor life choices, e.g. me: https://davidgerard.co.uk/blockchain/2020/11/05/calibre-epub...
tl;dr if you have a Mac I'd just see what Pages can do for you. If not, you're gonna have fun!!