8 ms·
Ask HN: Toolset to write an e-book
I have a good idea for an e-book and I have like 50% percent of it written. I'm currently writing it using textile markup in WriteRoom. I'm planning to render it to HTML and from there use "print as PDF", but I think that there have to be a better workflow.
I know some of you have written e-books and I would appreciate any advice on the matter.
Thank you!
- samratjp 17y agoThis may not be directly relevant, but it doesn't hurt to use version control to keep track of changes or for just giggles to see what the heck you were thinking through the writing process.
- runevault 17y agoWriting is one of my hobbies/passions outside of coding, and using svn/hg/git/etc is so great, since it's all text (or should be, screw word and other word processors that save in binary formats). Being able to track changes and easily get back stuff if you change your mind is wonderful, just like it is in coding.
- armandososa 17y agoThat's a great idea! I've never really thought about that. Recently I've erased a whole chapter that I was feel was no longer relevant and, in hindsight, I think it's a bummer that now it's lost.
- crazydiamond 17y agoThere was an article a while back by the person who writes those "Dive into" series (Mark ??). Iirc, he stopped using markups and began writing directly in HTML. That way he could see exactly what he was getting and not waste time fighting a markup. See if you can google him. (dive into mark - iirc). I used to have a lot of problems with textile some years back. One never knew when it would just ignore a markup. Same often happens with markdown.
- armandososa 17y agoThank you, I think I found it: http://diveintomark.org/archives/2009/03/27/dive-into-history-2009-edition http://diveintomark.org/archives/2009/03/27/dive-into-histor... So, HTML is really the best way to write a book? I mean, as a web developer I can write HTML, but I feel like thinking in markup will break my inspiration a bit. Also, in the comments someone mentioned Pandoc, which looks sweet http://johnmacfarlane.net/pandoc/ http://johnmacfarlane.net/pandoc/
- pmiller2 17y agoMy personal toolset consists of emacs and pdflatex. I don't care about rendering to HTML, and my writings typically include math formulas, so I suspect my requirements are a bit different from yours. Nonetheless, when it comes to typesetting beautiful PDFs, you really just can't beat LaTeX.
- pramit 17y agoI have created 3 ebooks so far. Typed them in MS Word and printed as PDF using Pdf writer.
- eli_s 17y agoIf you are going from HTML -> PDF then by far the best tool I have found is princeXML. Outstanding HTML -> PDF rendering with automatic TOC, page numbering, splitting tables across pages. Excellent CSS and SVG support. Pricing is reasonable too.
- armandososa 17y agoPrince looks promising, but it's a bit pricey for my needs. I think I will use the free version and have their logo as a sponsor :P
- urlwolf 17y agoI think LyX is a good alternative here. Good converters to html, pdf, text... great outliner (much needed for a long piece such a book). Has track changes, and it's plain text so you could use a vcs with it.
- ScottWhigham 17y agoI did an ebook recently and it was an awful experience. I started with Adobe InDesign and tried to port to PDF - failed due to image support and integration with Kindle/ebook readers. I then switched to Word and tried to do PDF export and that failed for the same reason. In the end, I ended up having to go through multiple exports using multiple tools - one set for PDF, one set for HTML, one set for Kindle, one set for other ebook readers. I originally had planned on doing several ebooks but #$%^ that.
- armandososa 17y agoYes! I'm a graphic designer and had to do some editorial design before and dude… I hated everything about it! That's why I expected this process to be a major source of frustration.
- iamgabeaudick 17y agoSo, regardless of what you use to create the ebook, where can/should you publish it once it's done? I know you can post it, say, on your blog to download, but what else would you do. (Submit to Amazon, or iBooks, or more?)