Quote:
Originally Posted by itimpi
If you do a save to disk, then whether the cover.jpg gets saved as well as a separate file is optional (as is the .opf file).
|
I'm clearly not conveying my issue well. It is optional to save copy of the cover and opf when doing a save to disk _in addition to all exported formats_. I'm not talking about a loose jpg. I'm talking about the contents of the created htmlz file.
The purpose of htmlz was to export a single, flat html file for editing more easily than the contents of an epub. But in addition to that, calibre is including parts of its internal library structure in the archive--specifically, the cover.jpg file.
If I export an epub, only one jpg is included. If I export to mobi, the file size suggests that only one copy of the jpg is included. But if I export to htmlz, it includes both the "cover according to the epub" file and the "cover according to calibre" file, even if those files are identical.
Quote:
Originally Posted by theducks
HTMLZ has no way of knowing that 0001.jpg is a cover. Unlike EPUB, there is no defined 'reference' section (in the content.opf) to consult.
|
True, but that should only be an issue when importing from htmlz. When creating the htmlz in the first place (converting from epub or mobi) calibre does know whether the referenced file is a cover.