View Single Post
Old 02-20-2014, 10:17 PM   #11
st_albert
Guru
st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'
 
Posts: 698
Karma: 150000
Join Date: Feb 2010
Device: none
Quote:
Originally Posted by SampleAndy View Post
(my bold added)

If you select the desired file (in my case, cover.xhtml) and RightClick it, you get a menu. From there, you can select Add Semantics and choose Cover. It looks like that might have taken care of it. The two PDFs which were only showing one cover had that menu option selected already.

I'm sure there are other things I've screwed up, but I think I'm making progress.

Thanks guys!!!
OK, what I was talking about was the case where you are preparing an epub for conversion to mobi format. In that case, you want to delete the cover.xhtml file entirely, and go to the "Images" directory and mark the cover image itself with the semantic "cover". Then change the guide entry for "cover" to something like:

<reference href="Images/cover-image.jpg" title="Cover" type="cover" />

and also be sure that within the <metadata> section of content.opf there is a line like:

<meta content="cover-image.jpg" name="cover" />

where of course you should replace "cover-image.jpg" with whatever the real filename of your cover image file is.

You should save this epub file with a separate filename, since it is no longer, strictly speaking, a valid epub. Use this file to convert to mobi.

And BTW I would recommend you use "kindlegen" rather than calibre to do the conversion, especially if you plan to distribute the kindle version to others. If you're on Windows, install the Kindle previewer, and it will handle the conversion from epub for you. Details are left as an exercise for the student.
st_albert is offline   Reply With Quote