08-25-2023, 10:42 AM | #1396 | |
Grand Sorcerer
Posts: 6,622
Karma: 85000001
Join Date: Nov 2011
Location: Tampa Bay, Florida
Device: Kindles
|
Quote:
Please post the conversion log of the failure. That will show all of the software versions and conversion settings in use. Edit: Oops. I thought you were reporting a conversion problem instead of providing an example of a book that converts properly. Never mind. Last edited by jhowell; 08-25-2023 at 03:21 PM. |
|
08-25-2023, 02:19 PM | #1397 |
Zealot
Posts: 127
Karma: 10
Join Date: May 2019
Location: Brazil
Device: Kindle PPW5 / Kobo Aura One
|
This is the book I have problem.
No margins and no hyphens too. |
Advert | |
|
08-25-2023, 04:20 PM | #1398 | |
Grand Sorcerer
Posts: 6,622
Karma: 85000001
Join Date: Nov 2011
Location: Tampa Bay, Florida
Device: Kindles
|
Quote:
The CSS of that book has the property "-epub-hyphens: none" set in many of its classes. That property disables hyphenation in KFX. Removing that results in hyphenation throughout the book. |
|
08-25-2023, 04:35 PM | #1399 |
Zealot
Posts: 127
Karma: 10
Join Date: May 2019
Location: Brazil
Device: Kindle PPW5 / Kobo Aura One
|
Thank you so much.
So if I get a book that have negative margins in tables will give me that error? And tks about the hyphenation answer. |
08-25-2023, 05:52 PM | #1400 |
Grand Sorcerer
Posts: 6,622
Karma: 85000001
Join Date: Nov 2011
Location: Tampa Bay, Florida
Device: Kindles
|
|
Advert | |
|
08-25-2023, 06:44 PM | #1401 |
Grand Sorcerer
Posts: 6,622
Karma: 85000001
Join Date: Nov 2011
Location: Tampa Bay, Florida
Device: Kindles
|
Those wishing to use negative margins in order to fit more text on the screen should be aware that doing so is unsupported by Amazon and can trigger bugs in the Kindle reading software.
KFX: centered 'transition' too much to the left Problem putting a book from calibre into Kindle |
08-26-2023, 11:12 AM | #1402 | |
Zealot
Posts: 127
Karma: 10
Join Date: May 2019
Location: Brazil
Device: Kindle PPW5 / Kobo Aura One
|
Quote:
The problem is the kindle language. When in English the bug we are talking about is gone. |
|
08-26-2023, 01:21 PM | #1403 | |
Evangelist
Posts: 425
Karma: 6913952
Join Date: Aug 2013
Location: Hamden, CT
Device: Kindle Paperwhite (11th gen), Scribe
|
Quote:
This results in the rendering seen in the first attached picture, where the drop cap floats to where it belongs, but the text doesn't flow around it. Also, even without negative margins at the html level, there are other combinations of CSS that cause the left margin to be farther left than the CSS would indicate. One of these cases seems to be the same as the "margin at the top of the page" bug, where it isn't rendered correctly until something non-blank is rendered. I've also seen it in And, the Kindle renderer in general doesn't support negative margins that push content outside the enclosing block. This is perfectly legal, and has actual uses (like hanging initial punctuation outside the text block), although they are rare. |
|
08-31-2023, 04:16 AM | #1404 | |
Resident Curmudgeon
Posts: 75,166
Karma: 132820308
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
08-31-2023, 11:58 AM | #1405 | |
Evangelist
Posts: 425
Karma: 6913952
Join Date: Aug 2013
Location: Hamden, CT
Device: Kindle Paperwhite (11th gen), Scribe
|
Quote:
That said, drop caps on KFX don't work that way. You pick a font size in the CSS that gives you the number of lines the drop cap will cover, and the Kindle takes care of the rest, regardless of the font. The baseline of the drop cap is aligned with the baseline of the appropriate body text line, and the ascender of the drop cap is aligned with the ascender of the first line in the paragraph. |
|
09-01-2023, 09:18 AM | #1406 |
Grand Sorcerer
Posts: 6,622
Karma: 85000001
Join Date: Nov 2011
Location: Tampa Bay, Florida
Device: Kindles
|
Version 2.3.0 - 01 Sep 2023
Allow conversion of Hebrew (he) and Thai (th) language books. (There is no guarantee that books in languages that are unsupported by Amazon will render properly on Kindle devices and apps.) Fix issue date metadata being ignored during conversion. |
09-04-2023, 10:30 PM | #1407 |
Junior Member
Posts: 1
Karma: 10
Join Date: Sep 2023
Device: Motorola Android Phone
|
jhowell
Thank you SO much for creating this plug-in AND for keeping it updated. It truly helps those of us who buy on Amazon but want the flexibility that epubs offer. Bought a book tonight on Amazon, tried to convert and got a "no can do" message. Opened plugins and updated. POOF! Converted easily. Thanks again for what you do.
|
09-05-2023, 08:25 AM | #1408 |
Grand Sorcerer
Posts: 6,622
Karma: 85000001
Join Date: Nov 2011
Location: Tampa Bay, Florida
Device: Kindles
|
|
09-05-2023, 02:01 PM | #1409 |
curly᷂͓̫̙᷊̥̮̾ͯͤͭͬͦͨ ʎʌɹnɔ
Posts: 3,005
Karma: 50506927
Join Date: Dec 2010
Location: ♁ ᴺ₄₅°₃₀' ᵂ₇₃°₃₇' ±₆₀"
Device: K3₃.₄.₃ PW3&4₅.₁₃.₃
|
Unrelated flash.
Reminded me playing my first adventure game... Picture jhowel busy at v1.0 of the then named KFXyzzy plugin, deep inside Colossal Cave. 47 years later, Poof! his magic works. |
09-12-2023, 04:07 AM | #1410 |
Junior Member
Posts: 2
Karma: 10
Join Date: Sep 2023
Device: kindle scribe
|
jhowell
On trying to convert kpf to kfx - getting the following error message, kfx output plug-in version is 2.3.0:
File "calibre/debug.py", line 283, in main File "calibre_plugins.kfx_output.__init__", line 259, in cli_main File "calibre_plugins.kfx_output.__init__", line 340, in convert_from_kpf_or_zip File "calibre_plugins.kfx_output.kfxlib.yj_book", line 221, in decode_book File "calibre_plugins.kfx_output.kfxlib.yj_structur e", line 515, in check_consistency File "calibre_plugins.kfx_output.kfxlib.resources", line 510, in get_pdf_page_size AttributeError: 'NoneType' object has no attribute 'PdfReader' |
Tags |
kfx, linux, wine |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Conversion Output] KePub Output Plugin | jgoguen | Plugins | 551 | 07-18-2023 06:22 AM |
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 |