![]() |
#1 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,249
Karma: 16539642
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
|
Problem with Convert-PageSetup margins. Is this a bug?
I was trying to help a non-techie Kobo user with a problem yesterday when the following became apparent.
If you have your convert PageSetup left/right margins set to 'No margin' and you do an epub-epub conversion, my understanding was that the converted epub should end up with no margin-left/margin-right settings in its css body class. This is not what I'm seeing (in 0.9.42). If the input epub's css already contains left/right margin settings (in either body{...} or a body class), then they are still there after the conversion -- in whatever css class name calibre has assigned to <body>. So my question - is this a bug? or am I requesting an enhancement feature? The reason this is undesirable for a Kobo user is that the on-device ability to adjust left/right margins will only work if either:
So back to my original question... Is the convert with PageSetup L/R margins set to 'No margins' supposed to remove existing body margins? If 'yes' then I can create a bug request. If 'no' then is it worth me creating an enhancement request? ... or better still, can you think of a different option which is both easy to explain to a non-techie user and which doesn't risk wrecking their epub library. Last edited by jackie_w; 08-09-2013 at 03:35 PM. |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,198
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
No margin means that no margin is set by calibre during conversion. This means that if there is a pre-existing margin it will be left alone. IIRC, this behavior was added specially for JSWolf.
Doesnt the modify epub plugin have an option to nuke margins? Also, why dont your friends simply set the margin to whatever they want it to be? That way they dont have to waste time adjusting the margins for every book they want to read on the device. |
![]() |
![]() |
Advert | |
|
![]() |
#3 | ||
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,249
Karma: 16539642
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
|
Quote:
Quote:
The logical guess -- users have multiple devices and a setting of, let's say, 5pt may be perfect on a 600x800 Kobo Touch screen but would appear too small on a 1080x1440 Kobo Aura screen. Conversely the setting which best suits the Aura would be too big on the Touch. And if they're reading on a smartphone they probably want no margins at all. The emotional guess -- users hate to have a supposed Kobo feature which appears to be 'not working' ![]() Last edited by jackie_w; 08-10-2013 at 07:24 AM. |
||
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Margins problem | jocala | Conversion | 3 | 06-13-2013 04:19 PM |
Possible Bug: Strange Margins From Web 2 Kindle on 2011 4 KSO (/W Photo Incl.) | avid01 | Calibre | 3 | 12-30-2012 11:43 AM |
Nook Margins Bug? | bigtext | Barnes & Noble NOOK | 2 | 01-10-2012 10:18 PM |
Kindle margins problem! Once and for all! | TX_ | Amazon Kindle | 12 | 04-18-2011 08:07 AM |
A problem with Margins? What tool? | bar0n1 | LRF | 3 | 04-25-2009 12:30 PM |