Skip navigation
Currently Being Moderated

ePub validation errors for chapters starting with an anchored image

Apr 2, 2012 4:35 AM

Tags: #error #export #epub

I am generating an epub file using InDesign CS5.5.

 

I have set up a TOC and selected it during the epub export. It has one level based on my paragraph style “Caption” and works perfectly when I test the ePub file on iBooks.

 

Most chapters start with an image, followed by a caption (in paragraph style “Caption”, the same as I’m using to generate the TOC) underneath.
Images are anchored (using the blue box) to this caption in the Indesign file.

I have forced a page break before the image in the export to epub to ensure the image comes at the top of the page.

So far so good. All looks great and everything, including TOC, works perfectly in iBooks on my iPad and in Adobe Digital Editions.

 

However, my file will not validate because the TOC markers in the chapters which begin with the anchored image are missing – even though the TOC works perfectly as I’ve mentioned earlier.
As far as I can make out from the HTML, the anchored image is overriding the TOC marker, hence the error.

I’ve manually edited the chapter files concerned for now as I’m under time pressure to finish the job, but I’d really appreciate any advice on how to set up my InDesign file to avoid this error in the first place for future books.

 

(I’ve tried anchoring the image to a space before the caption text, and anchoring it to a soft and hard return but no joy. I could start the page with the caption followed by the image and force the break after the image instead of before it to solve the problem but my client wants the image at the start of the chapter and I agree it looks much better that way round…….)

 

Any suggestions much appreciated.


I can post the HTML code the Indesign export is generating and the edited code if that helps at all.

 
Replies
  • Currently Being Moderated
    Apr 2, 2012 6:04 AM   in reply to PaulineMP

    Are you patched to the latest  version of InDesign CS5.5? (There was a bug which caused a validation error in the first release of CS5.5.)

     

    What exactly is the validation error?

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 2, 2012 4:14 PM   in reply to PaulineMP

    The current version of InDesign CS5.5 is 7.5.2. To see your version on a Mac, choose InDesign > About InDesign. Not sure where that is in Windows.

     

    There are two ways to keep InDesign up-to-date. (1) In InDesign, choose Help > Updates, and look for InDesign updates. (2) Or, go to the Adobe website and download the latest update.

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 2, 2012 4:40 PM   in reply to PaulineMP

    See if you get the same validation error with the EPUB from 7.5.2.

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 3, 2012 6:52 PM   in reply to PaulineMP

    There are two more things you could check. These are general troubleshooting steps but they could be causing the problem.

     

    The first step is to reset your InDesign preferences. Keep in mind that this will throw away all the custom settings you have made in InDesign. Here's how to do that:

     

    Do that, then test the validation again.

     

    If that doesn't work, you could have a corrupted InDesign document. You might just try this on a small subset of your chapters. Here's how to do that:

     

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points