Still experimenting with some more... I think I can also enable direct cover image conversion (if the cover image is really an image and not a text page). A proof of concept with my test document already works.
By giving the the image in question a name in the ODT, I can find it quickly in the document content (open with odfpy, use element function to find the elements in question).
My test is to just set mi.cover in odt.get_metadata to the href of the image inside the document. After a run of ebook-convert this results in the id of the resource in question becoming 'cover' instead of some id+count.
|