10-13-2010, 08:51 PM | #1 |
Junior Member
Posts: 2
Karma: 10
Join Date: Oct 2010
Device: Kindle 3
|
EPub>Mobi>Kindle 3 large left margins
Most of my EPub>Mobi>Kindle 3 files have large left margin. I have seen this problem listed in these forms, but unless I have missed a post, I do not yet see a solution. I have tried EPub>Lit>Mobi but it converted with same large left margin. I can probably convert it Rich Text and fix in MS Word, but is there an easier way?
My Calibre is 0.7.23 with output set for Kindle (not DX) Thanks! |
10-13-2010, 09:07 PM | #2 |
Bear Melt
Posts: 919
Karma: 5433051
Join Date: Jul 2008
Location: Toronto
Device: Google Pixel 6, Moto G9 Power (both with Fbreader) & Kindle PW2
|
Have you set the margins in Calibre? When you are in the "Convert" dialogue window, if you click on "Page Setup", there will be a place to set "Top", "Bottom", "Left" and "Right" margins. That sets margins for the current book. You can also set this universally by clicking on "Preferences" at the top of the app and then choosing "Common Options" and then "Page Setup" again.
|
Advert | |
|
10-13-2010, 09:16 PM | #3 | |
Junior Member
Posts: 2
Karma: 10
Join Date: Oct 2010
Device: Kindle 3
|
Yes, I tried setting Left to 1, also, both left and right to 1 but it converted the exact same way with large left margin. I saw a post by the program author where he said as long as output is set to Kindle (it is) and I use current version (I am), margin should be the same as the epub, but...its not. Google (and these forums) show its a common problem, but there does not yet seem to be a solution other then dump epup to txt and manual redo.
Quote:
|
|
10-13-2010, 09:18 PM | #4 |
US Navy, Retired
Posts: 9,865
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
|
The solution is to edit the margins in the epub prior to conversion. You can use Sigil for this or the Tweak epub feature built into calibre ans a editor like notepad++ to adjust the margins in the css file.
|
10-31-2010, 09:59 PM | #5 |
Guru
Posts: 973
Karma: 2458402
Join Date: Aug 2010
Location: St. Louis
Device: Kindle Keyboard, Nook HD+
|
Hate to bump an two week old post, but is there a tutorial or something that explains how to do this? I've recently run into this problem (with some epubs uploaded here) and have no idea just what to change in the style sheet...
I saw li {margin-bottom: 0.25em; margin-left: 2em;} Changed that from 2 to .25, didn't affect the end product at all. (I assumed that meant "line", but I guess I must have been wrong) Last edited by JeremyR; 10-31-2010 at 10:02 PM. |
Advert | |
|
10-31-2010, 10:25 PM | #6 | |
US Navy, Retired
Posts: 9,865
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
|
Quote:
|
|
10-31-2010, 10:41 PM | #7 |
Guru
Posts: 973
Karma: 2458402
Join Date: Aug 2010
Location: St. Louis
Device: Kindle Keyboard, Nook HD+
|
Yeah, but it's really a Calibre specific epub issue, though. The margins seem to look fine when the epub is viewed as an epub.
It's just when it's turned into a mobi that something goes haywire, so knowing just what to tweak in the epub to avoid this problem in Calibre seems more like a Calibre issue than epub. At any rate, I simply deleted the style sheet and it seems to have taken care of it. |
10-31-2010, 10:59 PM | #8 |
US Navy, Retired
Posts: 9,865
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
|
An epub is an epub, if you want to remove margins you need epub advice. Personally epubs with a main left and right margin of 1em doesn't look great on any ereader unless you use the smallest font the larger you scale the font the bigger the margins become. Viewed on a computer or large screen it is ok but publishers seem to think we like them.
|
10-31-2010, 11:01 PM | #9 | |
Well trained by Cats
Posts: 29,985
Karma: 56143930
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
you might look at a working EPUB with Sigil in Code view and locate the indicated selectors in the style sheets to get some idea how the nested box model affects what you see. |
|
10-31-2010, 11:05 PM | #10 |
US Navy, Retired
Posts: 9,865
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
|
I'm not sure why you quoted me with this advice. I understand the html involved and thus have no questions on this subject.
|
10-31-2010, 11:22 PM | #11 |
Wizard
Posts: 1,337
Karma: 123455
Join Date: Apr 2009
Location: Malaysia
Device: PRS-650, iPhone
|
Have you made sure that your output profile is also set to Kindle? Calibre calculates the margin handling for Mobi output a bit differently when it knows the final destination is a Kindle.
|
11-01-2010, 04:12 AM | #12 |
Wizard
Posts: 4,812
Karma: 26912940
Join Date: Apr 2010
Device: sony PRS-T1 and T3, Kobo Mini and Aura HD, Tablet
|
I have had no margin problems with the kindle and have converted 8000+ books for my mother's kindle 3. Of course I have not viewd all of them but a random sampling of 200+ reveals no problems.
The books I converted were 90 % in epub format for my Sony. epub is my default output. Probably doesn't make any difference but so far has worked flawlessly. I no longer have the kindle as I sent it to my mother, but kindle for pc shows the books as fine. Perhaps it is a kindle setting on the kindle itself? |
11-01-2010, 08:22 AM | #13 |
Well trained by Cats
Posts: 29,985
Karma: 56143930
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
|
11-01-2010, 01:01 PM | #14 |
creator of calibre
Posts: 44,022
Karma: 22669822
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
A quick explanation: Left margins in the MOBI format for the kindle can only be set in 2em blocks. That is a hard limitation of the Amazon MOBI renderer. So if you have a smaller left margin in your EPUB file, say 0.5em when translated to MOBI it becomes 2em.
|
11-02-2010, 08:37 AM | #15 | |
Junior Member
Posts: 1
Karma: 10
Join Date: Nov 2010
Device: Kindle3
|
Quote:
I understand what you're saying here, but is there no way to override the epub settings? The dialog in Calibre would seem to suggest that you can set the margins when exporting. Now I can understand that anything less than 2em becomes 2em, but is there no way for 0 to become 0? Adding css to the Extra CSS of Look&Feel also doesn't seem to accomplish anything as this is just ignored in my attempts (for instance by adding p { margin-left: 0; } which doesn't even show up anywhere in the document or css after a conversion to epub, nor does it work in a conversion to mobi). While both the Sigil and Tweak Epub solutions are great when you only have to do a few files, it becomes very tedious with large numbers. Thanks guys! [edit] saw in this thread that there is an upcoming feature to just dump the margin completely. That would be great so I'll just wait for that and only worry about the things I want to read now. [/edit] Last edited by martijnf; 11-02-2010 at 09:03 AM. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Is it possible to completely remove the right and left margins? | tiramisù | Amazon Kindle | 103 | 05-04-2015 12:22 AM |
[Old Thread] Convert epub to mobi with wide left margin on Kindle | victoria0217 | Conversion | 91 | 11-15-2011 05:25 PM |
New conversion questions: Getting rid of huge left margin Epub to Mobi | geekgeek | Calibre | 2 | 08-31-2010 11:00 PM |
Epub to mobi margins.. | Corran006 | Calibre | 0 | 08-27-2010 08:39 PM |
Wide left margins in epub to kindle conversion | jchrist | Calibre | 0 | 02-02-2010 09:13 PM |