06-25-2011, 09:51 AM | #1 |
Junior Member
Posts: 3
Karma: 10
Join Date: Jun 2011
Device: Kindle
|
conversion trouble ePub to mobi
Hello all. I am new to the forum.
Quick background: Mac user; Kindle (3rd gen.) user; Calibre user. I also have Kindle for Mac to get some idea of how the Mobi's will look on the Kindle. I have been using Apple's Pages to convert documents to ePubs, and then I import them to Calibre for conversion to Mobi files that I can upload to the Kindle. The problem has to do with line breaks. On the Kindle, the resulting Mobi files are very messy, with words breaking up at the end of lines (I don't think Kindle "does" hyphens) and continuing on the next line. If I open the mobi file in Calibre's e-book viewer the lines run on and on, sometimes with 5 whole sentences on one lines, so that you have to scroll a long way to the right to read the whole line. My html skills are nil, so I am hoping this is a simple fix. I have a lot of public domain documents that I would like to have on my Kindle and to share, but they are too messy at this point. Any help is appreciated. |
06-25-2011, 10:16 AM | #2 | ||||
Wizard
Posts: 1,613
Karma: 6718479
Join Date: Dec 2004
Location: Paradise (Key West, FL)
Device: Current:Surface Go & Kindle 3 - Retired: DellV8p, Clie UX50, ...
|
Quote:
http://www.amazon.com/gp/feature.htm...cId=1000234621 Quote:
Quote:
Quote:
|
||||
Advert | |
|
06-26-2011, 06:50 PM | #3 |
Junior Member
Posts: 3
Karma: 10
Join Date: Jun 2011
Device: Kindle
|
I have Kindle Previewer but it will not open mobi files created by Calibre. What is interesting is that it will convert ePub's to mobi files, but they lack a TOC. It is also interesting that the mobis that Previewer produces from the epubs I feed it look good on the Kindle Previewer, while those I generate in Calibre from the same ePubs look lousy. Can't figure it out.
|
06-26-2011, 07:34 PM | #4 | |
Wizard
Posts: 4,812
Karma: 26912940
Join Date: Apr 2010
Device: sony PRS-T1 and T3, Kobo Mini and Aura HD, Tablet
|
Quote:
Do your epubs look perfect before converting and calibre is messing them up somehow? Helen |
|
06-26-2011, 08:30 PM | #5 |
Wizard
Posts: 1,337
Karma: 123455
Join Date: Apr 2009
Location: Malaysia
Device: PRS-650, iPhone
|
Odds are it has something to do with Pages - when Pages' ePub support came out it was reviewed by several forum Members and deemed to do some pretty awful things with it's ePub conversions. Knowing Apple it's unlikely that it's improved any.
You might want to try going from Pages to Open Office (or MS Word) and see if either the HTML export or Open Offices' ePub export plugin works better. Calibre also supports the native OpenOffice format. You also neglected to answer Dwig's question regarding what your original source document is, you just mention using Pages to convert from 'something'... The original source may also be important. Last edited by ldolse; 06-26-2011 at 08:35 PM. |
Advert | |
|
07-02-2011, 03:29 PM | #6 |
Junior Member
Posts: 1
Karma: 28
Join Date: Jun 2011
Device: iPad & Kindle
|
Solution to Pages > epub > mobi problem
I was having the same problem as Papa John after exporting a document from Pages to epub, and then converting to Calibre. The epub looks perfectly fine in an epub reader, but after conversion to mobi, the Kindle breaks lines in the middle of words.
Turns out there is a style command inserted by Pages that in effect tells the reader app to treat the text as pre-formatted with regard to line breaks. This command gets passed through Calibre to the mobi version, even if you "clean up" the epub by doing an epub-to-epub conversion. Kindle sees each paragraph as one long line, and since there is not enough room to put it all in one line on the Kindle display, it just breaks the line whenever it runs out of space. Here's the solution that worked for me: When you open the epub for conversion in Calibre, go to the "Search & Replace" tab. Enter the following in one of the "Search Regular Expression" lines, with no replacement text: [ style="white-space:pre-wrap"] No brackets. Otherwise use exactly as written including the quote marks. Then convert as usual. When you upload this mobi file to Kindle, you should see normal line breaks between words. Let us know if it works. Cheers, Kate |
07-08-2011, 02:34 PM | #7 |
Junior Member
Posts: 3
Karma: 10
Join Date: Jun 2011
Device: Kindle
|
Kate,
That fixed it! Thank you so much. I thought I might have to abandon Calibre, but I am glad I do not. John |
07-20-2011, 05:44 AM | #8 |
Junior Member
Posts: 1
Karma: 10
Join Date: Jul 2011
Device: Kindle
|
Papa John, I also had problems with generating TOC when using Calibre to convert (Pages-generated) ePub to mobi; however, when you select Convert one of the options is TOC generation where you can specify which HTML tag the ePub file is using for chapter heading/story title - once I had set this, TOC generation worked fine on Kindle Preview.
Regards Steve |
Tags |
epub conversion, mobi conversion, pages |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
.epub to .mobi after conversion | illustrata | Conversion | 9 | 05-10-2011 06:09 AM |
Mobi to Epub conversion question | Dre180 | Conversion | 1 | 04-20-2011 03:04 AM |
Trouble converting mobi to epub. | Paddington_Bear | Calibre | 3 | 11-08-2010 11:50 AM |
Epub to Mobi conversion | MichaelGray | Calibre | 2 | 08-12-2010 01:08 PM |
How good is Epub -> Mobi conversion really? | AdrianM | Amazon Kindle | 26 | 07-31-2010 11:04 PM |