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-02-2013, 09:37 AM   #1
Imdman
Junior Member
Imdman began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Feb 2013
Device: Sony PRS 505
Problem with conversion .mobi to epub with Calibre

I'm trying to convert several .mobi files to .epub for use on my Sony PRS-505. The .mobi files are formatted perfectly, but when I convert them, there is a page-break after every paragraph instead of a linebreak. I'm very new to ebook conversions and have calibre set to default settings with the exception of telling it I use the Sony. I did some exploring on the net and opened up the converted .epub file with 7zip and took a look at the files. The conversion successfully split the html files at the correct chapters, but when I look to the html code: <p class="calibre2"> Before every paragraph, and </p> After every paragraph. I went to http://ebook.online-convert.com/convert-to-epub and was able to upload, convert, then download the file with no problems, but I'm sure there is a way to do the same thing successfully and in bulk on my PC using calibre. Thanks in advance.
Imdman is offline   Reply With Quote
Old 02-02-2013, 09:44 AM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 26,433
Karma: 5383257
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
FYI, the crooks at online-convert.com use calibre themselves, without even bothering to acknowledge that anywhere.

As for your conversion problems, you've got some setting changed somewhere, see http://www.mobileread.com/forums/sho...d.php?t=186697
kovidgoyal is offline   Reply With Quote
Old 02-02-2013, 09:49 AM   #3
theducks
Grand Sorcerer
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 15,250
Karma: 6020307
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
You can confirm what Kovid said, simply unzip the ORIGINAL of one of their conversion and look at the HTML. Calibre leaves plenty of clues that it had been used sometime in the process.

Last edited by theducks; 02-02-2013 at 09:51 AM. Reason: clarity
theducks is offline   Reply With Quote
Old 02-02-2013, 10:01 AM   #4
Imdman
Junior Member
Imdman began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Feb 2013
Device: Sony PRS 505
Update: I took a look at the correctly formatted epub file that I did using the online converter and the same <p class="calibre2"> and </p> code was still present in that file too, so now I'm really confused.
Imdman is offline   Reply With Quote
Old 02-02-2013, 10:30 AM   #5
Imdman
Junior Member
Imdman began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Feb 2013
Device: Sony PRS 505
Ok here is: the .mobi file I am converting from:[deleted]
the .epub file I got out: [deleted]
a .txt file of the conversion log: https://docs.google.com/file/d/0B_Hr...it?usp=sharing

Last edited by pdurrant; 02-02-2013 at 10:38 AM. Reason: Deleted links to copyright material
Imdman is offline   Reply With Quote
Old 02-02-2013, 10:39 AM   #6
pdurrant
Santa Mouse
pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.
 
pdurrant's Avatar
 
Posts: 33,335
Karma: 90778786
Join Date: Jul 2007
Location: Norfolk, England
Device: NOOK ST GlowLight
Please do not upload links to copyright material to MobileRead.

If the HTML is the same, then the difference is in the .css styles file.
pdurrant is offline   Reply With Quote
Old 02-02-2013, 10:44 AM   #7
Imdman
Junior Member
Imdman began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Feb 2013
Device: Sony PRS 505
I'm sorry about the uploads, was just trying to do what I was told. New here, and new to conversions. What do I need to look at in the .css styles file and how do i fix it?
Imdman is offline   Reply With Quote
Old 02-02-2013, 10:58 AM   #8
Imdman
Junior Member
Imdman began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Feb 2013
Device: Sony PRS 505
in both page_style.css files in the successful conversion and my calibre conversion only have:

@page {
margin-bottom: 5pt;
margin-top: 5pt
}

in the file.
Imdman is offline   Reply With Quote
Old 02-02-2013, 11:03 AM   #9
pdurrant
Santa Mouse
pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.
 
pdurrant's Avatar
 
Posts: 33,335
Karma: 90778786
Join Date: Jul 2007
Location: Norfolk, England
Device: NOOK ST GlowLight
OK, I've taken a look (moderatorial superpowers). I don't know what, but some setting in the conversion has caused every single paragraph to be output in its own HTML file.

I hope that this info will let the calibre people tell you what to change.
pdurrant is offline   Reply With Quote
Old 02-02-2013, 11:25 AM   #10
theducks
Grand Sorcerer
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 15,250
Karma: 6020307
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Quote:
Originally Posted by pdurrant View Post
OK, I've taken a look (moderatorial superpowers). I don't know what, but some setting in the conversion has caused every single paragraph to be output in its own HTML file.

I hope that this info will let the calibre people tell you what to change.
Since you had the crystal ball

It seems like there is a Page-Break-before coded at the Paragraph level.
ticking do not split on Pagebreak (EPUB Output Conversion setting) might cure these results (but leave a messy size break only book)
theducks is offline   Reply With Quote
Old 02-02-2013, 11:38 AM   #11
Imdman
Junior Member
Imdman began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Feb 2013
Device: Sony PRS 505
I tried that and I'm still getting same results. I've also tried to uninstall then reinstall calibre so i could have the default settings. After the reinstall, calibre remembered where my library directory was and my last saved settings, so I imagine calibre saves my setting somewhere else that didn't get deleted on the uninstall. Since then I tried setting the input and outputs to the generic setting instead using the Sony profile and still have not had any luck. The book is still read able but it gets to be very annoying turning pages after 1 or 2 line paragraphs and especially between dialogs.
Imdman is offline   Reply With Quote
Old 02-02-2013, 11:50 AM   #12
theducks
Grand Sorcerer
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 15,250
Karma: 6020307
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Quote:
Originally Posted by Imdman View Post
I tried that and I'm still getting same results. I've also tried to uninstall then reinstall calibre so i could have the default settings. After the reinstall, calibre remembered where my library directory was and my last saved settings, so I imagine calibre saves my setting somewhere else that didn't get deleted on the uninstall. Since then I tried setting the input and outputs to the generic setting instead using the Sony profile and still have not had any luck. The book is still read able but it gets to be very annoying turning pages after 1 or 2 line paragraphs and especially between dialogs.
Conversion settings exist in 2 places:
The default: In Preferences

Once the book has been converted: The settings used stays with EACH BOOK.

When you start up Conversion, there is a button (or tick box in Bulk mode) to restore the (current) default setting
theducks is offline   Reply With Quote
Old 02-02-2013, 11:57 AM   #13
PeterT
Taking a break; Fed up
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
PeterT's Avatar
 
Posts: 7,359
Karma: 46281507
Join Date: Nov 2007
Location: Toronto
Device: Wife: Touch, Arc, Vox Me: Nexus 7, Glo
Quote:
Originally Posted by Imdman View Post
After the reinstall, calibre remembered where my library directory was and my last saved settings, so I imagine calibre saves my setting somewhere else that didn't get deleted on the uninstall.
The settings are in C:\Users\Dan\\AppData\Roaming\calibre
PeterT is offline   Reply With Quote
Old 02-02-2013, 12:51 PM   #14
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 26,433
Karma: 5383257
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Conversion settings are also stored in the database. If you want a clean slate first delete the calibre settings folder, then delete the calibre library folder and then re-add the books.
kovidgoyal 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 problem Jabby Conversion 2 11-22-2011 07:24 PM
Epub to Mobi image conversion problem kleron Conversion 2 07-11-2011 10:49 AM
Problem with conversion epub to mobi johnnyb Conversion 20 06-09-2011 12:19 PM
epub to mobi conversion problem. lutwey Calibre 0 09-18-2010 12:51 PM
Epub/Mobi TO pdf conversion problem Hitch Calibre 4 06-15-2010 06:28 PM


All times are GMT -4. The time now is 09:42 PM.


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