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 05-07-2011, 03:16 PM   #1
illustrata
Enthusiast
illustrata began at the beginning.
 
Posts: 41
Karma: 10
Join Date: Aug 2010
Location: Venice, Italy
Device: iphone, ipad, kindle
.epub to .mobi after conversion

I converted an epub to mobi sucessfully with Calibre (thank you!), but the output's a little funky (the line-height increases on the last line of every paragraph, for example, and I need to adjust the relative font sizes).

I have scoured the boards for a way to get inside the .mobi files -- saw references to any2oeb and mobi2oeb but can't find out what they are or how to use them; saw a link to Mobiunpacker and downloaded it but can't figure that one out either. Feeling pretty idiotic right about now...

Is there any way to edit/modify mobi files, or will have to recreate them manually? (please say it ain't so...)

(p.s. I'm a Mac user.)
illustrata is offline   Reply With Quote
Old 05-07-2011, 03:22 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,836
Karma: 18755150
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Sony Reader PRS-650, iPad, nook STR
Take a look at the ePub and see what's going on there. That's your source. Once you've found the problem, the conversion to mobi will go fine.

Also, if you use an older version of Calibre, you may want to update.
JSWolf is offline   Reply With Quote
Old 05-07-2011, 04:37 PM   #3
illustrata
Enthusiast
illustrata began at the beginning.
 
Posts: 41
Karma: 10
Join Date: Aug 2010
Location: Venice, Italy
Device: iphone, ipad, kindle
Looks great in the epub - that's what's frustrating me. And...just updated to Calibre 0.8.0.

I tried the same thing using Kindlegen -- no line-height problems, but instead an added first-line indent everywhere I don't want, no images (cover's fine), no text centering, and about fifty "Info(cssparser): @rules other than @import and @charset are not supported" messages (I don't have any. I do have @import which I'm about to can). mrrph.

I am thinking I will eventually need a separate CSS for each for the epub and the mobi; I'd think I'd feel more secure. But it's frustrating not being able to see the actual output...

Last edited by illustrata; 05-07-2011 at 04:40 PM.
illustrata is offline   Reply With Quote
Old 05-07-2011, 11:37 PM   #4
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 8,887
Karma: 12755553
Join Date: Feb 2009
Location: North Carolina
Device: Nexus 7
Quote:
Originally Posted by illustrata View Post
I am thinking I will eventually need a separate CSS for each for the epub and the mobi; I'd think I'd feel more secure.
IIRC there is no css in mobi.

Quote:
Originally Posted by illustrata View Post
But it's frustrating not being able to see the actual output...
You might get more info on looking inside a mobi file in the mobi forum.

Good luck
DoctorOhh is offline   Reply With Quote
Old 05-08-2011, 10:52 AM   #5
illustrata
Enthusiast
illustrata began at the beginning.
 
Posts: 41
Karma: 10
Join Date: Aug 2010
Location: Venice, Italy
Device: iphone, ipad, kindle
I have done more work with epub to mobi conversion, and in fact Calibre still seems to do a better job (for example, kinglegen refused to believe I wanted the chapter title larger than the subtitle (h3 and h4). Calibre not only understood it, but set the subtitle to normal weight; for Kindlegen, if it was an h tag, it was bold). I seem to have gotten the first-line indent under control too, so what's left I think are just learning to predict CSS conversion results and understanding what mobi can and can't do.

What does show up only as a result of the Calibre conversion is the last line of every paragraph having extra height. I'll be sending the file to a Kindle user to see if it will actually show up there...but is there anything else I could look for?
illustrata is offline   Reply With Quote
Old 05-08-2011, 11:15 AM   #6
cybmole
Wizard
cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.
 
Posts: 2,967
Karma: 1280000
Join Date: Sep 2010
Device: Kobo aura HD, Kobo Arc, Kindle Fire HDX 8.9 , Kindle for PC
I've had the extra height on last line of para issue happen in epub on my Sony reader.
i.e. has text that looked fine on PC but not on the e-reader.
in my problem case, removing block-quote tags & using a margin setting workaround in CSS fixed it.

any ways you can being to narrow down the issue by viewing with various packages.

epub in calibre view ok ?
mobi on calibre viewer OK or not OK ?
mobi in Kindle for PC ?
mobi in the kindle emulaor software ( that i forget the name of, sorry...)

post the css definition which is being used in your epub version, for the problem paragraphs, maybe we can spot something tweakable...

other things that affect line spacing / line height are subscripts, superscripts, drop caps... try also removing any specific font-size settings from .p CSS
cybmole is offline   Reply With Quote
Old 05-08-2011, 11:18 AM   #7
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: 984
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 cybmole View Post
...
mobi in the kindle emulaor software ( that i forget the name of, sorry...)...
"Kindle Previewer", currently at v1.5. You can get it here:

http://www.amazon.com/gp/feature.htm...cId=1000234621

It does a very good job of emulating a Kindle device (K2/3, DX/DXG) and Kindle for iOS devices (iPad/iPhone).

Last edited by dwig; 05-08-2011 at 11:20 AM.
dwig is offline   Reply With Quote
Old 05-08-2011, 12:54 PM   #8
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,836
Karma: 18755150
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Sony Reader PRS-650, iPad, nook STR
Have you tried viewing the resulting Mobi file in Mobipocket Desktop for Windows?
JSWolf is offline   Reply With Quote
Old 05-10-2011, 05:53 AM   #9
illustrata
Enthusiast
illustrata began at the beginning.
 
Posts: 41
Karma: 10
Join Date: Aug 2010
Location: Venice, Italy
Device: iphone, ipad, kindle
I have not -- I'm on a Mac. *sigh* I have spend hours that I don't have trying to find a way to peek inside a mobi package, and haven't gotten there yet.

I now have a Kindle device and in fact, the line height is a non-issue. And it disappears on the latest version of the Kindle browser on the mac, too. Hoping this means it's a non-issue.

What's interesting is the difference between the Calibre conversion and Kindlegen, though. For example, Kindlegen recognizes the different font sizes and weights in h1 and h2, Calibre not. Two level indents disappear on the Kindle, and reduced image sizes explode (not to mention I don't have a TOC on the Kindle).

