Thoughtful, detailed coverage of the Mac, iPhone, and iPad, plus the TidBITS Content Network for Apple consultants.

iWork 9.0.4 Gives Pages EPUB Support

Apple has released iWork 9.0.4, fixing a few bugs and extending Pages to be able to export the EPUB format used by the iBookstore. Bugs fixed 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:

  • WYSIWYG editing and EPUB export: Until the release of Pages 9.0.4, Adobe InDesign has essentially owned this category, because it was the only professional program in either the word processing or page layout space that could export reasonable EPUB files that were more than straight text. There are also several writing tools aimed at creative writers - notably Storyist and Ulysses and the upcoming Scrivener 2.0 - that can export to EPUB, though it appears on a quick glance that they are relatively limited in terms of stylistic capabilities, along with features essential for professional writers like change tracking and commenting.

  • WYSIWYG EPUB editors: The only Mac-compatible program I know of that claims to provide WYSIWYG editing of EPUB is Sigil, a cross-platform, open-source tool that works, but has some serious usability problems. If you have an EPUB that you wish to edit with WYSIWYG editing tools, try Sigil. Beware though, since in my experience, Sigil ignores an EPUB's existing table-of-contents file and creates its own, which is often sub-optimal.

  • XML-focused editors: These programs, such as Syncro Soft's oXygen XML Editor, provide tools for working with EPUB at the code level. Creating an EPUB with an XML editor is like building a Web site with BBEdit; you get a lot of control, but you have to know exactly what you're doing, and minor mistakes can require debugging.

  • Conversion tools: There are oodles of tools that claim that they can convert files from a wide variety of formats into EPUB. Frankly, none that I've tested has done squat with the Word or PDF documents that we create for Take Control. I suspect they would work with very simple documents.

In her book "EPUB Straight to the Point," 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 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 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 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" 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 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.


Try productivity tools from Smile that will make your job easier!
PDFpen: PDF toolkit for busy pros on Mac, iPhone, and iPad.
TextExpander: Your shortcut to accurate writing on Mac, Windows,
and iOS. Free trials and friendly support. <>

Comments about iWork 9.0.4 Gives Pages EPUB Support
(Comments are closed.)

Michael Cohen  2010-08-28 07:28
I just tried the same thing with a Take Control book I'm working on (you know the one, Adam ), and I must say, I'm impressed with the quality of the export.

I just looked at the calendar and noticed that school is starting up right about now. A lot of iPads are making their way into schools this year, and suddenly teachers have a really low cost, efficient, and reliable way to produce ebooks for those iPads from existing word processed teaching materials. I don't think one can overestimate how important this small point-release update to Pages is for education. As the pundits like to say, "This changes everything!"
M. Perry  2010-08-28 09:28
Scrivener, the popular writer's application, will be adding EPUB export in the 2.0 version, due out in October. For serious, book-length projects, fiction or non-fiction, it's far more powerful than Pages.
Adam Engst  An apple icon for a TidBITS Staffer 2010-08-28 09:53
My understanding is that Scrivener 2 won't have change tracking (not sure about extratextual comments), which are both necessary for any publishing situation with an author and an editor.
barefootguru  2010-08-29 16:36
This sounds like a great move from Apple.

I've been using the open source Sigil. It manages the epub package format for you, plus does basic formatting and conversion, though you sometimes have to drop down to XML editing.
Adam Engst  An apple icon for a TidBITS Staffer 2010-08-30 07:19
Beware that if you open an EPUB that has a table of contents already in Sigil, it will replace it with its own TOC.
Bob Daly  2010-08-30 14:14
The sample document can also be saved as a Pages Template, thus "including" it in 9.0.4.
Lisa Spangenberg  2010-09-02 13:48
A voluntary victim ran a chapter of my Unicode-using, footnote-heavy blockquote and italics-using Microsoft word dissertation through Pages, and I'm impressed with the output. Footnotes are links, blockquotes and italics retained, and if the font is set to Times New Roman in iBooks, even the unicode characters are properly displayed.

This has enormous possibilities for education, especially higher ed.