Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Plugins

Notices

Reply
 
Thread Tools Search this Thread
Old 08-18-2025, 02:43 PM   #1681
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,149
Karma: 92500001
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
Quote:
Originally Posted by toadclones View Post
The page list works properly in the calibre reader but not on my kindle after the KFX conversion. I see here you say that it should work, but that was back in 2022. Does it still work? or are these pages not configured properly?
Because Amazon's Kindle Previewer uses EPUB as its source format the KFX Output plugin converts whatever input format you supply to EPUB before passing it to the Previewer. That process is done using code that is part of calibre itself, not this plugin.

If you take your scrambled.epub file and use calibre to convert it from EPUB to EPUB (with the default output option of version 2) you will find that the page numbers list is stripped from the book. Since that is what is happening as the first step in conversion to KFX the page numbers will be missing from the converted book.

I don't know why calibre is stripping the page number list in EPUB-to-EPUB conversion. It seems to be a bug. If you want to pursue that further you can open a calibre bug report based on the results obtained when doing EPUB-TO-EPUB conversion of your book.

Also, if do an EPUB-to-EPUB conversion of that book and choose EPUB version 3 as the output format the result will retain the page number list, but many of the links become broken in that case. That appears to be caused by a different calibre conversion bug.

If you want to bypass this problem and convert your book with page numbers intact I suggest that you use the plugin's Command Line Interface (CLI), documented in the first post of this thread. Using that bypasses calibre's conversion software and its page list related bugs.
jhowell is offline   Reply With Quote
Old 08-18-2025, 11:16 PM   #1682
toadclones
Junior Member
toadclones began at the beginning.
 
Posts: 9
Karma: 42
Join Date: Dec 2023
Device: Kindle(11th gen)
Quote:
Originally Posted by jhowell View Post
I don't know why calibre is stripping the page number list in EPUB-to-EPUB conversion. It seems to be a bug. If you want to pursue that further you can open a calibre bug report based on the results obtained when doing EPUB-TO-EPUB conversion of your book.
It's weird, even if you add the nav.xhtml to the spine calibre will still remove the properties="nav" from the nav entry in the manifest so the plugin doesn't see it.

In any case, using the CLI worked perfectly. Thanks for the help!
toadclones is offline   Reply With Quote
Old 08-21-2025, 12:52 PM   #1683
tomsem
Grand Sorcerer
tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.
 
Posts: 6,999
Karma: 27060353
Join Date: Apr 2009
Location: USA
Device: iPhone 15PM, Kindle Scribe, iPad mini 6, PocketBook InkPad Color 3
Nothing to do with the plugin, but having this issue with Kindle Previewer and do not know how to fix this:

Code:
E34002: Please specify the Original-resolution metadata value in the format WIDTH x HEIGHT.
This is with a fixed layout ePub, with 'positioned text'. It passes ePubCheck without errors or warnings (following 2 small edits).

Trying to convert to AZW3, either with Kindle Previewer or maybe Send to Kindle to see how it turns out. Though in the end Apple Books will be a better reading experience for these.
tomsem is offline   Reply With Quote
Old 08-21-2025, 01:16 PM   #1684
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,149
Karma: 92500001
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
Quote:
Originally Posted by tomsem View Post
Nothing to do with the plugin, but having this issue with Kindle Previewer and do not know how to fix this:

E34002: Please specify the Original-resolution metadata value in the format WIDTH x HEIGHT.
From the Amazon Kindle Publishing Guidelines version 2025.1 section 13 (Creating Fixed-Layout Books Without Pop-Ups):

Quote:
<meta name="original-resolution" content="1024x600"/>

Required. Identifies the original design resolution of the content (“1024x600” is only an example). The pixel dimensions can have any positive integer value. These values must be in proportion to the overall aspect ratio of the original content.
That needs to be present in the OPF of the EPUB.
jhowell is offline   Reply With Quote
Old 08-22-2025, 01:10 AM   #1685
tomsem
Grand Sorcerer
tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.
 
