epub Format Conversion: Step 1--Reasoning

First off, I've been podcasting my fiction since September 08. I was very very green in the gills when I first recorded "The Hunt". I think it turned out okay, but I'm definitely going to re-record it before DragonCon.

That said, I have received numerous requests (including many people I know who do not like podiobooks as a rule) to create "text" editions of my work. In the past, I have just given them a .pdf of the document and been done with it. But, it's not that simple.

The way I write, I tend to put all the files for a single story in a directory. The files are numbered (so I know what order they go into) and then I use a *nix command called "cat" to take all the files (in order) and put them into a single text document. The resulting text document is then placed into OpenOffice, formatted to make it pretty, and then exported to a .pdf.

As you might imagine, this is a SIGNIFICANT pain in the ass. It requires me to engage in a multi-step process that is error-prone and difficult to reproduce smoothly. As a software developer, this is a great anathema to me.

For DragonCon, I'm going to produce CDs that have all my fiction podcasts (up to August) as well as the textual versions of those stories. But .pdfs suck. I don't want to use them. .pdf is a great format if you want a document that can be easily printed and shared. But, as far as viewing them on devices, they are total shite.

iPhones, Crackberrys, Kindle, etc are capable of reading formats like amazon's proprietary kindle format, or .epub books. The .epub is obviously more ubiquitous since it is supported by both free and non-free software. I will support the kindle format too, but the most immediate need is to get .epub working first.

Now, before some of you start throwing furniture at me, asking why the hell I'm inventing something that's already out there, let me say this: no, it's not out there. To create .epub books, the tools out there assume you're using the great hated satan (m$ Word) or openoffice writer, or .rtf or some other format I don't want to use.

Why don't I just change my writing style? Um, right. Why don't you change how you say certain words? Or better yet, switch your handedness. What it comes down to is this: for longer works (novellettes, novellas, novels), it's much easier for me to break things up into their constituent pieces. So every chapter/subchapter gets its own file. The great thing about this is that I can re-order the files anyway I want without all that copy/paste bullshit.

I HATE THE MOUSE! I want to do things that are predictive, reproducible, and reusable. So, I need a converter.

So that's all the rationale I currently need in order to justify myself. I'm going to keep some blog topics on this and keep going until I succeed in making the entire process work. It'll bore the shit out of some people. But for us authors who hate using clicky-buttony thingies that get in the way of us being productive, I think it's a very useful conversation.

Cheers.

Share

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Duplicate blog...

Heyyaa.... jus saw a very same blog somewhere else too !!! guess somebody's been copyin ur stuff...

You probably saw it on stories.shadowpublications.com

I've got two sites at the moment. It's a pain in the ass. Will be fixing it soon, though.

epub changes

I can totally confirm it's a pain in the ass. Ironically it's easier for the tools to convert binary files like MS Word. Which sounds crazy. Docbook has a xslt to convert to epub, but docbook is a bit hairy in its own. I'm in the process of using docbook as a master format and then converting it to clean boring html. That's good in the long run, but still complicated and time-consuming at first. It's very analogous to a latex solution (even though docbook already has a xslt transform for epub). Ecub seems designed to make it easy to import html files and jpegs. Calibre is an ebook management tool that lets you do lots of conversions (like from PDF to epub or epub to lrf (mobipocket). You might want to check it out. Here are the conversions it can do . Atlantis word processor claims to do epub conversions, which would be cool. (Which raises the question, why doesn't MS Word or OpenOffice create a plugin to do this conversion?) One of the issues is how long it takes to do it manually. It's actually easy to make html files without special layout, use an ebook-friendly css and manually make the manifold (remember, epub is just a zipped file and nothing else). Another option is to go to smashwords or feedbooks and input your content there (which they will format automatically for you. Unfortunately, aside from cover images, they don't let you adds lots of images or do funky things with layout or design. And also it obligates you to do future revisions using their interface. The key question is settling onto a format for a master document and sticking with it. Like it or not MS Office is still the preferred master document format. you're using tex/latex, right? They probably have an output-as-html tool that should be very clean. If somebody hasn't already written a latex-to-epub tool, somebody will. I wonder if some of these latex solutions allow html chunking (i.e. output into multiple html files--one for each chapter). That's the main reason I went with docbook btw. Apparently, ebook readers choke if the epub is generated from a single html file. BTW, much as I share your distaste for MS Word 2007, it works pretty good with copying html content via the browser and pasting into the Word file (especially if you are not using tables). MS Word 2007 would capture the hierarchy of styles pretty well. I suspect LATEX-generated html would be very clean. The wizard for generating TOCs in MS Word 2007 are pretty good. (And remember, I try to avoid MS Word). The main problem with that is image handling. Good luck.

Good Info

Appreciate the information. Like I said, I'm still trying to find the best automated way for doing all this. Not that anyone else on the planet writes the same way I do, but still, it would at least help me. Who knows? Maybe this exercise in insanity might spur a little more innovation in tools for epub.

OO vs. MC Office

Sorry one other thing. As strange as this sounds, OO has been a really inferior way to generate ebooks (at least the last time I checked it two years ago). MS Word 2007 is a lot better even though that's not saying much.

But if it's not open-source...

it's crap. :P

Point of order

Just to be nit-picky, the Kindle doesn't have native ePub support. There's plenty of applications (like Stanza on the Mac) which can covert ePub to the Kindle's *.mobi format easily. There's also something called Savory that is some hack plugin that will convert ePub and PDF directly on the Kindle. For Kindle readers, google around and you can find a converter easily until Paul gets fully assimilated into the Amazon Collective.

I SHALL NEVER BE ASSIMILATED!

Rumors of my imminent assimilation are GREATLY exaggerated. Okay, maybe not. I'll be a whore if it keeps money for the site going and to buy tequila on Friday nights. So yeah, native kindle support will be forthcoming. I promise...sigh. And then what happens when Google FURTHER muddies the water??

obligatory

resistance is futile?
-

BrentC

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.