3 Replies Latest reply: Jan 25, 2013 9:29 AM by fruhulda
Martin Petersen1 Level 2 Level 2 (340 points)

I have this novelmanuscript. Only text. Right now we'll forget about the page-break-problems :-)

Ok, when I export the Pages (4,3) document to ePub, it works in the validator ePub Checker. Everything is ok.

But when I add a picture as a coverpage as page 1, the validator sees an error:

 

"ERROR: /OPS/cover.xhtml(5,452): element div not allowed her, expected the element end-tag, text or element "a", "abbr", "acronym", "applet", "b", "bdo", "big", "br", "cite", "code", "del", "dfn" …" and several others

 

And the only thing I have done, is to insert the coverpic as page 1 in .jpg (have also tried TIFF with same negative result)

 

Though the validator notes an error, my epub-reader "calibre" reads the cover fine. But the error-report makes it impossible or difficult to place my eBook in certain eBook stores.

 

Anyone who understands that error message? Or even better: can tell me what to do?

  • 1. Re: Coverproblem doing Pages to ePub
    fruhulda Level 6 Level 6 (15,110 points)

    You have to have the image inline to work!

    More information on this link http://support.apple.com/kb/HT4168

    On the webpage you can find this link and download a template for an epub document.

  • 2. Re: Coverproblem doing Pages to ePub
    Martin Petersen1 Level 2 Level 2 (340 points)

    The image IS inline. (I guess what you mean is the choice you get when clicking on the image in the Pages document; you can choose between - in Danish - "integreret" og "flydende", guess that equals "inline" and "floating" ...)

     

    I have tried importing styles from the document mentioned, I have tried the two methods mentioned in that document, I have tried creating a new document from a template and pasting my document in.

     

    No matter what I do, "ePub Checker" gives me the above mentioned error message.

     

    But maybe "ePub Checker" checks something else than the end product in "iBooks" ...

    Cause actually the file HAS been made available (free) in iBooks store a month ago with no problems.

    But then I decided to sell it for money in the Danish eBooks-stores, and it has got to "pass" the 'exam' made by this "ePub Checker".

  • 3. Re: Coverproblem doing Pages to ePub
    fruhulda Level 6 Level 6 (15,110 points)

    Maybe it is better you post in the forum Creating ePubs. Most of us answering here doesn't create e-pub documents.