News for hackers. Stuff that matters.
Re:I earned $160k in passive income from writing non-fiction... by astonex on Thursday April 28, 2022 @12:51AM (#31188858)
Is anyone able to suggest software for writing technical books?
Re:I earned $160k in passive income from writing non-fiction... by asicsp on Thursday April 28, 2022 @01:13AM (#31188975)
I write in GitHub flavored markdown (so that is readable on GitHub and I can reuse parts for my blog, etc). I use pandoc to generate pdf/epub versions [0] and mdbook to generate web version [1]

[0] https://learnbyexample.github.io/customizing-pandoc/

[1] https://github.com/rust-lang/mdBook

Re:I earned $160k in passive income from writing non-fiction... by runjake on Thursday April 28, 2022 @12:55AM (#31188893)
Technical book writers seem to gravitate toward Latex or Microsoft Word.
Re:I earned $160k in passive income from writing non-fiction... by greglim81 on Thursday April 28, 2022 @12:54AM (#31188888)
Just ms word for me
Re:I earned $160k in passive income from writing non-fiction... by mprovost on Thursday April 28, 2022 @11:16AM (#31193518)
I write in Google Docs mostly for the collaboration features. It's super easy to invite someone to leave comments. I use the Code Blocks add-on to format code. When it's time to publish I use the DocsFlow plug-in to import the doc into InDesign for typesetting.
Re:I earned $160k in passive income from writing non-fiction... by disdi on Thursday April 28, 2022 @03:06AM (#31189564)
Use Kindle Create (available for Windows and MAC) for selling on Amazon.
Re:I earned $160k in passive income from writing non-fiction... by jamesfinlayson on Thursday April 28, 2022 @12:52AM (#31188868)
I use HTML but it's not the best. Latex is probably a better option.
Re:I earned $160k in passive income from writing non-fiction... by tjr on Thursday April 28, 2022 @12:56AM (#31188902)
Is LaTeX still a good choice for "modern" ebooks? Do folks still want PDFs?
Re:I earned $160k in passive income from writing non-fiction... by kome on Thursday April 28, 2022 @01:24AM (#31189047)
if i don't see a pdf, i don't buy it
Re:I earned $160k in passive income from writing non-fiction... by mr_mitm on Thursday April 28, 2022 @03:51AM (#31189827)
Why is that, if I may ask? Do you print all your e-books? I find PDF to be an inferior format for consumption on a screen.
Re:I earned $160k in passive income from writing non-fiction... by sitkack on Thursday April 28, 2022 @02:17AM (#31189272)
I was the same way, but epubs can be quite good now, even for highly formatted technical content.
Re:I earned $160k in passive income from writing non-fiction... by _tom_ on Thursday April 28, 2022 @01:09AM (#31188959)
May depend on your market, it amazon sells the vast majority of ebooks in the world.

So, neither of those.

Re:I earned $160k in passive income from writing non-fiction... by suslik on Thursday April 28, 2022 @12:54AM (#31188884)
org-mode, if you don’t mind using emacs.
Re:I earned $160k in passive income from writing non-fiction... by dotancohen on Thursday April 28, 2022 @02:38AM (#31189383)
I recently had to print some of my notes - already in Org mode - for a meeting. After going through numerous options including reformatting in LibreOffice, pandoc, HTML, etc etc I discovered that org mode can export the documents to PDFs that look better than anything else.

Unfortunately, I don't have the config options that I used any more! I changed some fonts and drastically reduced the margins. And some places in which underscores were used had to be escaped as the PDF export interpreted underscores as being subscript.