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 01-14-2023, 02:14 AM   #541
Ma'am-I-Am
Preferred pronouns: We/Us
Ma'am-I-Am ought to be getting tired of karma fortunes by now.Ma'am-I-Am ought to be getting tired of karma fortunes by now.Ma'am-I-Am ought to be getting tired of karma fortunes by now.Ma'am-I-Am ought to be getting tired of karma fortunes by now.Ma'am-I-Am ought to be getting tired of karma fortunes by now.Ma'am-I-Am ought to be getting tired of karma fortunes by now.Ma'am-I-Am ought to be getting tired of karma fortunes by now.Ma'am-I-Am ought to be getting tired of karma fortunes by now.Ma'am-I-Am ought to be getting tired of karma fortunes by now.Ma'am-I-Am ought to be getting tired of karma fortunes by now.Ma'am-I-Am ought to be getting tired of karma fortunes by now.
 
Ma'am-I-Am's Avatar
 
Posts: 209
Karma: 533346
Join Date: Jun 2014
Location: <--- Over There, USA
Device: Kindle PW 2
Thanks for the quick answer. I had thought it might be something other than a DRM issue. But, no, it has to be something unsolvable.
Ma'am-I-Am is offline   Reply With Quote
Old 02-06-2023, 09:45 AM   #542
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,062
Karma: 91577715
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
Version 1.51.0 - 06 Feb 2023

Better handling of malformed KFX books with sections (chapters) that appear more than once in the reading order (spine) of the book. In that case it is necessary to choose the option in the KFX Input tab of conversion options to "Allow conversion to complete even if errors are detected" in order for conversion to be successful.

Allow conversion of Kindle Scribe notebook page templates using the plugin CLI.

Improve creation of semantic element tags.
jhowell is offline   Reply With Quote
Advert
Old 02-17-2023, 11:51 PM   #543
Sunshine82
Enthusiast
Sunshine82 began at the beginning.
 
Posts: 25
Karma: 10
Join Date: Mar 2022
Device: Kindle Paperwhite
Thank you for all your hard work, jhowell. I am also having problems using the KFX Input plugin -- or troubleshooting using the other listed suggestions, for that matter. I am still unable to either read or convert ebooks using Calibre that I have purchased from Amazon.

I am using Calibre version 6.11 and KFX Input plugin version 1.51.0. I ran Calibre in debug mode; would it help to share the log? The first line I noticed in the log says: "Blacklisting the DeDRM plugin as it is too old and causes crashes..."

Any support you can provide for further troubleshooting this issue would be greatly appreciated.
Sunshine82 is offline   Reply With Quote
Old 02-18-2023, 04:38 PM   #544
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,062
Karma: 91577715
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
Quote:
Originally Posted by Sunshine82 View Post
Thank you for all your hard work, jhowell. I am also having problems using the KFX Input plugin -- or troubleshooting using the other listed suggestions, for that matter. I am still unable to either read or convert ebooks using Calibre that I have purchased from Amazon.

I am using Calibre version 6.11 and KFX Input plugin version 1.51.0. I ran Calibre in debug mode; would it help to share the log? The first line I noticed in the log says: "Blacklisting the DeDRM plugin as it is too old and causes crashes..."

Any support you can provide for further troubleshooting this issue would be greatly appreciated.
The blacklisting message indicates that you are using an outdated version of the DeDRM plugin. The latest is available from NoDRM’s GitHub.

Note that KFX DRM can only be removed in a few very specific situations. See the DRM Concerns section in the first post of this thread for details. In most cases you are better off avoiding KFX when possible.
jhowell is offline   Reply With Quote
Old 02-21-2023, 10:55 PM   #545
Sunshine82
Enthusiast
Sunshine82 began at the beginning.
 
Posts: 25
Karma: 10
Join Date: Mar 2022
Device: Kindle Paperwhite
Is there a difference in either the conversion process or results between the KFX Input plugin and the DeDRM plugin? Do both plugins suffer the same limitations?
Sunshine82 is offline   Reply With Quote
Advert
Old 02-22-2023, 12:55 AM   #546
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 45,961
Karma: 168961900
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by Sunshine82 View Post
Is there a difference in either the conversion process or results between the KFX Input plugin and the DeDRM plugin? Do both plugins suffer the same limitations?
The KFX input plugin is for importing KFX/KFX-ZIP/KPF files without DRM to allow them to be converted to other formats. The DeDRM plugin is for removing DRM from several formats including an older KFX version.

See the first message in this thread for more on just what the KFX input plugin does and does not do including the DRM Concerns spoiler.

Also see the Amazon and DRM changes thread for more discussion on recent Amazon changes. Basically for any books published after 03-Jan-2023, forget using K4PC or K4Mac to download them in a form usable for calibre. Download & Transfer via USB is the preferred method at this time. Of course, Amazon also fixed the bug which allowed loaned books to be downloaded using D&T.

