View Single Post
Old 12-02-2014, 09:36 AM   #2
GeoffR
Wizard
GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.
 
GeoffR's Avatar
 
Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
Quote:
Originally Posted by totallis View Post
Hi guys. I'll try and keep this as brief as possible.
I have a number of books I manage through Calibre in epub format.
I understand there is a difference between cover image embedded into the epub itself, and the cover image specified in metadata.

Many of my books, although I have successfully embedded the correct cover image into the epub, nevertheless display different images (often of the second or third page of the book) as their cover or book preview (in the menu).
Worth noting also, is that when I open these books on the Ereader itself.. they always OPEN ON THAT VERY PAGE, not the cover I have specified. Wheras, in the epubs that seem to have a working cover... the book opens right on that very cover page as correct.

If I look into the code of the file, I can see the 'false cover' page is headed up as 'title page'. Any correlation?
The book will open at whatever page is first in the toc.ncx file. You might need to add the cover page to the toc.ncx if the publisher has chosen to start the book somewhere else.

Edit: I should also warn you that if you make changes to the toc.ncx, you should delete the original book from the device before resending the altered book, otherwise the database will still contain the TOC from the old book and strange things can happen when you open the book.

(Since you are using Calibre, you might want to send the covers directly to the device instead of letting the device generate the cover page from the first page of the book. You can do that by customising the KoboTouch device plugin and ticking the "Upload covers for books" box. The advantage is that you won't get the white border caused by the book margins, and the cover and thumbnail images will generally be higher quality. You can also replace covers for books already on the device without re-sending the book by using the KoboUtilities plugin, but note that you might need to turn the device off and on again before the new covers will show up.)

Quote:
SECOND ISSUE.
How do I strip justification from an EPUB entirley? Even when converting in calibre and I tell it to CHANGE the justification, it makes no difference on the outcome.
For most books you can edit the book in Calibre and just delete all text-align: justify; lines from the CSS stylesheet. This will cause the book to be left-justified by default, but also allow the device's justification button to change it to full justification if you want.

Last edited by GeoffR; 12-02-2014 at 10:12 AM. Reason: Delete original book from device if making changes to toc.ncx
GeoffR is offline   Reply With Quote