Ask HN: What software can I use, that runs on Mac, to write a book?
Can anyone recommend some software they've used to write a book?
Can anyone recommend some software they've used to write a book?
You can write in markdown or asciidoc, revision content in git/github, export to pdf or ebook, and develop your layout with a custom theme (https://toolchain.gitbook.com/themes/).
Asciidoc + custom theme is probably feature-rich enough for you to accomplish whatever content organization + layout you want.
Gitbook has some kind of subscription model if you use their site, but the editor is free I believe.
https://github.com/oreillymedia/atlas_book_skeleton
https://github.com/oreillymedia/orm_book_samples
In particular, you might be interested in the asciidoc_only folder in that second repo. Potentially you could author your book with the same asciidoc structure... then see if O'Reilly wants to publish it.