Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle

Notices

Reply
 
Thread Tools Search this Thread
Old 08-24-2023, 12:01 PM   #31
Flaviocc
Zealot
Flaviocc began at the beginning.
 
Posts: 134
Karma: 10
Join Date: May 2019
Location: Brazil
Device: Kindle PPW5 / Kobo Aura One
Ok, I will do that know.

New infos about the bug:

- Open ebook X AZW3 / Close ebook

- Open ebook Y KFX - Close ebook Y

- Open ebook X again - ERROR

- Open ebook Y KFX - change any font settings / close ebook

- Open ebook X AZW3 - works - but if I open another ebook (AZW3) the cycle goes on again.
Flaviocc is offline   Reply With Quote
Old 08-24-2023, 12:33 PM   #32
j.p.s
Grand Sorcerer
j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.
 
Posts: 5,788
Karma: 103362673
Join Date: Apr 2011
Device: pb360
Quote:
Originally Posted by JSWolf View Post
KF8 is the official name of the eBook format.
Prove it.
j.p.s is offline   Reply With Quote
Old 08-24-2023, 01:05 PM   #33
Flaviocc
Zealot
Flaviocc began at the beginning.
 
Posts: 134
Karma: 10
Join Date: May 2019
Location: Brazil
Device: Kindle PPW5 / Kobo Aura One
ok....more tests:

If I remove:

Code:
html {
  margin-right: -30px;
  margin-left: -30px;
  break-inside: avoid !important;
}
the problem stops.

But....I will loose the margins settings.

Another option (or another code) in calibre to get my margins back ?
Flaviocc is offline   Reply With Quote
Old 08-24-2023, 01:43 PM   #34
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,762
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by Flaviocc View Post
ok....more tests:

If I remove:

Code:
html {
  margin-right: -30px;
  margin-left: -30px;
  break-inside: avoid !important;
}
the problem stops.

But....I will loose the margins settings.

Another option (or another code) in calibre to get my margins back ?
This is the CSS code I use. I put it at the top of the CSS. But, I only put it in the KF8 eBook. I do not put it in the ePub and then convert.
Code:
html {
  margin-right: -45px;
  margin-left: -45px;
  break-inside: avoid !important;
}
JSWolf is online now   Reply With Quote
Old 08-24-2023, 01:46 PM   #35
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,762
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by j.p.s View Post
Prove it.
OK, proved.

https://kdp.amazon.com/en_US/help/to...WTKMGXU2MV5KKP
https://kdp.amazon.com/en_US/help/to...5R7N649LECKP7U

Last edited by JSWolf; 08-24-2023 at 01:49 PM.
JSWolf is online now   Reply With Quote
Old 08-24-2023, 02:26 PM   #36
Flaviocc
Zealot
Flaviocc began at the beginning.
 
Posts: 134
Karma: 10
Join Date: May 2019
Location: Brazil
Device: Kindle PPW5 / Kobo Aura One
Quote:
Originally Posted by JSWolf View Post
This is the CSS code I use. I put it at the top of the CSS. But, I only put it in the KF8 eBook. I do not put it in the ePub and then convert.
Code:
html {
  margin-right: -45px;
  margin-left: -45px;
  break-inside: avoid !important;
}
Jon,

I tried everything: clean epub before converting - no CSS before converting - update to epub 3 before converting - converting epub to epub and etc.

Only works in AZW3 if I remove the CSS.

The CSS rule works in KFX.

The local I add the extra CSS is: look and feel -- styling: EXTRA CSS field.

Other settings in Calibre: UTF8 / unsmarted punctuation / justify text / remove space between paragraphs.

As always I did.

And today I updated the kindle for the latest firmware, bcs I keep in flight mode all the time.

The problem is related to any settings or firmware on Kindle relative to fonts, bcs if I change the font in other ebook and return to the "bugged" ebook works, but if I leave and open another one, the bug came on again.

Try to replicate (like i wrote on previously post), I will pm to you a scrambled book.

Last edited by Flaviocc; 08-24-2023 at 02:37 PM.
Flaviocc is offline   Reply With Quote
Old 08-24-2023, 02:46 PM   #37
Flaviocc
Zealot
Flaviocc began at the beginning.
 
Posts: 134
Karma: 10
Join Date: May 2019
Location: Brazil
Device: Kindle PPW5 / Kobo Aura One
Quote:
Originally Posted by DNSB View Post
I also grabbed the EPUB 3 version, did some cleanup in Sigil and then converted it to azw3. It display happily on my PW4. Since it is a PD book, I've attached the converted azw3 to this message,
I downloaded this book. Load in Kindle by drag and drop without any changes.

OK - no error.

Then I load the file in Calibre and converted from azw3 to azw3 with the extra CSS and voi'la we have the BUG.
Flaviocc is offline   Reply With Quote
Old 08-24-2023, 10:11 PM   #38
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,359
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
That's a bug in the Kindle firmware not calibre. It doesnt like large negative margins.
kovidgoyal is offline   Reply With Quote
Old 08-25-2023, 04:00 AM   #39
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,762
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by kovidgoyal View Post
That's a bug in the Kindle firmware not calibre. It doesnt like large negative margins.
Actually, the PW5 does like negative margins if done correctly.
JSWolf is online now   Reply With Quote
Old 08-25-2023, 04:01 AM   #40
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,762
Karma: 145864619
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by Flaviocc View Post
Jon,

