InDesign’s Object Styles contain multitudes of possibilities to streamline EPUB export.
At the InDesign Conference in Denver last week, I saw a demo that used Object Styles to automatically style unformatted text. Follow these steps:
- In Object Style Options, choose the Paragraph Style to assign your desired style. Then select “Apply Next Style.”
- Here are the Paragraph Styles. Para style h1, with Next Style calling for textLeft:
- Then, textLeft calling for text as the Next Style:
- You can go on and on with these Next Style callouts.
Here’s a block of text. The text container has an Object Style of None.
- Select the Text Object Style, and all your planning work pays off. (I assigned odd style definitions just to point out how InDesign did a good job of assigning styles.)
And in case you missed it, that green text means that there’s a nested style in the Para style textLeft.
And if you include GREP styles? They’ll be assigned as well.
All this style sheet work is great. But what’s it mean for ebooks?
Well, when I’m working on a project that bypasses print and goes straight to EPUB, I still use InDesign as the delivery vehicle.
Using Object Styles as outlined here can make my workflow more straightforward (depending on the project, of course). There’s less need to page through a document to assign styles. And as long as I faithfully style-sheet my project – and assign export tags to every paragraph, character, and object style sheet — I’ll have a predictable export.
One inconvenience: while you can include Alt Text in an Object Style, you can’t assign an epub:type. That needs to be assigned frame by frame using the Object Export Options dialog.