Last edited by DNSB; 02-22-2023 at 12:59 AM.
DNSB is offline   Reply With Quote
Old 05-04-2023, 01:16 PM   #547
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,933
Karma: 27060151
Join Date: Apr 2009
Location: USA
Device: iPhone 15PM, Kindle Scribe, iPad mini 6, PocketBook InkPad Color 3
Is there any way to take the Print Replica output of Kindle Create (KPF) and get it to open on Scribe?
tomsem is offline   Reply With Quote
Old 05-04-2023, 02:11 PM   #548
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,062
Karma: 91577715
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
Quote:
Originally Posted by tomsem View Post
Is there any way to take the Print Replica output of Kindle Create (KPF) and get it to open on Scribe?
You can convert KPF to KFX using the command line interface of the KFX Output plugin. The result will probably work on a Scribe. I don’t have one so I cannot test it.
jhowell is offline   Reply With Quote
Old 05-04-2023, 07:54 PM   #549
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,933
Karma: 27060151
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
You can convert KPF to KFX using the command line interface of the KFX Output plugin. The result will probably work on a Scribe. I don’t have one so I cannot test it.
Thanks, that seems to 'mostly' work (some clipping) but I'll take up any issues on the KFX Output thread.
tomsem is offline   Reply With Quote
Old 05-27-2023, 03:23 PM   #550
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,933
Karma: 27060151
Join Date: Apr 2009
Location: USA
Device: iPhone 15PM, Kindle Scribe, iPad mini 6, PocketBook InkPad Color 3
For some reason, I was curious to know if there were any utilities to convert PDF to FXL ePub. Calibre does not support it. I found a shell script that orchestrated a conversion using Poppet and ImageMagick, but no thanks, too much.

Then I realized KFX Input would convert from Print Replica to ePub. And yes, you can convert PDF --> Print Replica with Send to Kindle and from there to ePub FXL
with the plugin. It looks fine!

But: FXL is a poor stand in for PDF, functionally. E.g., you cannot select or highlight text. So Comics, children's books maybe. But not textbooks or that sort of thing (KF8 fixed layout is the same). And not accessible to screen readers. There's a W3 draft spec to address this: Still, there may be use cases for it. I wonder if it is possible to tweak the plugin to take PDF directly and convert to ePub?
tomsem is offline   Reply With Quote
Old 05-27-2023, 08:08 PM   #551
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,062
Karma: 91577715
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
Quote:
Originally Posted by tomsem View Post
For some reason, I was curious to know if there were any utilities to convert PDF to FXL ePub. Calibre does not support it. I found a shell script that orchestrated a conversion using Poppet and ImageMagick, but no thanks, too much.

Then I realized KFX Input would convert from Print Replica to ePub. And yes, you can convert PDF --> Print Replica with Send to Kindle and from there to ePub FXL with the plugin. It looks fine!
There are two major types of fixed layout EPUB.

The fixed layout EPUB format produced by Adobe InDesign positions each individual word on the page and depends on the font characteristics being known precisely for it to work. It is equivalent to a PDF produced from a Word document, but with much less reader support than PDF.

The fixed layout EPUB produced by the KFX Input plugin from a print replica book is much more like a PDF produced from scanning book pages into OCR software. Instead of the words being rendered on the page in a particular font it contains rasterized page images with an invisible overlay of text. That allows text selection and dictionary lookup but results in a large file that does not look great when zoomed in.

Quote:
Originally Posted by tomsem View Post
FBut: FXL is a poor stand in for PDF, functionally. E.g., you cannot select or highlight text. So Comics, children's books maybe. But not textbooks or that sort of thing (KF8 fixed layout is the same). And not accessible to screen readers. There's a W3 draft spec to address this:
Fixed layout EPUB is a solution looking for a problem. PDF is almost always a better format to use.

Quote:
Originally Posted by tomsem View Post
Still, there may be use cases for it. I wonder if it is possible to tweak the plugin to take PDF directly and convert to ePub?
No it is not possible. Conversion of EPUB to KFX is performed by the command line interface that is built into Amazon's Kindle Previewer software. However that will not convert PDF to KFX. PDF to KFX conversion can be done using Amazon's Kindle Create software but that only has a GUI interface and cannot be invoked by the plugin.
jhowell is offline   Reply With Quote
Old 05-27-2023, 11:59 PM   #552
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,933
Karma: 27060151
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
There are two major types of fixed layout EPUB.

The fixed layout EPUB format produced by Adobe InDesign positions each individual word on the page and depends on the font characteristics being known precisely for it to work. It is equivalent to a PDF produced from a Word document, but with much less reader support than PDF.

The fixed layout EPUB produced by the KFX Input plugin from a print replica book is much more like a PDF produced from scanning book pages into OCR software. Instead of the words being rendered on the page in a particular font it contains rasterized page images with an invisible overlay of text. That allows text selection and dictionary lookup but results in a large file that does not look great when zoomed in.



Fixed layout EPUB is a solution looking for a problem. PDF is almost always a better format to use.



