View Single Post
Old 03-22-2013, 09:45 AM   #2
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,108
Karma: 60406498
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by Rev. Bob View Post
I would think this would be a straightforward thing, but apparently it isn't.

I want to customize the code that Calibre generates as titlepage.xhtml. In fact, if the cover image's location is always ./cover.jpeg, the code I want to use can be completely static and is totally self-contained; I can manually replace Calibre's file with mine in a converted EPUB in a matter of seconds.

My question is, is there any way to tell Calibre to use my code instead of generating its own, so I don't have to do all those manual replacements?
If I read this right. You want fully Automatic upon converting.

There is a 'Generate Cover' plugin that allows user designed covers to be created (manual click)

Conversions use the 'Library (metadata) cover. have the cover showing in the metadata before you convert.

Simply have the 'remove first Image' box ticked if the cover is not identified as 'cover' in the original and Calibre will remove that one.
theducks is offline   Reply With Quote