TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: How do you guys write your ebooks?

9 pointsby nanexcoolalmost 11 years ago
I&#x27;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&#x2F;mobi. I think that&#x27;s about it. Not looking for anything fancier than that.<p>Thanks!

8 comments

guynamedlorenalmost 11 years ago
I&#x27;m working on some software in this area (<a href="https://www.penflip.com/" rel="nofollow">https:&#x2F;&#x2F;www.penflip.com&#x2F;</a>). A book is a basic git repository holding a collection of markdown files and images, which are compiled into PDF&#x2F;epub&#x2F;html with a single click in the browser. There&#x27;s a web UI that essentially wraps git functionality, which has proven useful for collaborating with (and receiving feedback from) non-technical people. It&#x27;s pretty simplified.<p>Several open sourced tools are used behind the scenes, including some mentioned here (e.g. pandoc).
netcraftalmost 11 years ago
You might find these links useful: <a href="https://github.com/WebBooks/wbb" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;WebBooks&#x2F;wbb</a><p><a href="http://easybook-project.org/" rel="nofollow">http:&#x2F;&#x2F;easybook-project.org&#x2F;</a><p><a href="http://johnmacfarlane.net/pandoc/epub.html" rel="nofollow">http:&#x2F;&#x2F;johnmacfarlane.net&#x2F;pandoc&#x2F;epub.html</a><p><a href="https://draftin.com/" rel="nofollow">https:&#x2F;&#x2F;draftin.com&#x2F;</a><p><a href="https://news.ycombinator.com/item?id=7822057" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=7822057</a><p>That last link for pollen is very interesting IMO.
评论 #7977349 未加载
dai_polealmost 11 years ago
There&#x27;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&#x2F;rtf - rtf being the standard in the print world - even vi&#x2F;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 &quot;print&quot; trade, and that is what everyone uses.
评论 #7980550 未加载
rachelandrewalmost 11 years ago
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:&#x2F;&#x2F;rachelandrew.co.uk&#x2F;archives&#x2F;2014&#x2F;01&#x2F;07&#x2F;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.
eponeponeponalmost 11 years ago
Use DITA or DocBook. There&#x27;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.
helen842000almost 11 years ago
I use Scrivener &amp; 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.
评论 #7977628 未加载
krrishdalmost 11 years ago
For technical books, <a href="http://gitbook.io" rel="nofollow">http:&#x2F;&#x2F;gitbook.io</a> is a new choice that I&#x27;ve been using.
moron4hirealmost 11 years ago
I was going to suggest my project, but you can&#x27;t add images to your books yet. Le sigh, back to work.