10-05-2015, 08:47 PM | #31 |
Connoisseur
Posts: 59
Karma: 94656
Join Date: Oct 2015
Location: Croatia
Device: Kobo Aura One, Kindle Paperwhite 3 (2015)
|
It doesn't really work, though. Amazon apparently forces top and bottom margins on their devices. There's always a 'white' line on the top and bottom of the screen.
|
11-13-2018, 11:19 AM | #32 |
Connoisseur
Posts: 59
Karma: 10
Join Date: Jan 2014
Location: Brazil
Device: KV, kOA2, KPW1, KPW2, KPW4,KT1, KT3, KT4,kOBOS, Nooks, PRS-T2
|
Hello.
I know this is an old topic, but it's still nagging me . I can't make the negative margins work properly in the conversion settings of Calibre. Editing the azw3 afterwards it works though. I'm putting in the css: margin-left: -2%;margin-right: -2%; Does anybody know how to set Calibre to do it in the conversion, so I won't need to edit the e-book after ? Thanks in advance. |
Advert | |
|
11-13-2018, 01:09 PM | #33 | |
Not Quite Dead
Posts: 189
Karma: 654170
Join Date: Jul 2015
Device: Paperwhite 4; Galaxy Tab
|
Quote:
|
|
11-13-2018, 01:31 PM | #34 | |
Well trained by Cats
Posts: 29,689
Karma: 54369090
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
BUT you can never go negative of the Body margin The Kindle Collections plugin can be used to set this (at least on a K4). There is a file somewhere (I can no longer find it) on the K4 that I set the Horizontal margin down to 10, (5 on each side) the device sets 40 as the smallest) smaller than the device does. You can't write protect this because other spacing's use the same file (line and font) The Kindle Collections plugin can be used to set this. |
|
11-13-2018, 01:34 PM | #35 |
Well trained by Cats
Posts: 29,689
Karma: 54369090
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Ah. it is hidden
https://wiki.mobileread.com/wiki/Kin..._Change_Margin |
Advert | |
|
11-13-2018, 02:22 PM | #36 |
Connoisseur
Posts: 59
Karma: 10
Join Date: Jan 2014
Location: Brazil
Device: KV, kOA2, KPW1, KPW2, KPW4,KT1, KT3, KT4,kOBOS, Nooks, PRS-T2
|
Thank you, theducks. But this only works with very old kindle firmware.
|
11-13-2018, 03:14 PM | #37 | |
Not Quite Dead
Posts: 189
Karma: 654170
Join Date: Jul 2015
Device: Paperwhite 4; Galaxy Tab
|
Quote:
I think the wasted margin problem comes down to the fact that the Kindle software developers kept margin settings the same from the low-resolution devices. But that means the 300 ppi devices have too much white space. Last edited by Brett Merkey; 11-13-2018 at 03:17 PM. |
|
11-13-2018, 04:03 PM | #38 | |
Not Quite Dead
Posts: 189
Karma: 654170
Join Date: Jul 2015
Device: Paperwhite 4; Galaxy Tab
|
Quote:
The original poster probably does the same thing I do: edit the epub, convert, edit to add the hack to the resulting azw3, transfer to Kindle, then delete the azw3 in Calibre. Last edited by Brett Merkey; 11-13-2018 at 04:06 PM. |
|
11-14-2018, 05:44 AM | #39 |
Connoisseur
Posts: 59
Karma: 10
Join Date: Jan 2014
Location: Brazil
Device: KV, kOA2, KPW1, KPW2, KPW4,KT1, KT3, KT4,kOBOS, Nooks, PRS-T2
|
Thank you, Brett. That's what I'm doing for years: Editing Mannualy the ebook after conversion. I was hoping somebody would know a better way.
|
11-14-2018, 05:53 AM | #40 |
creator of calibre
Posts: 43,774
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
what exactly are you putting in the css?
|
11-14-2018, 07:06 AM | #41 |
Connoisseur
Posts: 59
Karma: 10
Join Date: Jan 2014
Location: Brazil
Device: KV, kOA2, KPW1, KPW2, KPW4,KT1, KT3, KT4,kOBOS, Nooks, PRS-T2
|
Example:
.first { border-bottom: 0; border-top: 0; display: block; hyphens: auto; margin-bottom: 0; margin-top: 0; margin-left: -2%; margin-right: -2%; padding-bottom: 0; padding-top: 0; text-align: justify; text-indent: 1.5em; } Simply added the negative margins. I wish I could set it in the conversion, so I wouldn't need to edit the books. |
11-14-2018, 07:30 AM | #42 |
ɴₐɴ
Posts: 421
Karma: 2507940
Join Date: Jun 2011
Location: 37.2N 93.3W
Device: KV PW4 PW3 PW2
|
When converting from ePub to AZW3, this Extra CSS:
Code:
html { margin-left: -20px; margin-right: -20px; } Code:
li { list-style-type: none } a { text-decoration: none } a:hover { color: red } html { margin-left: -20px; margin-right: -20px } |
11-14-2018, 07:52 AM | #43 | |
Not Quite Dead
Posts: 189
Karma: 654170
Join Date: Jul 2015
Device: Paperwhite 4; Galaxy Tab
|
Quote:
|
|
11-14-2018, 08:05 AM | #44 |
ɴₐɴ
Posts: 421
Karma: 2507940
Join Date: Jun 2011
Location: 37.2N 93.3W
Device: KV PW4 PW3 PW2
|
I don't know if Kovid would really want to implement a hack--for lack of a better term. I just thought it was odd that that CSS ended up where it did.
|
11-14-2018, 08:19 AM | #45 |
Connoisseur
Posts: 59
Karma: 10
Join Date: Jan 2014
Location: Brazil
Device: KV, kOA2, KPW1, KPW2, KPW4,KT1, KT3, KT4,kOBOS, Nooks, PRS-T2
|
Kovidgoyal, couldn't you please implement something in Calibre to set negative margins in the conversion ? The margins in the kindle are a terrible waste. Same problem in the Cybook.
|
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Best settings for 1:1 ePub to AZW3 conversion? | gers1978 | Conversion | 8 | 06-03-2013 10:50 PM |
azw3 to epub conversion stuck on 1% | krysk | Conversion | 2 | 04-21-2013 11:53 AM |
AZW3 to EPUB Conversion Probs | grizedale | Conversion | 4 | 04-16-2013 06:47 PM |
Conversion from epub to azw3 | Joy736 | Conversion | 12 | 01-01-2013 11:00 AM |
Using negative margins | Agama | Conversion | 0 | 03-03-2012 07:29 AM |