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 04-01-2024, 03:38 PM   #661
Patrichor
Junior Member
Patrichor began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Apr 2024
Device: none
Quote:
Originally Posted by Patrichor View Post
Trying to convert B0BHPS3DK9, I get a bunch of nav_container representation has extra data errors.
Commenting out the check_empty() calls for nav_container and nav_container representation results in a seemingly valid ePub. Obviously that's a hack, but I wanted to confirm there weren't additional problems.
Patrichor is offline   Reply With Quote
Old 04-01-2024, 06:59 PM   #662
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: 6,496
Karma: 84420419
Join Date: Nov 2011
Location: Tampa Bay, Florida
Device: Kindles
Quote:
Originally Posted by Patrichor View Post
Trying to convert B0BHPS3DK9, I get a bunch of nav_container representation has extra data errors.
Thanks for the bug report. That book is unusual in that it has an enhanced table of contents with images and descriptions. (See the attached image from the Kindle for iOS app.) I have only ever seen that before in Kindle magazines. I am curious about how the authors were able to do that.

Quote:
Originally Posted by Patrichor View Post
Commenting out the check_empty() calls for nav_container and nav_container representation results in a seemingly valid ePub. Obviously that's a hack, but I wanted to confirm there weren't additional problems.
Your hack is fine since there is no EPUB equivalent to the Kindle enhanced TOC. I will update the plugin to ignore this data in the next release.

ADDED: I will update the plugin to create Kindle-specific markup in the NCX file with the descriptive text when producing an EPUB from this book so that nothing is lost. This extra data will be discarded by calibre unless the "From KFX" toolbar action is used.
Attached Thumbnails
Click image for larger version

Name:	IMG_0001.jpg
Views:	56
Size:	225.2 KB
ID:	207291  

Last edited by jhowell; 04-01-2024 at 09:05 PM. Reason: Change in plan
jhowell is offline   Reply With Quote
Old 04-05-2024, 02:59 AM   #663
Jaws
JCL Punch-Card Collector
Jaws began at the beginning.
 
Posts: 43
Karma: 10
Join Date: Jun 2014
Location: Antarctica
Device: Aggressively Device Independent
Inconsistent Marking of Cover and (Especially) Table of Contents

When converting a KFX to an Epub, most of the time the cover is marked correctly as the cover (as viewed in Calibre's editor), but sometimes there's a duplicate "cover" that's actually at the bottom of the file list. OK, fine: Publishers are, umm, technologically challenged and don't even handle this consistently in house.

That's only sometimes, though. Whether the table of contents will be "marked" as the table of contents appears to be completely random: I've done multiple KFX books from the same imprint of the same publisher, all released during the same month, and sometimes the table of contents is marked as a table of contents and sometimes it isn't -- regardless of what epub version it's converted to. This wasn't a problem with AZW or mobi inputs so far as I remember. But I'm not sure if this is:

A KFX Input thingy (bug, feature, you choose);

A general KFX thingy;

Random goofiness from the 'zon;

Publisher incompetence, especially when blindly creating e-book files from Adobe;

My computer getting drunk and just doing random stuff to annoy me;

More than one of the above.

Thoughts?
Jaws is offline   Reply With Quote
Old 04-05-2024, 10:08 AM   #664
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: 6,496
Karma: 84420419
Join Date: Nov 2011
Location: Tampa Bay, Florida
Device: Kindles
Quote:
Originally Posted by Jaws View Post
When converting a KFX to an Epub, most of the time the cover is marked correctly as the cover (as viewed in Calibre's editor), but sometimes there's a duplicate "cover" that's actually at the bottom of the file list. OK, fine: Publishers are, umm, technologically challenged and don't even handle this consistently in house.
That might be caused by a mistake by the publisher or it could be an artifact left over from replacement of the original cover by calibre. If you can call out some of the books that exhibit this problem I can look into this further.

Quote:
Originally Posted by Jaws View Post
Whether the table of contents will be "marked" as the table of contents appears to be completely random: I've done multiple KFX books from the same imprint of the same publisher, all released during the same month, and sometimes the table of contents is marked as a table of contents and sometimes it isn't -- regardless of what epub version it's converted to. This wasn't a problem with AZW or mobi inputs so far as I remember.
In old versions of MOBI format there was a single table of contents that was part of the text of the book. It was important that the publisher mark where this occurred so that "Go to the TOC" would function properly on Kindles.

These days the important TOC is the logical one that is separate from the book's contents. Some publishers may have gotten sloppy about marking where the TOC that is part of the text of the book occurs since that link is not needed by the Kindle reading software.

Again some examples would be helpful in determining what is occurring in the cases you have experienced.

Last edited by jhowell; 04-05-2024 at 10:59 AM. Reason: typo
jhowell is offline   Reply With Quote
Old 04-17-2024, 01:49 AM   #665
matejdro
Junior Member
matejdro began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Jan 2022
Device: Kobo Glo HD (kobo_alyssum)
Quote:
Originally Posted by tomsem View Post
If you are set up to download and de-DRM AZW3, you might try Kindle Unpack plugin. I have had some success creating ePub with it even where calibre fails (or at least I gave up after 5 hours on one I tried to convert today, Kindle Unpack took less than about 30 seconds). (and yes, this was in an Amazon fixed layout format)

Interestingly I have had no issues previously converting to ePub even for fixed layout formats with calibre, but had two of these just in last week. I think there are some older ones I need to check (I turned on automatic conversion to ePub on import only 2 or 3 months ago, so there are probably a number of them that remain in AZW3 only).

Kindle Unpack also exports images to a folder so it would be easy to covert to CBZ or PDF if that would work better.
Huge thanks, that helped a lot!
matejdro is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Conversion Input] Microsoft Doc Input Plugin igi Plugins 76 06-28-2019 04:47 AM
KFX conversion, transfer back to library issue. shoelesshunter Conversion 2 08-22-2017 06:40 PM
[Conversion Input] LaTeX Formulas Input Conversion Plugin sevyls Plugins 0 03-23-2015 05:52 AM
[Input Plugin] DOCX Input SauliusP. Plugins 42 06-05-2013 04:01 AM
Looking For MHT Input Conversion Plugin FlooseMan Dave Plugins 4 03-30-2010 05:52 PM


All times are GMT -4. The time now is 05:24 AM.


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