I tried everything: clean epub before converting - no CSS before converting - update to epub 3 before converting - converting epub to epub and etc.

Only works in AZW3 if I remove the CSS.

The CSS rule works in KFX.

The local I add the extra CSS is: look and feel -- styling: EXTRA CSS field.

Other settings in Calibre: UTF8 / unsmarted punctuation / justify text / remove space between paragraphs.

As always I did.

And today I updated the kindle for the latest firmware, bcs I keep in flight mode all the time.

The problem is related to any settings or firmware on Kindle relative to fonts, bcs if I change the font in other ebook and return to the "bugged" ebook works, but if I leave and open another one, the bug came on again.

Try to replicate (like i wrote on previously post), I will pm to you a scrambled book.
You have to convert the ePub to KF8. Then use the calibre editor to edit the KF8. Finding the main CSS and put that HTML class at the top of the CSS and then save the eBook. Do not use extra CSS. Do not put it in the ePub. Do it as I've just explained. I know this works as I've done it.
JSWolf is online now   Reply With Quote
Old 08-25-2023, 06:58 AM   #41
Flaviocc
Zealot
Flaviocc began at the beginning.
 
Posts: 134
Karma: 10
Join Date: May 2019
Location: Brazil
Device: Kindle PPW5 / Kobo Aura One
Quote:
Originally Posted by JSWolf View Post
You have to convert the ePub to KF8. Then use the calibre editor to edit the KF8. Finding the main CSS and put that HTML class at the top of the CSS and then save the eBook. Do not use extra CSS. Do not put it in the ePub. Do it as I've just explained. I know this works as I've done it.
Jon,

Tks. I will try that method later and tell if will work.
Flaviocc is offline   Reply With Quote
Old 08-25-2023, 12:25 PM   #42
Flaviocc
Zealot
Flaviocc began at the beginning.
 
Posts: 134
Karma: 10
Join Date: May 2019
Location: Brazil
Device: Kindle PPW5 / Kobo Aura One
Quote:
Originally Posted by JSWolf View Post
You have to convert the ePub to KF8. Then use the calibre editor to edit the KF8. Finding the main CSS and put that HTML class at the top of the CSS and then save the eBook. Do not use extra CSS. Do not put it in the ePub. Do it as I've just explained. I know this works as I've done it.
Nothing. This s**t book wont work.

I did EXACTLY what you told to do. The margins wasn't applied.

Look at the epub file if you want.

EDIT.:

Won't work anymore with azw3 - I tried 4 ebooks randomly from my library and the SAME behavior.

Open - work
Close - open again or open another book and re-open the first one - error.

Anyone with kindle to replicate the bug please?

Get an epub - convert to azw3 with margins settings or edit and add the margins settings after get the azw3 (like Jon said before). Load the book on Kindle. Open the book, browser a few pages, close, open other book, close, open the first one and change the page.

Settings:

html {
margin-right: -30px;
margin-left: -30px;
break-inside: avoid !important;
}

Last edited by Flaviocc; 08-25-2023 at 12:53 PM.
Flaviocc is offline   Reply With Quote
Old 08-25-2023, 01:07 PM   #43
Flaviocc
Zealot
Flaviocc began at the beginning.
 
Posts: 134
Karma: 10
Join Date: May 2019
Location: Brazil
Device: Kindle PPW5 / Kobo Aura One
Quote:
Originally Posted by kovidgoyal View Post
That's a bug in the Kindle firmware not calibre. It doesnt like large negative margins.
Do you know why works with KFX and not with azw3?

And I think this is from newer firmwares since I always use negative margins and works.

I'll try with another kindle I have here with old firmware to see what happens.
Flaviocc is offline   Reply With Quote
Old 08-25-2023, 01:17 PM   #44
j.p.s
Grand Sorcerer
j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.j.p.s ought to be getting tired of karma fortunes by now.
 
Posts: 5,788
Karma: 103362673
Join Date: Apr 2011
Device: pb360
Quote:
Originally Posted by JSWolf View Post
Actually, the PW5 does like negative margins if done correctly.
But wasn't established a while ago that it is better to use percent rather than negative margins, especially when a book might be viewed on a variety of screen sizes?
j.p.s is offline   Reply With Quote
Old 08-25-2023, 01:17 PM   #45
Quoth
Still reading
Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.
 
Quoth's Avatar
 
Posts: 14,053
Karma: 105092227
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
Quote:
Originally Posted by Flaviocc View Post

I did EXACTLY what you told to do. The margins wasn't applied.

Look at the epub file if you want.
Only edit azw3 specific settings AFTER converting epub to azw3.
That was in the instructions.

You can edit AZW3 in Calibre. Such as negative margins. A -1.5% may be be more general purpose than -30px
Quoth is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Kindle E-book & Calibre Problem knowing Amazon Kindle 0 08-08-2021 07:34 AM
Putting book folders vs. just .mobi files on a Kindle Fire hotwired Kindle Fire 3 01-28-2019 03:43 PM
Book Arrangement Problem (both in Kindle and Calibre) toyoto123 Library Management 6 12-24-2015 10:31 AM
Problem getting book from Calibre to Kindle Zikerzee Amazon Kindle 14 10-18-2012 12:14 PM
Putting a PDF Book onto Kindle Worried Me Amazon Kindle 5 01-18-2010 09:31 AM


All times are GMT -4. The time now is 03:47 PM.


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