I think all this is addressable though -- but the line height was throwing me.

I am still looking for best practices to create epub version that looks fine on all epub devices, predictably Calibre-convertable to mobi, and acceptably consistent in Kindle. Holy Grail...

This is an amazing forum.
illustrata is offline   Reply With Quote
Old 05-10-2011, 07:09 AM   #10
cybmole
Wizard
cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.cybmole ought to be getting tired of karma fortunes by now.
 
Posts: 2,967
Karma: 1280000
Join Date: Sep 2010
Device: Kobo aura HD, Kobo Arc, Kindle Fire HDX 8.9 , Kindle for PC
Quote:
Originally Posted by illustrata View Post

I am still looking for best practices to create epub version that looks fine on all epub devices, predictably Calibre-convertable to mobi, and acceptably consistent in Kindle. Holy Grail...

This is an amazing forum.
it's not rocket science, actually.
1. accept that epub can do some things which mobi cannot do , like drop caps, & background shading, & sacrifice them if you want universality
2. use sigil as your epub edit tool and be sure to use <h> tags on anything that you want the kindle 5 way navigation to jump to. sigil will build a toc that's good to go.
3 get rid of any font -family definitions; the e-readers will use their own anyway unless you hack them.
4. using sigil, get rid of any ADE .xpgt stylesheets unless you like your text to float in a sea of unnecessary whitespace.
4. in my experience doing the above, then save in sigil, then convert epub to mobi in calibre works very well.
cybmole is offline   Reply With Quote
Reply

Tags
edit mobi, epub to mobi conversion

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mobi to Epub conversion question Dre180 Conversion 1 04-20-2011 04:04 AM
Very disappointed with ePub to mobi conversion AlexBell Conversion 23 04-14-2011 05:27 AM
calbre conversion epub to mobi dragonflies Conversion 4 01-24-2011 01:17 AM
epub to mobi conversion hangs clittle Calibre 7 12-12-2010 10:32 AM
Epub to Mobi conversion MichaelGray Calibre 2 08-12-2010 02:08 PM


All times are GMT -4. The time now is 05:32 PM.


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