Ask HN: How Would You Start (Technically) Writing an Ebook
12 points| euroclydon | 15 years ago | reply
I'm thinking TeX, but are there macros to publish to .epub and .mobi?
I'd love to get some general advice from folks who written ebooks about what worked for them, and what they'd do differently -- technically, to ease the publication process.
[+] [-] bolinfest|15 years ago|reply
My editor can export to either DocBook XML or HTML, so I used the former to publish my book and the latter to publish essays on my web site. I also added support for slurping in source code from my repository so that I could be sure that the code samples in my writing actually worked. This was a bit of a pain, but definitely paid off, as readers are often infuriated by code samples that don't work. So far, no errata for code samples have been reported: http://oreilly.com/catalog/errata.csp?isbn=0636920001416
[+] [-] euroclydon|15 years ago|reply
Did you find that by creating an editor while writing your book, you were able to stay more engaged that if you had simply used a text editor and pushed off formatting until the content was done?
[+] [-] iguvnbiugb|15 years ago|reply
start simply, use as little markdown or markup as you can get away with, and just start writing. futzing with the package or syntax or style or layout or anything else is a great way never to get actually writing.
[+] [-] unknown|15 years ago|reply
[deleted]
[+] [-] subv3rsion|15 years ago|reply
Calibre was also a big help. Calibre is more ebook management? It does have some helpful conversion tools for the .epub to .mobi process.
Also during .epub development. I used threepress, http://threepress.org/document/epub-validate, to validate the .epub files as I went.
Focus on the content first not the format was my big lesson. In the end I made the .epub (DRM free) by hand using Notepad++. Just gave me far more control in the look, feel, layout, and fonts. Web developer by trade so it was not difficult to get a handle on.
[+] [-] rawsyntax|15 years ago|reply
So I think it covers a little about what tools to use etc..
[+] [-] b_emery|15 years ago|reply
http://chrismdp.github.com/2010/11/how-im-writing-my-book-us...
HN discussion:
http://apps.ycombinator.com/item?id=1861133
[+] [-] latch|15 years ago|reply
You can see the work at: https://github.com/karlseguin/the-little-mongodb-book
I blogged a bit about the process: http://openmymind.net/2011/4/5/Markdown-and-Me
[+] [-] chromatic|15 years ago|reply
Many of these tools are available from the Modern Perl repository on Github: http://github.com/chromatic/modern_perl_book