View Single Post
Old 08-15-2019, 11:52 AM   #4
jhowell
Grand Sorcerer
jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.
 
jhowell's Avatar
 
Posts: 7,109
Karma: 92190133
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
Quote:
Originally Posted by lumpynose View Post
Doing command line stuff on Windows is so ugly and unpleasant. Why couldn't they implement it with the UI?
I suspect that this new CLI is intended as a replacement for kindlegen.

I agree that it would be nice if the export function of the Previewer GUI would allow KPF as an option. Perhaps in a future release.

Quote:
Originally Posted by lumpynose View Post
Converting in Calibre from KPF to KFX blew up with this error:
...
I do get errors when I convert it with kindlegen, which I've been blithely ignoring
The problem does not appear to have anything to do with the kindlegen warnings. By using calibre's GUI to convert from KPF to KFX you are actually converting from KPF to EPUB and then from EPUB to KFX. In this case the conversion to EPUB is failing due to unexpected content in the KPF file that the KFX Input plugin cannot handle.

I would like to fix this. It would be helpful if you could post the source file you used, as long as the book is not under copyright. (If it is still under copyright you could feed it through the ScrambleEbook calibre plugin to remove the text while retaining the formatting.)

If you use the command line interface of the KFX Output plugin it will avoid the step of converting to and from EPUB, which is part of calibre's GUI conversion process. That will repackage the content from the KPF file into a KFX container.
jhowell is offline   Reply With Quote