Quote:
Originally Posted by kovidgoyal
IIRC, ebook-convert uses the same cover generation function as the rest of calibre, so it should work.
|
But it didn't, else I wouldn't keep bothering you.
I'm using Calibre Portable 2.26.0.0 on a Win 7 64 bit system.
I call a cmd file
ebook-convert %1.htm %1.epub --epub-inline-toc --level1-toc //h:h1 --level2-toc //h:h2 --page-breaks-before //h:h1 --language en
30 times, for 30 different files, and their generated covers are random, ignoring the "disabled_styles" and "disabled_color_themes" settings in cover_generation.json.
I've also noticed that, different from calibre-portable, ebook-convert does not update cover_generation.json, "last_used_style" does not reflect the style last used by calibre-portable.
Source and target files, as well as ebook-convert.exe, are located in Calibre Portable\Calibre, cover_generation.json is in Calibre Portable\Calibre Settings.
Is there an option I've neglected to use, or could it be an issue of the portable version, and would it work with the non-portable one?