![]() |
#556 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,722
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
I tend to leave options that control conversion etc at factory settings, I never apply 'book' specific options. If I can't get a presentable EPUB from a PDF using Word and calibre I leave it be. If they're fixed-layout PDFs I don't even bother trying. Most of the PDF's I do convert are produced by technical writers/documentation professionals using Word or LO Writer.
I used to use the long defunct MobiPocket Creator tool, but it won't install on Windows 10, and I'm not minded to unravel the msi. But it was never as good as PDF->Word (docx)->calibre (epub) is today. If you're dealing with OCR scans and you have a recent edition of MS Word I suggest you have a look at the Epub Tools add-on for Word ==>> https://www.mobileread.com/forums/sh...d.php?t=213372. It has a range of features that help deal with the vagaries of OCR scans - including a more than decent dialogue checker. And it can produce a well formed EPUB, including mapping of Word Styles to HTML CSS. BR Last edited by BetterRed; 05-28-2023 at 09:33 PM. |
![]() |
![]() |
![]() |
#557 |
Preferred pronouns: We/Us
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 209
Karma: 533346
Join Date: Jun 2014
Location: <--- Over There, USA
Device: Kindle PW 2
|
I'll definitely take a look at that.
I sometimes download scanned-to-PDF books at archive.org. They are usually huge and take a relatively long time to load. Is there a fix for those things, i.e reduce file size and load quicker? |
![]() |
![]() |
![]() |
#558 | |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 46,181
Karma: 168983734
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
The images make the files large but their quality is not the greatest so when I tried running various OCR packages on the images, the results needed way too much work to be useful. |
|
![]() |
![]() |
![]() |
#559 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,070
Karma: 91577715
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
|
Version 2.0.0 - 01 Jun 2023
Allow conversion of Kindle Scribe notebooks. See the plugin documentation for instructions. (This is a work in progress. Please report any incorrect rendering or errors encountered in the KFX Input plugin thread.) Handle the PDF backed fixed layout variant of KFX format. Improve handling of margins expressed as a percentage in cases where the width of the element is unknown. Remove support for calibre versions prior to 5.0. (Older versions of this plugin that run under calibre 2.x through 4.x are available in this post.) |
![]() |
![]() |
![]() |
#560 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,939
Karma: 27060151
Join Date: Apr 2009
Location: USA
Device: iPhone 15PM, Kindle Scribe, iPad mini 6, PocketBook InkPad Color 3
|
Looks good!
I tried one of my notebooks and Sticky Notes for one of my books. - Apple Books expects a cover image and result is it truncates the first page of the notebook. - calibre ebook-viewer (and ebook-edit) are applying a theme (dark white etc) and they probably should not be. So if they are set to dark theme you cannot see the black strokes. I think these just don't handle FXL rendering correctly? Only suggestion so far is to fill in some placeholder metadata for title/author (e.g. "{filename} - {creation date}" , "KFX input plugin v{version}", and maybe include a simple cover for it with these. Would make it easier, for example, to bring into calibre if someone wants to manage them there. Last edited by tomsem; 06-03-2023 at 10:27 PM. |
![]() |
![]() |
![]() |
#561 | |||
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,070
Karma: 91577715
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
|
Quote:
Quote:
Calibre does not handle fixed layout EPUBs well, however the EPUBs created from notebooks are simple enough that they should work in calibre. Quote:
You can always change the title, author, and cover of the EPUB to whatever you want using the calibre CLI: Code:
ebook-meta notebookname.epub --authors="New Author" --title="New Title" --cover=newcover.jpg |
|||
![]() |
![]() |
![]() |
#562 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,939
Karma: 27060151
Join Date: Apr 2009
Location: USA
Device: iPhone 15PM, Kindle Scribe, iPad mini 6, PocketBook InkPad Color 3
|
Quote:
The placeholder title should work, but would be inclined to add timestamp as well so if imported to calibre there won't be duplicate warnings. (e.g. someone wants to store versions of a notebook in calibre) Time allowing I'm planning to work on a script to help manage the steps, and orchestrate KFX Input and calibre CLI calls. Gathering requirements, use cases. Eventually perhaps this becomes some Scribe Notebook manager plugin, if there's sufficient interest. |
|
![]() |
![]() |
![]() |
#563 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,070
Karma: 91577715
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
|
|
![]() |
![]() |
![]() |
#564 |
Junior Member
![]() Posts: 1
Karma: 10
Join Date: Jun 2023
Device: IPad & Kindle
|
![]()
Dear all!
I have an issue using the KFX-Input Plugin. "Issue" means it simply doesn't work. ![]() I think I followed the (brilliant and detailled - thx for that!) instructions in this threat, but it simply doesn't work. :-( It always ends in a conversion error.... Where do I enter the serial-number of the device? I didn't find that field to enter in Calibre... ![]() Once I added that, it might be working. Let's see... Thanks for your help in advance! Regards George. |
![]() |
![]() |
![]() |
#565 | ||
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,070
Karma: 91577715
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
|
Quote:
Quote:
You should also read the "DRM Concerns" section in the first post of this thread. If your Kindle is running a firmware version greater than 5.12.1 (which is true of most Kindles) then the DeDRM plugin will not be able to remove KFX DRM. If that is the case for you then see this thread for alternative methods of obtaining Kindle books in a format compatible with DeDRM. |
||
![]() |
![]() |
![]() |
#566 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,070
Karma: 91577715
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
|
Version 2.1.0 - 18 Jun 2023
Miscellaneous improvements in the conversion of Scribe notebooks. Handle Scribe notebooks containing multiple page templates. (Only one will be active.) Add a white background to Scribe notebook pages. This should allow them to render better in dark mode. Change the title of EPUBs created from Scribe notebooks from "Unknown" to "Notebook" followed by the internal book ID and current date. The calibre ebook-meta command can be used to change the title or author if something else is desired. Add an option to the plugin command line interface to create a generic EPUB cover page showing the title of the book if the book does not already have a cover. |
![]() |
![]() |
![]() |
#567 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,939
Karma: 27060151
Join Date: Apr 2009
Location: USA
Device: iPhone 15PM, Kindle Scribe, iPad mini 6, PocketBook InkPad Color 3
|
Finally had a chance to try 2.1.0. Getting this error when trying to convert nbk (renamed to 'test.kpf)':
Code:
(base) ➜ test /Applications/calibre.app/Contents/MacOS/calibre-debug -r "KFX Input" -- test.kpf Building icons.rcc Software versions: KFX Input 2.1.0, calibre 6.22*, macOS-13.4.1-x86_64-i386-64bit KFX Input plugin help is available at https://www.mobileread.com/forums/showthread.php?t=291290 Processing test.kpf Processing container: test.kpf Traceback (most recent call last): File "runpy.py", line 196, in _run_module_as_main File "runpy.py", line 86, in _run_code File "site.py", line 41, in <module> File "site.py", line 37, in main File "calibre/debug.py", line 282, in main File "calibre_plugins.kfx_input.__init__", line 194, in cli_main File "calibre_plugins.kfx_input.kfxlib.yj_book", line 211, in decode_book File "calibre_plugins.kfx_input.kfxlib.kpf_container", line 51, in deserialize File "calibre_plugins.kfx_input.kfxlib.utilities", line 586, in as_ZipFile File "zipfile.py", line 1258, in __init__ File "zipfile.py", line 1325, in _RealGetContents zipfile.BadZipFile: File is not a zip file (base) ➜ test |
![]() |
![]() |
![]() |
#568 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,070
Karma: 91577715
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
|
Quote:
(KPF is a variant of KFX format in a ZIP file. That is different from the format used by Scribe notebooks which is why it fails.) |
|
![]() |
![]() |
![]() |
#569 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,939
Karma: 27060151
Join Date: Apr 2009
Location: USA
Device: iPhone 15PM, Kindle Scribe, iPad mini 6, PocketBook InkPad Color 3
|
Quote:
FYI I am seeing issues with a number of notebooks: some show warnings/errors and generate .ePub, others error out before generating one. Will supply details after I collect examples. Last edited by tomsem; 07-06-2023 at 08:48 PM. |
|
![]() |
![]() |
![]() |
#570 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,939
Karma: 27060151
Join Date: Apr 2009
Location: USA
Device: iPhone 15PM, Kindle Scribe, iPad mini 6, PocketBook InkPad Color 3
|
Failures:
Success, with errors/warnings ('cosmetic'):
Unfortunately I no longer have the PDOC corresponding to the missing_sections nbk (it was orphaned somehow when I deleted the KFX-PR document). I'll see if I can find another example. |
![]() |
![]() |
![]() |
|
![]() |
||||
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 |