Posts: 6,999
Karma: 27060353
Join Date: Apr 2009
Location: USA
Device: iPhone 15PM, Kindle Scribe, iPad mini 6, PocketBook InkPad Color 3
Quote:
Originally Posted by jhowell View Post
From the Amazon Kindle Publishing Guidelines version 2025.1 section 13 (Creating Fixed-Layout Books Without Pop-Ups):



That needs to be present in the OPF of the EPUB.
Thanks much!


[update:]
So while I can get Kindle Previewer to open and preview (looks mostly correct), at least in this case, the exported MOBI does not render properly when side-loaded. Moreover KindleUnpack cannot split it into AZW3 & Mobi.

With the same ePub, Send To Kindle reports an error and the document it delivers is unreadable/scrambled up (it tries converting to reflowable format and sends 'failure' email).

Fixed layout ePub without positioned text (e.g. 'comics') are also converted to re-flowable AZW3 by Send To Kindle: you can 'highlight' or make notes on the images, for example. and with the apps, display 2 pages in landscape (but spreads will not join up). Maybe that's 'good enough' in some cases, but bottom line is that it's not as good as just consuming the ePub directly.

I do not know of a tool that can convert fixed layout ePub with embedded fonts and positioned text directly to AZW3 and have it render correctly when side-loaded. Or to PDF, for that matter.

So it goes!

Last edited by tomsem; 08-23-2025 at 02:34 PM.
tomsem is offline   Reply With Quote
Old 10-03-2025, 02:00 PM   #1686
HowlerX
Enthusiast
HowlerX began at the beginning.
 
Posts: 30
Karma: 10
Join Date: Aug 2016
Device: Kindle Voyage
Books converted to KFX (with the correct ASIN) using the command line and placed on the device do not allow the new Assistive Reader function to work--it's greyed out. While books converted to KFX within the Calibre GUI and Sent to Device will allow the Assistive Reader functionality to work. Any ideas why?
HowlerX is offline   Reply With Quote
Old 10-03-2025, 10:02 PM   #1687
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,149
Karma: 92500001
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
Quote:
Originally Posted by HowlerX View Post
Books converted to KFX (with the correct ASIN) using the command line and placed on the device do not allow the new Assistive Reader function to work--it's greyed out. While books converted to KFX within the Calibre GUI and Sent to Device will allow the Assistive Reader functionality to work. Any ideas why?
No. I have not tried that. I will take a look at it next week.
jhowell is offline   Reply With Quote
Old 10-04-2025, 01:14 PM   #1688
tomsem
Grand Sorcerer
tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.
 
Posts: 6,999
Karma: 27060353
Join Date: Apr 2009
Location: USA
Device: iPhone 15PM, Kindle Scribe, iPad mini 6, PocketBook InkPad Color 3
Quote:
Originally Posted by HowlerX View Post
Books converted to KFX (with the correct ASIN) using the command line and placed on the device do not allow the new Assistive Reader function to work--it's greyed out. While books converted to KFX within the Calibre GUI and Sent to Device will allow the Assistive Reader functionality to work. Any ideas why?
I think it is because KFX Output marks them as Personal Documents (PDOC) by default, whereas calibre marks them as Books (EBOK) by default.

Assistive Reader does not work with personal documents.

That said, when I experimented with this a couple of weeks ago, side loaded EBOK would not open due to 'Invalid ASIN' errors. I have not tried to figure out how to work around that.
tomsem is offline   Reply With Quote
Old 10-04-2025, 01:26 PM   #1689
Elaine T
Connoisseur
Elaine T is generous with chocolateElaine T is generous with chocolateElaine T is generous with chocolateElaine T is generous with chocolateElaine T is generous with chocolateElaine T is generous with chocolateElaine T is generous with chocolateElaine T is generous with chocolateElaine T is generous with chocolateElaine T is generous with chocolateElaine T is generous with chocolate
 
