Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Conversion

Notices

Reply
 
Thread Tools Search this Thread
Old 02-22-2012, 01:24 PM   #1
jennefere
Junior Member
jennefere began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Feb 2012
Device: kindle
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?
Attached Thumbnails
Click image for larger version

Name:	error.jpg
Views:	87
Size:	574.0 KB
ID:	82900   Click image for larger version

Name:	epub-shot.jpg
Views:	84
Size:	803.9 KB
ID:	82901  
jennefere is offline   Reply With Quote
Old 02-22-2012, 01:26 PM   #2
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 37,596
Karma: 18390312
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Sony Reader PRS-650, iPad, nook STR
Try using Mobipocket Reader to load the ePub. It might be converted to ePub and might work better.
JSWolf is offline   Reply With Quote
 
Enthusiast
Old 02-22-2012, 03:04 PM   #3
jackie_w
Wizard
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 2,824
Karma: 4193095
Join Date: Sep 2009
Location: UK
Device: Sony PRS-350, PB360, Kobo Glo/AuraHD/Aura6"/AuraH2O
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.
jackie_w is offline   Reply With Quote
Old 02-22-2012, 05:47 PM   #4
dwig
Guru
dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.
 
dwig's Avatar
 
Posts: 979
Karma: 1382338
Join Date: Dec 2004
Location: Paradise (Key West, FL)
Device: Current:Dell Venue 8 Pro, Kindle 3/WiFi - Retired:Clie UX50, T415, ...
Quote:
Originally Posted by jennefere View Post
...Is there something wrong with my stylesheet?

Can someone help me?
Possibly.

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.
dwig is offline   Reply With Quote
Old 02-23-2012, 11:38 AM   #5
speakingtohe
Wizard
speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.
 
Posts: 4,596
Karma: 25170848
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.

Helen
speakingtohe is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
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


All times are GMT -4. The time now is 12:52 AM.


MobileRead.com is a privately owned, operated and funded community.