Quote:
Originally Posted by compurandom
This is a bug I've been fighting with for a while.
If the first html file of a epub (converted to a kepub) is not the title page, it gets rendered as a title page anyway. (I think this is not a problem if there is only one html file in the epub.) I believe this is also a problem if the book has a title page, but it is a jpg instead of an html file, but I haven't done enough testing to know if this is always the case.
The way to solve it is to use the calibre plugins modify epub or polish epub to insert a title page.
|
If I am going to convert an epub to kepub, I simply make sure that the cover image entry in the content.opf file is correctly formatted. This includes the properties="cover-image" item in the cover image's entry in the <manifest> section of content.opf. See the two lines below for a sample.
Code:
epub:
<item id="cover" href="Images/cover.jpg" media-type="image/jpeg"/>
kepub:
<item id="cover" href="Images/cover.jpg" media-type="image/jpeg" properties="cover-image"/>
Since this is a by design behaviour and complies with the epub3 spec, calling it a bug is a bit of drawing the long bow. The EPUB 3.0 documentation contains the following:
Code:
› cover-image
Description: The cover-image property identifies the described Publication Resource as the cover image for the Publication.
Applies to: All raster and vector image types
Cardinality: Zero or one