No it is not possible. Conversion of EPUB to KFX is performed by the command line interface that is built into Amazon's Kindle Previewer software. However that will not convert PDF to KFX. PDF to KFX conversion can be done using Amazon's Kindle Create software but that only has a GUI interface and cannot be invoked by the plugin.
Thanks!

It's not clear why FXL had to be crap, or why the limitations have not been addressed after all this time. IIRC it was supposed to replace PDF for digital reading and using the same open standards (XHTML/CSS/SVG etc) was supposed to confer some advantage.

The accessibility requirements should have been there from the beginning.
tomsem is offline   Reply With Quote
Old 05-28-2023, 01:53 AM   #553
Ma'am-I-Am
Preferred pronouns: We/Us
Ma'am-I-Am ought to be getting tired of karma fortunes by now.Ma'am-I-Am ought to be getting tired of karma fortunes by now.Ma'am-I-Am ought to be getting tired of karma fortunes by now.Ma'am-I-Am ought to be getting tired of karma fortunes by now.Ma'am-I-Am ought to be getting tired of karma fortunes by now.Ma'am-I-Am ought to be getting tired of karma fortunes by now.Ma'am-I-Am ought to be getting tired of karma fortunes by now.Ma'am-I-Am ought to be getting tired of karma fortunes by now.Ma'am-I-Am ought to be getting tired of karma fortunes by now.Ma'am-I-Am ought to be getting tired of karma fortunes by now.Ma'am-I-Am ought to be getting tired of karma fortunes by now.
 
Ma'am-I-Am's Avatar
 
Posts: 209
Karma: 533346
Join Date: Jun 2014
Location: <--- Over There, USA
Device: Kindle PW 2
I...I think I did it. It's not 100% perfect, but it's the best I've done on my own.
Convert PDF to docx. Adobe will do this online for free.
Open docx in Word and check it over.
Save as html.
Add the html file to Calibre. It will show as a zip file.
Convert from zip to epub.

I used a small file (2 short stories) that had chapter title images and a colored "sign up here" banner. The TOC also became inline instead of the usual view. I think that had to do with a setting, though.

Let me know if it works for a more complicated book!
Ma'am-I-Am is offline   Reply With Quote
Old 05-28-2023, 04:39 AM   #554
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,708
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by Ma'am-I-Am View Post
I...I think I did it. It's not 100% perfect, but it's the best I've done on my own.
Convert PDF to docx. Adobe will do this online for free.
Open docx in Word and check it over.
Save as html.
Add the html file to Calibre. It will show as a zip file.
Convert from zip to epub.

I used a small file (2 short stories) that had chapter title images and a colored "sign up here" banner. The TOC also became inline instead of the usual view. I think that had to do with a setting, though.

Let me know if it works for a more complicated book!
Is it any better than opening the PDF in Word, saving as DOCX, and getting calibre to convert that to EPUB.

That's how I convert 10-20 PDF publications a week - many of which contain graphs and tables.

The attached image shows a PDF and an EPUB side by side.

BR
Attached Thumbnails
Click image for larger version

Name:	Screenshot 2023-05-28 180818.jpg
Views:	199
Size:	590.0 KB
ID:	201720  
BetterRed is offline   Reply With Quote
Old 05-28-2023, 08:14 PM   #555
Ma'am-I-Am
Preferred pronouns: We/Us
Ma'am-I-Am ought to be getting tired of karma fortunes by now.Ma'am-I-Am ought to be getting tired of karma fortunes by now.Ma'am-I-Am ought to be getting tired of karma fortunes by now.Ma'am-I-Am ought to be getting tired of karma fortunes by now.Ma'am-I-Am ought to be getting tired of karma fortunes by now.Ma'am-I-Am ought to be getting tired of karma fortunes by now.Ma'am-I-Am ought to be getting tired of karma fortunes by now.Ma'am-I-Am ought to be getting tired of karma fortunes by now.Ma'am-I-Am ought to be getting tired of karma fortunes by now.Ma'am-I-Am ought to be getting tired of karma fortunes by now.Ma'am-I-Am ought to be getting tired of karma fortunes by now.
 
Ma'am-I-Am's Avatar
 
Posts: 209
Karma: 533346
Join Date: Jun 2014
Location: <--- Over There, USA
Device: Kindle PW 2
For the book I used, yes. Just converting docx to epub had words all strung together. Kindoflikethis. I'm pretty sure that PDF was converted from epub. I avoid PDF unless there's no other option, so I have nothing to work with - just stuff like recycling posters and price lists. Word wanted to parse those, so I gave up. If it works for you, great! Fewer steps is always easier. But if it turns out funny, try the other way.

Any tips on settings/conversion options, etc.?
Ma'am-I-Am is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
KFX conversion, transfer back to library issue. shoelesshunter Conversion 9 04-13-2025 11:15 AM
[Conversion Input] Microsoft Doc Input Plugin igi Plugins 77 03-08-2025 04:04 AM
[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 12:20 PM.


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