|
|
#1 |
|
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Oct 2010
Device: Kindle 3
|
EPub>Mobi>Kindle 3 large left margins
My Calibre is 0.7.23 with output set for Kindle (not DX) Thanks! |
|
|
|
|
|
#2 |
|
Bear Melt
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 670
Karma: 1110095
Join Date: Jul 2008
Location: Toronto
Device: Samsung Galaxy S3, HTC One X, Google Nexus 4 and Google Nexus 7
|
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.
|
|
|
|
|
Enthusiast
|
|
|
|
#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:
|
|
|
|
|
|
|
#4 |
|
US Navy, Retired
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,307
Karma: 11288999
Join Date: Feb 2009
Location: North Carolina
Device: Nexus 7, Sony PRS-950, Sony PRS-505, PRS-300
|
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.
__________________
-- Good Reading, Walt -- 20GB of free CLOUD STORAGE: Use this link to sign up for a free 15GB Copy.com cloud storage account and we both get an extra 5GB of free space. |
|
|
|
|
|
#5 |
|
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 949
Karma: 2385068
Join Date: Aug 2010
Location: St. Louis
Device: Kindle 3 Wi-Fi
|
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. |
|
|
|
|
|
#6 | |
|
US Navy, Retired
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,307
Karma: 11288999
Join Date: Feb 2009
Location: North Carolina
Device: Nexus 7, Sony PRS-950, Sony PRS-505, PRS-300
|
Quote:
__________________
-- Good Reading, Walt -- 20GB of free CLOUD STORAGE: Use this link to sign up for a free 15GB Copy.com cloud storage account and we both get an extra 5GB of free space. |
|
|
|
|
|
|
#7 |
|
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 949
Karma: 2385068
Join Date: Aug 2010
Location: St. Louis
Device: Kindle 3 Wi-Fi
|
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. |
|
|
|
|
|
#8 |
|
US Navy, Retired
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,307
Karma: 11288999
Join Date: Feb 2009
Location: North Carolina
Device: Nexus 7, Sony PRS-950, Sony PRS-505, PRS-300
|
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.
__________________
-- Good Reading, Walt -- 20GB of free CLOUD STORAGE: Use this link to sign up for a free 15GB Copy.com cloud storage account and we both get an extra 5GB of free space. |
|
|
|
|
|
#9 | |
|
Staff to 4 Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,690
Karma: 2485828
Join Date: Aug 2009
Location: The (original) Silicon Valley, USA
Device: Galaxy Tab 2,Black Astak PEz, K4NT(now Wifes)
|
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.
__________________
Using: Ubuntu(32 bit):Oneric,Precise and XPpro SP3, W7HP(64)- - Libre Office w/Writer2EPUB
|
|
|
|
|
|
|
#10 |
|
US Navy, Retired
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,307
Karma: 11288999
Join Date: Feb 2009
Location: North Carolina
Device: Nexus 7, Sony PRS-950, Sony PRS-505, PRS-300
|
I'm not sure why you quoted me with this advice. I understand the html involved and thus have no questions on this subject.
__________________
-- Good Reading, Walt -- 20GB of free CLOUD STORAGE: Use this link to sign up for a free 15GB Copy.com cloud storage account and we both get an extra 5GB of free space. |
|
|
|
|
|
#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.
|
|
|
|
|
|
#12 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,268
Karma: 12727566
Join Date: Apr 2010
Device: sony PRS-600, PRS-350, PRS-T1, 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? |
|
|
|
|
|
#13 | |
|
Staff to 4 Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,690
Karma: 2485828
Join Date: Aug 2009
Location: The (original) Silicon Valley, USA
Device: Galaxy Tab 2,Black Astak PEz, K4NT(now Wifes)
|
Quote:
The text did not match.I would guess that you know MORE HTML than I
__________________
Using: Ubuntu(32 bit):Oneric,Precise and XPpro SP3, W7HP(64)- - Libre Office w/Writer2EPUB
|
|
|
|
|
|
|
#14 |
|
Creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 22,475
Karma: 2944574
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.
__________________
Get calibre Notice to all: I can not provide assistance with DRM removal, for legal reasons, so please do not contact me about it. |
|
|
|
|
|
#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. |
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Is it possible to completely remove the right and left margins? | tiramisù | Amazon Kindle | 95 | 01-03-2012 11:23 PM |
| [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 |