PDA

View Full Version : Tools for ePub



Medievalist
06-09-2011, 09:43 PM
I thought I'd start a discussion of some of the tools for creating an ePub file from a word processor document for people who want to self-publish ePub books or create them from your own files.

Long ago, when ePub was still the Open Ebook format, I used to hand-code the book using BBEdit Pro. I still use BBEdit Pro for tweaking (the free sister of BBEdi (http://www.barebones.com/products/textwrangler/)t TextWrangler can do the same thing, but it lacks the very handy tools palette (http://www.barebones.com/products/bbedit/comparison.html); still, if you're on a Mac TextWrangler is a fabulous text editor for using GREP or tweaking files using the powerful search and replace options).

I want to recommend a book: Liz Castro's Epub: Straight to the Point. It's from Peachpit Press (http://www.peachpit.com/store/product.aspx?isbn=0321734688), but you can also buy an ePub version from Ms. Castro's site (http://www.elizabethcastro.com/epub/). Her blog is a good source of updated information about ePub (http://www.pigsgourdsandwikis.com/).

Apple's Pages the iWork wordprocessor/document layout program does a clean and very easy conversion from Pages to ePub via Share -->Export. Apple even provides a free template and instructions for creating ePub books. (http://support.apple.com/kb/ht4168)

Pages works very well if you have a fairly simple ePub book. It's a good way to get an ePub bundle (ePub documents are really a bundle of files) that you want to tweak by hand.

Lately, I've been using Scrivener 2.x for Mac to create ePubs (http://answer20q.com/tag/using-scrivener-to-publish-epub-books/); it's a simple export, and Scrivener allows you to make some nify and very professional styles in your ePub without hand-editing CSS or xml/html.

ePub Reader is a free Firefox plug in (http://www.epubread.com/en/) designing to allow you to read ePub books in your browser. It's a great way to do a quick check to get an idea of how an ePub book will look on the screen. It also creates a "library"--which allows you to look at an "exploded" or un-bundled ePub and see how a book was made, or access the CSS to modify it.

Calibre is a free multi-platform ebook conversion tool (http://calibre-ebook.com/)that handles ePub quite well; it can be complicated, there are lots of options, but it can do a very good job.


Stanza is a reader, (http://www.lexcycle.com/) but it too is awfully useful and multiplatform. Stanza for computers (http://www.lexcycle.com/) does epub conversions.

Old Hack
06-09-2011, 10:10 PM
That's really useful, Lisa--thank you.

AllisonK
06-09-2011, 10:51 PM
Thanks for the tips! It will come in handy soon when I get ready to do the ePub version of my novel. Right now I'm cleaning up an HTML version for Kindle's DTP, and will probably look to convert it to ePub after that for the other ereader sites. I'll look into Calibre and see if it will work for me. (I have a PC, so most of the Mac software doesn't apply to me, sadly.) I don't want to use SmashWords if I can help it. Since I don't use Word (I use OpenOffice and Works), I suspect my files aren't going to play nice with their meatgrinder. Besides, I'm a control freak: I'd much prefer to code/format my book personally rather than trust an automated system to do it. :)

I've also read that you can export to ePub in InDesign, but I have a feeling that only applies to the later versions of the software. I have CS2, which is probably too old. Does anyone here have experience with that? I may have to do some googling...

Carradee
06-10-2011, 04:59 AM
The one issue I'm having with creating EPUB files is that the table of contents is getting placed before the title page. Not all that big a deal, really, but anybody know how to fix that? (I have TextWrangler, Scrivener, Calibre, and Stanza.)

Medievalist
07-22-2011, 10:40 PM
If you're running Apple's OS X Lion/OS X 10.7 there's a nifty Automator action to create an ePub ebook from a .txt or .rtf file:

http://www.macosxautomation.com/lion/epub/index.html

Al Stevens
07-22-2011, 11:04 PM
My procedure:

LibreOffice to write and convert doc -> html files.
Notepad++ to tweak html and embedded CSS.
Mobipocket Creator for html -> prc (Kindle format).
Calibre for .prc -> .epub
Sigil to edit .epub files
GIMP for cover design.
Amazon's Kindle Direct Publishing website to publish
All the software is free.

Al Stevens
07-22-2011, 11:06 PM
The one issue I'm having with creating EPUB files is that the table of contents is getting placed before the title page. Not all that big a deal, really, but anybody know how to fix that? (I have TextWrangler, Scrivener, Calibre, and Stanza.)

Use Sigil to edit the epub file. You can change the order of internal files. Move the toc html file to where you want it.

James D. Macdonald
07-24-2011, 04:37 AM
The epubs I've created with Calibre routinely fail the epub validation at http://threepress.org/document/epub-validate

Medievalist
07-24-2011, 05:04 AM
The epubs I've created with Calibre routinely fail the epub validation at http://threepress.org/document/epub-validate

It's because of the way the CSS is done; it's not kosher in its hierarchy.

James D. Macdonald
07-24-2011, 07:41 AM
Speaking of software failures, MobiPocket Creator crashes if you try to create a Table of Contents and you have MSIE 9 installed.

Medievalist
07-24-2011, 08:37 AM
Speaking of software failures, MobiPocket Creator crashes if you try to create a Table of Contents and you have MSIE 9 installed.

I'd see if you have a registry conflict.

Can you create a new user account and try it there?

Al Stevens
07-24-2011, 06:25 PM
I have a book that Calibre won't convert from .prc to .epub. It hangs up. Only on XP, though. It works on my wife's Windows 7 computer. The developer hadn't a clue. All he said, was, in effect, "that's a complex book." A programming text with lots of code, headings, graphics, etc.

James D. Macdonald
07-24-2011, 07:16 PM
I'd see if you have a registry conflict.

Can you create a new user account and try it there?

Multiple other people have reported the same bug.

I cured it by uninstalling MSIE 9.

I made it come back by reinstalling MSIE 9.

Deirdre
07-24-2011, 09:46 PM
If you're running Apple's OS X Lion/OS X 10.7 there's a nifty Automator action to create an ePub ebook from a .txt or .rtf file:

http://www.macosxautomation.com/lion/epub/index.html

That is super-handy and something I didn't know about, thanks!

Sargentodiaz
07-26-2011, 07:39 PM
My procedure:

LibreOffice to write and convert doc -> html files.
Notepad++ to tweak html and embedded CSS.
Mobipocket Creator for html -> prc (Kindle format).
Calibre for .prc -> .epub
Sigil to edit .epub files
GIMP for cover design.
Amazon's Kindle Direct Publishing website to publish

All the software is free.

I had OpenOffice, then read that I should upgrade to LibreOffice. I did and the whole thing was a mess! Mainly because I didn't convert my OO files back to Word.

My problem with Libre is the help menu function. I took me back to the website and I could never seem to find what I was looking for.

Now, on the other hand - I re-downloaded OO and found their community forum. I did my best to ask an intelligent question and one of the "moderators" [from Germany] gave me one of the rudest and most ignorant replies I've ever seen anywhere on the internet - except for US Message Board.

Now, I'm wondering if I shouldn't consider going back to Libre and suck it up about the help function.

Sargentodiaz
07-26-2011, 07:43 PM
That is super-handy and something I didn't know about, thanks!

this really makes me shake my head.

Way back in the early 80's I had an Apple II clone. I also joined an Apple Users Club and we even had access to Electronic Bulletin Boards. Several people had Macs and I often thought I should upgrade.

But, I didn't.

And, when in the late 90's I decided to buy a computer again, I went with that pc company with the Holstein cow pattern - can't for the life of me think of their name. When that crashed, I went with a Dell and now have an HP/Compaq.

I often find myself wondering if I should've gone with a Mac.

Al Stevens
07-26-2011, 08:22 PM
I had OpenOffice, then read that I should upgrade to LibreOffice. I did and the whole thing was a mess! Mainly because I didn't convert my OO files back to Word.
Hmm. I did not have that problem when I switched.


Now, I'm wondering if I shouldn't consider going back to Libre and suck it up about the help function.
I have that same complaint about LibraOffice. But I cheat. I goggle "OpenOffice tutorial" along with a keyword that identifes the issue. The two programs are almost the same. That won't last forever, though. (I also kept OO installed and can use its help function.)

DACasey
07-26-2011, 09:16 PM
I went with that pc company with the Holstein cow pattern - can't for the life of me think of their name.

Gateway

Deirdre
07-26-2011, 10:22 PM
I often find myself wondering if I should've gone with a Mac.

It's not a once-in-a-lifetime decision. You're welcome at any time. :)

Sargentodiaz
07-27-2011, 07:51 PM
Well, I finally did what I should've done when I first downloaded OpenOffice - I downloaded the pdf tutorial!!!!
So far I've gone through the first four and it's getting easier to do. Once I've converted what I need, I just might try LibreOffice again.

It's kinda neat to find all sorts of new features in OpenOffice.

KathleenD
08-03-2011, 12:32 AM
I thought I'd contribute what I've done twice now.

I just bit the bullet and did up the stories in HTML, and used Calibre to convert to ePub et al. The results are really clean.

The first story took three days and a lot of crying and two calls to a technically-minded friend.

The second story took a day, and no tears. The day included doing the cover and going over every line of the book with a nit comb.

Because I have no technical chops whatsover, I followed this guy: http://guidohenkel.com/2010/12/take-pride-in-your-ebook-formatting/

The actual how-to starts at Part V, but the first four parts help us non-technical people to understand the framework.

Reading the comments helps as well.

Medievalist
08-03-2011, 12:55 AM
I often find myself wondering if I should've gone with a Mac.

It's not too late!

davidw
08-05-2011, 10:13 AM
I thought I would throw my own creation into this ring as well:

http://www.liberwriter.com

Currently, it's Kindle-only, but we're working on ePub. Being web-based, it also makes it very easy for us to give assistance to those who need a bit of guidance, as we can log in and edit their documents.

It's a fairly new venture, so there's still plenty I'd like to add to it, but so far our customers are quite happy, and I'm having a lot of fun with it.

Laer Carroll
10-12-2012, 03:56 AM
I go in the other direction. I create an EPUB with Sigil. Then I use Calibre to create a MOBI file. It takes about a minute.

I did this for two reasons. The Amazon tools for creating a MOBI file are pretty primitive. Also you have to manually create the toc.ncx file. Sigil creates it automatically.

Works for me, for five books so far.

glutton
11-11-2012, 07:37 PM
I thought I would throw my own creation into this ring as well:

http://www.liberwriter.com

Currently, it's Kindle-only, but we're working on ePub. Being web-based, it also makes it very easy for us to give assistance to those who need a bit of guidance, as we can log in and edit their documents.

It's a fairly new venture, so there's still plenty I'd like to add to it, but so far our customers are quite happy, and I'm having a lot of fun with it.

I just signed up for this, it looks amazing.