Posts: 68
Karma: 33664
Join Date: Jun 2015
Device: kindle paperwhite
Quote:
Originally Posted by tomsem View Post
I think it is because KFX Output marks them as Personal Documents (PDOC) by default, whereas calibre marks them as Books (EBOK) by default.

Assistive Reader does not work with personal documents.
.
There's an option somewhere, I think in Calibre's main conversion dialogues, to set KFX output to default to epub, not personal document.
Elaine T is offline   Reply With Quote
Old 10-05-2025, 11:14 PM   #1690
tomsem
Grand Sorcerer
tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.
 
Posts: 6,999
Karma: 27060353
Join Date: Apr 2009
Location: USA
Device: iPhone 15PM, Kindle Scribe, iPad mini 6, PocketBook InkPad Color 3
Quote:
Originally Posted by Elaine T View Post
There's an option somewhere, I think in Calibre's main conversion dialogues, to set KFX output to default to epub, not personal document.
Yes, I was referring to conversion of ePub to AZW3. The option is 'enable sharing' to make it PDOC, by default it is EBOK.
tomsem is offline   Reply With Quote
Old 10-08-2025, 08:57 AM   #1691
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,149
Karma: 92500001
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
Quote:
Originally Posted by tomsem View Post
Assistive Reader does not work with personal documents.
I had some time to test this and I can confirm that this is the case.

In order to get Assistive Reader to work with sideloaded books they must be created with CDETYPE=EBOK which mimics a book purchased or borrowed from Amazon. See the Usage section in the first post of this thread for instructions on how to do that when converting to KFX format.
jhowell is offline   Reply With Quote
Old 10-08-2025, 11:55 AM   #1692
tomsem
Grand Sorcerer
tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.
 
Posts: 6,999
Karma: 27060353
Join Date: Apr 2009
Location: USA
Device: iPhone 15PM, Kindle Scribe, iPad mini 6, PocketBook InkPad Color 3
I suspect Assistive Reader does not work with AZW3 but have not tried it.
tomsem is offline   Reply With Quote
Old 10-08-2025, 08:30 PM   #1693
tomsem
Grand Sorcerer
tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.
 
Posts: 6,999
Karma: 27060353
Join Date: Apr 2009
Location: USA
Device: iPhone 15PM, Kindle Scribe, iPad mini 6, PocketBook InkPad Color 3
From plugin notes:
Quote:
The metadata and cover images in KFX files produced by this plugin can be updated to match the current data in the calibre library by a Metadata Writer Plugin that is built into this plugin. This is activated in calibre using the "Embed metadata" function...
Where do I find "Embed metadata" function?
tomsem is offline   Reply With Quote
Old 10-09-2025, 11:30 AM   #1694
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,149
Karma: 92500001
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
Quote:
Originally Posted by tomsem View Post
Where do I find "Embed metadata" function?
Embed metadata is one of the buttons you can add to your toolbar. Go to Preferences, Toolbars & menus.
jhowell is offline   Reply With Quote
Old 10-09-2025, 01:24 PM   #1695
tomsem
Grand Sorcerer
tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.tomsem ought to be getting tired of karma fortunes by now.
 
Posts: 6,999
Karma: 27060353
Join Date: Apr 2009
Location: USA
Device: iPhone 15PM, Kindle Scribe, iPad mini 6, PocketBook InkPad Color 3
Quote:
Originally Posted by jhowell View Post
Embed metadata is one of the buttons you can add to your toolbar. Go to Preferences, Toolbars & menus.
Aha, thanks!
tomsem is offline   Reply With Quote
Reply

Tags
kfx, linux, wine


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Conversion Output] KePub Output Plugin jgoguen Plugins 588 03-28-2025 02:26 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


All times are GMT -4. The time now is 07:18 AM.


MobileRead.com is a privately owned, operated and funded community.