![]() |
#1 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,338
Karma: 44001001
Join Date: Nov 2011
Location: Tampa Bay, Florida
Device: Oasis 2, Fire, iPad Air 2, Nexus 7
|
[Conversion Output] KFX Output
KFX Conversion Output Plugin
The purpose of the KFX Output plugin is to convert e-books into KFX files that can be sideloaded to newer Kindle apps and devices. This allows books obtained from sources other than Amazon to be read with Enhanced Typesetting, multi-thumbnail Page Flip, non-justified alignment, continuous scrolling, page curl, and Guided View for comics. (Note: If you only want somewhat better typography when reading Kindle books then using the "Add soft hyphens" option of the "Polish books" command in calibre version 4.6 or higher should be considered as an alternative to using KFX. It is less difficult to use and the book format it works with is compatible with more devices and software. The same effect can be achieved in older versions of calibre using the Hyphenate This! plugin.) Background: Spoiler:
Installation: Spoiler:
Configuration: Spoiler:
Usage: Spoiler:
Showing Cover Thumbnail Images on E-Ink Kindle Devices: Spoiler:
Command Line Interface (CLI): Spoiler:
Converting Comics and Manga: Spoiler:
Dealing with Conversion Errors Spoiler:
Typographic Widows and Orphans Spoiler:
Updating book metadata Spoiler:
Warnings and Limitations: Spoiler:
Version History: Spoiler:
Last edited by jhowell; Today at 12:31 PM. Reason: Version 1.51.0 |
![]() |
![]() |
![]() |
#2 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,338
Karma: 44001001
Join Date: Nov 2011
Location: Tampa Bay, Florida
Device: Oasis 2, Fire, iPad Air 2, Nexus 7
|
Open KFX with Kindle Previewer 3
KFX files produced by the KFX Conversion Output plugin or imported using the KFX Input plugin can be viewed using Kindle Previewer 3. However, the Previewer supports the file extension .azw8 for opening KFX files instead of .kfx. In order to open a KFX file with the Previewer it must first be copied or renamed so that it has a .azw8 extension. The "Open KFX with Kindle Previewer 3.bat" script can be installed in Windows to allow files with a .kfx extension to be viewed more easily. Installation:
Once associated the script file will execute whenever .kfx files are to be opened. Usage: Once installed you can then select a converted book in calibre and in the "Formats" section of the book details panel and simply click on "KFX" to open it with the Previewer. The .kfx file will be copied to a temporary .azw8 file and opened with Kindle Preview 3. Limitations: This script uses a simple method to create the file type association, not the best possible method. A Command window will briefly pop up whenever the script is activated. It has only been tested under Windows 10. It is not available for MacOS or Linux. (For a similar workaround under MacOS see this post.) Version History: Spoiler:
Last edited by jhowell; 07-24-2020 at 09:53 AM. |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 384
Karma: 3059202
Join Date: Jul 2014
Location: Australia
Device: Amazon Kindle Oasis 3
|
Thank you! You're a genius and inspire me to search and regain faith and trust in humanity. God bless!
... but what IS funny is that the okugin seems to have more success converting .kfx than the previewer itself! Go figure. Why is that?!? Last edited by cerem0ny; 03-28-2016 at 04:27 AM. |
![]() |
![]() |
![]() |
#4 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,338
Karma: 44001001
Join Date: Nov 2011
Location: Tampa Bay, Florida
Device: Oasis 2, Fire, iPad Air 2, Nexus 7
|
Quote:
For example, the Previewer fails if the source EPUB does not have UTF-8 character encoding. The initial conversion step automatically converts other encodings to UTF-8. |
|
![]() |
![]() |
![]() |
#5 |
Sir Penguin of Edinburgh
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,346
Karma: 23555015
Join Date: Apr 2007
Location: DC Metro area
Device: Shake a stick plus 1
|
Here's the log from my failed attempt:
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,338
Karma: 44001001
Join Date: Nov 2011
Location: Tampa Bay, Florida
Device: Oasis 2, Fire, iPad Air 2, Nexus 7
|
There isn't much I can tell from it. The Previewer's conversion routine, which runs under a Java installation included with the Previewer, somehow failed to launch. There is nothing in the log to indicate why. I can't tell if the problem is specific to Windows 7 or your particular PC.
I'll try to think of a way to have the plugin gather more information on this type of failure. In the mean time I have some questions to help diagnose the problem:
|
![]() |
![]() |
![]() |
#7 |
Junior Member
![]() Posts: 7
Karma: 10
Join Date: Mar 2016
Device: Kindle PW
|
Hi. I registered only for this.
First: thank you SO much for doing this! Sadly I tried using your plugin with the latest version of calibre and Kindle previewer 3 on my mac but i got an error message and the conversion failed. here is the log: http://pastebin.com/uUhqQWny I'm not using any antivirus that could interfere. It crashed with the Frankenstein book you linked. Later I tried to import the book in kindle previewer and got the "Enhanced Typesetting: Supported" message, so this seems to work. Thank you again for your work! Antonio Last edited by amordechai; 03-28-2016 at 03:18 PM. |
![]() |
![]() |
![]() |
#8 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,338
Karma: 44001001
Join Date: Nov 2011
Location: Tampa Bay, Florida
Device: Oasis 2, Fire, iPad Air 2, Nexus 7
|
Quote:
I had to make some guesses about where files are located in the Mac version of the Previewer and I guessed wrong. I will have a new version of the plugin ready in a day or two that may fix the problem. Please post a new log if the new version of the plugin still fails for you. Thanks for your error report. |
|
![]() |
![]() |
![]() |
#9 | |
Sir Penguin of Edinburgh
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,346
Karma: 23555015
Join Date: Apr 2007
Location: DC Metro area
Device: Shake a stick plus 1
|
Quote:
Then it asked me to update to 3.1, which I did. After that I ran the plugin again in calibre, and this time it told me that KindleImageConverter failed (twice, on one job). And then, on the next try, it converted the ebook which had failed 4 times already. So now it is working - sorta. |
|
![]() |
![]() |
![]() |
#10 |
Junior Member
![]() Posts: 6
Karma: 10
Join Date: Nov 2015
Device: kindle voyage, kindle paperwhite
|
How can I use the Amazon Kindle Previewer to convert from EPUB to KDF, when I open the EPUB via Kindle Previewer, it convert it to Mobi format. I have not seen any convert options to KDF.
|
![]() |
![]() |
![]() |
#11 | |
Sir Penguin of Edinburgh
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,346
Karma: 23555015
Join Date: Apr 2007
Location: DC Metro area
Device: Shake a stick plus 1
|
Quote:
But to be clear, that "Mobi" file you just made isn't just a Mobi file. Did you notice how it is several times the size of the Epub you started with? That's because it actually contains several different ebooks, including the original Epub, Mobi, and the new KFX. |
|
![]() |
![]() |
![]() |
#12 | |
Junior Member
![]() Posts: 7
Karma: 10
Join Date: Mar 2016
Device: Kindle PW
|
Quote:
Thanks for your work! |
|
![]() |
![]() |
![]() |
#13 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 384
Karma: 3059202
Join Date: Jul 2014
Location: Australia
Device: Amazon Kindle Oasis 3
|
Wish I kept my Aura H2O! Can't remember any problems with the typography
![]() ![]() ![]() |
![]() |
![]() |
![]() |
#14 |
Junior Member
![]() Posts: 1
Karma: 10
Join Date: Mar 2016
Device: Voyage
|
Azw3
if you use the book "Azw3", you can convert the book in KFX always. Sorry for my English, I'm Italian.
|
![]() |
![]() |
![]() |
#15 | ||
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,338
Karma: 44001001
Join Date: Nov 2011
Location: Tampa Bay, Florida
Device: Oasis 2, Fire, iPad Air 2, Nexus 7
|
Quote:
I don't know why it functions inconsistently for you and presumably others. It may be due to a bug in the plugin, but since I can't duplicate the problem I am unable to diagnose it further at the moment. Quote:
After opening a book with the Kindle Previewer you will usually see a dialog box with the message "Your book successfully converted into Kindle format" with a link to a folder containing all of the MOBI files produced by the Previewer. This message is a bit misleading since it doesn't let you know whether or not allowing Enhanced Typesetting succeeded for that book. The Previewer generates a KDF file for each book, but only if it succeeds at converting it for Enhanced Typesetting. To tell if this was successful you need to check the book information screen using Ctrl-I or by selecting View->Book Information via the program menu. If this shows "Enhanced Typesetting: Supported" then a KDF file was produced. If it show "Not Supported" then it failed to produced the KDF. The KDF file will be in a recently created subdirectory of your TEMP directory. A different random subdirectory is used for each book. You need to locate the one created at the time that you opened your book in the Previewer. For example, on my Windows PC the TEMP directory is "C:\Users\John\AppData\Local\Temp" and I can find the most recently converted book within it named "145a-0754-be2f-1d6e\book\book.kdf". |
||
![]() |
![]() |
![]() |
Tags |
kfx, linux, wine |
Thread Tools | Search this Thread |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Conversion Output] KePub Output Plugin | jgoguen | Plugins | 460 | 02-16-2021 02:18 PM |
Conversion output plugins? | jgoguen | Development | 14 | 08-10-2013 11:19 AM |
Output file name after conversion | dbellefuil | Calibre | 2 | 06-14-2013 04:40 PM |
catalogue builder output columns are not in the same order in the output | KWhytte | Library Management | 5 | 12-04-2012 02:03 AM |
Conversion output folders | TechieLady | Conversion | 6 | 01-19-2012 02:49 AM |