I started to work on conversion quirks. One particular problem now is that a convert will duplicate the cover image.
My call:
Code:
ebook-convert book.odt book.epub --output-profile sony300 \
--preserve-cover-aspect-ratio \
--no-svg-cover --no-default-epub-cover \
--filter-css margin-top,margin-right,margin-left,margin-bottom,position,top,width
This will result in a extra titlepage.xhtml generated by the conversion, right in front of the titlepage that is in the converted xhtml of the ODT document.
I suspect I did create this by returning the cover image in get_metadata. The only logical way to work around this would be to strip the cover image markup from the source in the input process. This would imply that a cover image has not to be in the markup of the book.
Or is there something I am missing to work around it?