News for hackers. Stuff that matters.
Re:Pandoc by mooreds on Friday February 02, 2024 @08:46AM (#39228459)
I'd use leanpub markdown. They generate those formats plus you get a page for the book, can charge for it, and advertise it. (Some of those tasks cost money).

Won't work if you want to keep everything local, though.

Re:Pandoc by TehShrike on Friday February 02, 2024 @10:50AM (#39229954)
I came here to say the same thing. Laying content out for a book comes with way more issues than "just" converting between document formats. Leanpub does it well out of the box.

If you want to look down the path of implementing book layout yourself, here are two breadcrumbs from my bookmarks:

https://journal.stuffwithstuff.com/2014/11/03/bringing-my-we...

https://iangmcdowell.com/blog/posts/laying-out-a-book-with-c...

Re:Pandoc by mooreds on Friday February 02, 2024 @01:03PM (#39231960)
For leanpub, I started using it for the layout. And kept using it for the marketing.

That's one thing I learned, having written a couple of books. Even though writing is tough, it is easier in many wyas than the marketing.

Re:Pandoc by mapreduce on Friday February 02, 2024 @08:54AM (#39228510)
Thanks! Didn't know Leanpub has its own markdown too. Yes I do want to keep everything local.
Re:Pandoc by mooreds on Friday February 02, 2024 @10:19AM (#39229573)
Ah, then probably not a fit.