This article originally appeared in TidBITS on 2010-08-27 at 4:24 p.m.
The permanent URL for this article is: http://tidbits.com/article/11550
Include images: Off

iWork 9.0.4 Gives Pages EPUB Support

by Adam C. Engst

Apple has released iWork 9.0.4 [1], fixing a few bugs and extending Pages to be able to export the EPUB format used by the iBookstore. Bugs fixed [2] in Keynote include problems printing handouts with rule lines, the slide switcher, and automatically resizing some images while changing slide size. In addition, Keynote, Numbers, and Pages all receive a fix for a bug related to tables. The update is 63.44 MB, and is available via Software Update or directly from Apple's Support Downloads page.

But the far more interesting news is that Apple has added support for the standard EPUB file format for electronic books to Pages, so it's now possible to export an EPUB from Pages. The reason this is interesting is that despite the fuss about EPUB, the tools available to create EPUB have been extremely limited, falling into four basic categories:

In her book "EPUB Straight to the Point [9]," our friend Liz Castro provides oodles of useful information about building EPUBs in both InDesign and Word (where you're really saving your file as HTML, and then manipulating the HTML file in a variety of tweaky ways to create an EPUB). Liz sells the book (as an EPUB-formatted ebook, natch) directly, or you can buy it in print through Amazon.com [10] or any of the usual suspects. Since it's the sort of book you'll need to reference frequently while working, you'll either want the print version or an iPad for the ebook version; the content isn't well suited to the small iPhone screen.

So where does Pages fall? I haven't had much time to play with its EPUB capabilities yet, but it looks like a serious contender in the WYSIWYG editing and EPUB export category. To be clear, Pages cannot open or import an EPUB file, so it's useful only for exporting in EPUB format. (Luckily, Pages can import Word files quite well, so you may not be entirely out of luck if your documents are in Word format.)

Apple has published a Knowledgebase article [11] on the topic that offers an overview of EPUB and PDF, and how to create an EPUB file with Pages. Although you can create an EPUB simply by exporting any existing Pages document, the results may not be ideal unless you start from a sample document [12] that Apple makes available on the Web (it's not included with Pages 9.0.4, oddly). The sample document can be used as a template or you can copy its styles into your document. Liza Daly, one of the world's EPUB experts, has examined the template, and is generally positive about what Apple has done, identifying only one notable problem in the XHTML output.

As a quick test, I imported the Word manuscript of Tonya's "Take Control of iPad Basics [14]" ebook into Pages, and immediately exported it as an EPUB. Almost shockingly, it was pretty darn good on the iPad. A number of internal navigation links were lost on import, but Pages retained the look and feel of our design, properly recognized the table of contents, dealt properly with Web links, and had no trouble with graphics. And when I ran the file through the EPUB validation tool [15] that Liza Daly's Threepress Consulting makes available, it passed with no errors.

With this new EPUB export added to all the commenting and change tracking features that have appeared in recent versions, Pages may now rank as real competition for Microsoft Word for serious writing. Of course, with Office 2011 due out in a few months, Microsoft has a chance to up the ante, but Apple can't be far from releasing a major update to iWork as well.

[1]: http://support.apple.com/kb/DL1097
[2]: http://support.apple.com/kb/HT4165
[3]: http://www.adobe.com/products/indesign/
[4]: http://www.the-soulmen.com/ulysses/
[5]: http://storyist.com/
[6]: http://www.literatureandlatte.com/scrivener.html
[7]: http://code.google.com/p/sigil/
[8]: http://www.oxygenxml.com/xml_editor.html
[9]: http://www.elizabethcastro.com/epub/
[10]: http://www.amazon.com/dp/0321734688/?tag=tidbitselectro00
[11]: http://support.apple.com/kb/HT4168
[12]: http://images.apple.com/support/pages/docs/ePub_Best_Practices_EN.zip
[13]: http://blog.threepress.org/2010/08/26/test-driving-apple-pages-with-epub-export/
[14]: http://www.takecontrolbooks.com/ipad-basics
[15]: http://threepress.org/document/epub-validate/