I'm thinking of writing an ebook for a very specific niche. I have no idea where to start software-wise.<p>Ideally, I would like to write and add images, and then have the software export to HTML and PDF/mobi. I think that's about it. Not looking for anything fancier than that.<p>Thanks!
I'm working on some software in this area (<a href="https://www.penflip.com/" rel="nofollow">https://www.penflip.com/</a>). A book is a basic git repository holding a collection of markdown files and images, which are compiled into PDF/epub/html with a single click in the browser. There's a web UI that essentially wraps git functionality, which has proven useful for collaborating with (and receiving feedback from) non-technical people. It's pretty simplified.<p>Several open sourced tools are used behind the scenes, including some mentioned here (e.g. pandoc).
You might find these links useful:
<a href="https://github.com/WebBooks/wbb" rel="nofollow">https://github.com/WebBooks/wbb</a><p><a href="http://easybook-project.org/" rel="nofollow">http://easybook-project.org/</a><p><a href="http://johnmacfarlane.net/pandoc/epub.html" rel="nofollow">http://johnmacfarlane.net/pandoc/epub.html</a><p><a href="https://draftin.com/" rel="nofollow">https://draftin.com/</a><p><a href="https://news.ycombinator.com/item?id=7822057" rel="nofollow">https://news.ycombinator.com/item?id=7822057</a><p>That last link for pollen is very interesting IMO.
There's a difference between writing a book and formatting one. For writing you can use anything as long as you can export it to txt/rtf - rtf being the standard in the print world - even vi/vim is usable for this purpose.<p>For formatting the standard in the print world is InDesign, nothing else comes close. I used to work in the "print" trade, and that is what everyone uses.
I wrote about how I built mine here: <a href="http://rachelandrew.co.uk/archives/2014/01/07/html-epub-mobi-pdf-wtf-creating-an-ebook/" rel="nofollow">http://rachelandrew.co.uk/archives/2014/01/07/html-epub-mobi...</a><p>TL:DR going from HTML to PDF is more of a PITA than you think, .mobi and epub is pretty straightforward.
Use DITA or DocBook. There's loads of pretty solid transformations for turning either of them into all three of the outputs you want.<p>Word processors are always the worst choice.
I use Scrivener & it works well for me. If you have an image-heavy book you may find formatting images a little difficult in some of the e-reader formats. PDF files work well.