Monday, July 11, 2011

InDesign CS5.5, ePubs and Blockquotes

Juggling ebooks never ends, does it.  I have been working to leverage the enhancements to InDesign in its CS5.5 incarnation, hoping to streamline my ebook production.  Ideally, I'd create one copy of the book, formatted for trade paperback, and then with the use of the Articles panel, remove and re-order to eliminate some excess not used for the ebook versions and use anchored images to keep them showing up in the e-text in the proper places.  I am also using the ability to edit for export the tags associated with paragraph styles.

So I was rudely interrupted from my pleasant dream when epubcheck complained loudly that all my blockquoted text was illegal.

It seems this is illegal:

<blockquote>
this is text
</blockquote>

Which used to be just fine.
Now it's supposed to be:

<blockquote>
<p>
this is text
</p>
</blockquote>

Now I have to decide whether to edit the code manually, or learn how to make InDesign generate the proper code.

UPDATE:  It seems the easy solution is to ignore the tag exporting for blockquote.  Instead of selecting 'blockquote' for a section of indented text, leave it at [Automatic].  This will export a <p&gl; tag with a special class and generate CSS that will indent the section.

No comments: