|
![]() |
|
Thread Tools | Search this Thread |
![]() |
#1 |
Connoisseur
![]() Posts: 77
Karma: 10
Join Date: Jul 2013
Device: Kindle Scribe, PW, Kobo Aura One
|
Error in azw3 books with reduced margins after conversion with Calibre
Hello
I'm not sure if this question should be asked in this forum. If so, please, let me know the best one. This is a problem that appeared after converting from epub to azw3 with Calibre adding a css entry to reduce left and right margins. This works fine on my Scribe but not on my new PW11 after upgrading it to the latest firmware version. After the upgrade, started some errors when opening or moving inside the books. If I don't include the code in the css page the converted book works fine but again appear the huge default margins. The used code is: html { margin-left: -45px; margin-right: -45px } And the error that appears in the books: "An error occurred. If you purchased this item from Amazon, delete the item and download it from the Cloud." Do you think it's a bug in the new firmware or can the code be modified to fix this behavior? Thanks |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,968
Karma: 27109050
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
If the kindle doesnt like negative margins there's nothing calibre can do about it, other than stripping them out.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 | |
Connoisseur
![]() Posts: 77
Karma: 10
Join Date: Jul 2013
Device: Kindle Scribe, PW, Kobo Aura One
|
Quote:
It's what I was afraid for... Let's hope this firmware change isn't here to stay... Thank you for your work with this great tool |
|
![]() |
![]() |
![]() |
#4 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 78,422
Karma: 142887248
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
Code:
html { margin-right: -45px; margin-left: -45px; break-inside: avoid !important; } |
|
![]() |
![]() |
![]() |
#5 |
Still reading
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,418
Karma: 102739835
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
|
Try -1.5%
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 78,422
Karma: 142887248
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Are you putting the negative margins in the ePub CSS and then converting to KF8? What I do is convert to KF8 from ePub and then edit the KF8 to add in the negative margins at the top of the main CSS.
|
![]() |
![]() |
![]() |
#7 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 78,422
Karma: 142887248
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
![]() |
![]() |
![]() |
#8 |
Still reading
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,418
Karma: 102739835
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
|
|
![]() |
![]() |
![]() |
#9 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 78,422
Karma: 142887248
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
![]() |
![]() |
![]() |
#10 |
Connoisseur
![]() Posts: 77
Karma: 10
Join Date: Jul 2013
Device: Kindle Scribe, PW, Kobo Aura One
|
Hi All
Returning to this topic... With my Scribe I'm using this option in Calibre (styles --> additional css), when converting from epub to azw3, in order to get desired margins: html { margin-right: -130px; margin-left: -130px; break-inside: avoid !important; } After updating a PW, I could see that this option caused an error when opening the book, or trying to change fonts: the one I indicated at the beginning of this thread: "An error occurred. If you purchased this item from Amazon, delete the item and download it from the Cloud" In order to avoid this behavior with my Scribe, I stay on an old firmware version because don't know if this error is going to be repeated in the Scribe. My question is: can someone who has 5.16.6 release or latest, confirm if this happens as well? Someone who uses Calibre and transfers the books through it. I'd like to avoid upgrading if I can no longer use the margins I like, because I won't be able to downgrade it. Thanks in advance |
![]() |
![]() |
![]() |
#11 |
Connoisseur
![]() Posts: 77
Karma: 10
Join Date: Jul 2013
Device: Kindle Scribe, PW, Kobo Aura One
|
Well, sorry, because I repeated this topic in Kindle forum and it seems it's nor permitted.
Regarding solutions, I was testing with upgraded PW and got the same results. Tried with percentage instead of px, and works just several pages steps, but when you change font type and move among pages, the error appears. In my Scribe with 5.16.2 firmware, this doesn't happen. I'll keep this version until be sure that with latest firmwares this behaviour doesn't change. |
![]() |
![]() |
![]() |
#12 | |
Connoisseur
![]() Posts: 77
Karma: 10
Join Date: Jul 2013
Device: Kindle Scribe, PW, Kobo Aura One
|
Quote:
My PW Signature with latest firmware gives this error in converted books with negative margins: "An error occurred. If you purchased this item from Amazon, delete the item and download it from the Cloud" The error appears mainly after return to another book. Since that moment, the error doesn't allow pages to go forward or backward, until is restarted. Last edited by mg10; 02-12-2024 at 02:14 PM. |
|
![]() |
![]() |
![]() |
#13 |
Connoisseur
![]() Posts: 77
Karma: 10
Join Date: Jul 2013
Device: Kindle Scribe, PW, Kobo Aura One
|
Request for moving to Kindle Developer's Corner
Please, is it possible to move this thread to Kindle Developer's Corner? I think it fits better there and will be more active. Thanks
|
![]() |
![]() |
![]() |
#14 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 78,422
Karma: 142887248
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
![]() |
![]() |
![]() |
#15 |
Connoisseur
![]() Posts: 77
Karma: 10
Join Date: Jul 2013
Device: Kindle Scribe, PW, Kobo Aura One
|
I test It: convert epub to azw3 with default settings on Calibre and no extra CSS, and after converting, edit the azw3 adding the CSS code. Then transfer it to pw. Apparently it works when paging after opening the book first time, but once I change to another book and return to this again or after several movements of pages it starts failing. It's frustrating. Are you using it with latest firmware?
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
AZW3 Conversion errs with Calibre 64-bit | Me_XMan | Conversion | 2 | 10-27-2019 12:50 PM |
Conversion epub-->azw3 with negative margins | snoeki | Conversion | 60 | 12-07-2018 06:03 AM |
AZW3 to EPUB Conversion in Calibre Not Working | tkil44 | Conversion | 16 | 04-23-2016 06:42 AM |
epub to azw3 (or mobi) conversion error | Hamlet53 | Conversion | 2 | 01-25-2014 12:42 PM |
Problem with Calibre AZW3 Conversion... | thecompanion | Conversion | 3 | 12-02-2013 11:18 PM |