View Single Post
Old 06-09-2015, 03:26 AM   #5
RobertDDL
Whatever...
RobertDDL ought to be getting tired of karma fortunes by now.RobertDDL ought to be getting tired of karma fortunes by now.RobertDDL ought to be getting tired of karma fortunes by now.RobertDDL ought to be getting tired of karma fortunes by now.RobertDDL ought to be getting tired of karma fortunes by now.RobertDDL ought to be getting tired of karma fortunes by now.RobertDDL ought to be getting tired of karma fortunes by now.RobertDDL ought to be getting tired of karma fortunes by now.RobertDDL ought to be getting tired of karma fortunes by now.RobertDDL ought to be getting tired of karma fortunes by now.RobertDDL ought to be getting tired of karma fortunes by now.
 
RobertDDL's Avatar
 
Posts: 197
Karma: 1114225
Join Date: Feb 2015
Location: Austria
Device: PocketBook InkPad 840, Touch HD 2
Quote:
Originally Posted by kovidgoyal View Post
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?
RobertDDL is offline   Reply With Quote