|02-22-2012, 01:24 PM||#1|
Join Date: Feb 2012
Epub to Mobi spacing issue
I'm currently having an issue. I edited an Epub in Sigil and "saved as" an edited version of the epub. That way I could keep both files.
The issue I'm having is when I go into Calibre to covert the edited version into .mobi format, the generated mobi file is missing all of my spacing.
If you take a look at the error, I have the mobi view in the kindle for windows.
If you take a look at the epub-shot, you can see that the spacing is working perfectly in the epub. I don't know why it fails during the conversion.
Can someone help? At this point, I'm getting very frustrated and at this point, I feel as if I have to edit the epub in html format from Calibre, copy the edits into the old version and rebuild the epub. Is there something wrong with my stylesheet?
Can someone help me?
|02-22-2012, 03:04 PM||#3|
Join Date: Sep 2009
Device: Sony PRS-350, PB360, Kobo Glo/AuraHD/Aura6"
I've never owned a Kindle so I don't know much about the mobi format, but what I do know is that mobis have very limited styling capabilities. The margin-right property is one (of many) which is unsupported. So that might explain half your problem.
For margin-left, I think this is achieved by using nested <blockquote> tags, but maybe Calibre takes care of all that during the conversion epub to mobi.
One more thing is that there is an 'Ignore margins' checkbox on the Convert - MOBI output page. Try your conversion with both settings and see what difference it makes to your output mobi.
If none of this is helpful perhaps someone who knows more about mobi will drop by.
|02-22-2012, 05:47 PM||#4|
Join Date: Dec 2004
Location: Paradise (Key West, FL)
Device: Current:Dell Venue 8 Pro, Kindle 3/WiFi - Retired:Clie UX50, T415, ...
Either there's something wrong with the stylesheet or with the code you've used in the ePub. Done correctly, you should be able to get very much the same formating in the MOBI as you are seeing in the ePub.
Where you went wrong is impossible to say without seeing both the code used for the ePub document page and the CSS stylesheet. There are a number of CSS attributes that do not have analogs in MOBI. Converters, like calibre, attempt to replace these with MOBI compliant tags, and such, but don't succeed with everything. Also, the Kindle default behaviors can be a bit different than those commonly seen in ePub readers. Leaving some attributes unstyled can lead to differences between the ePub and MOBI displays. The simple vertical spacing in your example is quite doable in MOBI.
BTW, calibre's ebook viewer is not the best choice for previewing/testing ePubs and it is a horrid choice for any other format. It's a good viewer, but it can't read anything but one format and converts others on-the-fly.
For testing ePubs on a desktop computer the best choice is Adobe Digital Editions (aka ADE). While its the best you can get for the purpose, it isn't great. For MOBI formats, the tool to use is Kindle Previewer, not Kindle for PC/Mac.
|02-23-2012, 11:38 AM||#5|
Join Date: Apr 2010
Device: sony PRS-T1 and T3, Kobo Mini and Aura HD, Tablet
Do you have the original file tweak set to on? If you have reimported the book and/or copied it to it's original calibre directory and an original_epub file exists it will be used for the conversion.
If that isn't the case try an epub to epub conversion first.
|Thread Tools||Search this Thread|
|Thread||Thread Starter||Forum||Replies||Last Post|
|epub to mobi conversion, formatting issue||taupe||Conversion||5||12-18-2011 10:19 AM|
|Ideas? epub to mobi - a bit of reg para spacing -vs.- list single space||1611mac||Conversion||0||12-09-2011 02:34 PM|
|Epub to Mobi issue with metadata||oldbwl||Conversion||8||11-20-2011 06:38 AM|
|Issue using Calibre to convert from EPUB to MOBI||TravellingTwo||Conversion||1||04-10-2011 01:12 PM|
|Mobi Conversion to EPub very minor issue||markbond1007||Calibre||1||08-06-2009 02:49 PM|