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

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 09-30-2009, 06:58 AM   #1
MTR
Member
MTR began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Sep 2009
Device: PRS-505/iPad/NC
Error: Could not find reasonable point at which to split


I'm getting this error with several LIT to ePub conversions. I found this thread http://www.mobileread.com/forums/showthread.php?t=53311 on the issue, but the solution/hint provided is Greek to me (Calibre novice and no experience with html whatsoever).
Can anyone explain how to 'pre-edit' the problematic LIT files so Calibre can split it and make the ePub?
MTR is offline   Reply With Quote
Old 10-04-2009, 06:44 AM   #2
MTR
Member
MTR began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Sep 2009
Device: PRS-505/iPad/NC
Still haven't been able to figure it out. Any help would be welcome.
If more retails/info is required, please let me know.
MTR is offline   Reply With Quote
 
Enthusiast
Old 10-04-2009, 11:40 AM   #3
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: 25,285
Karma: 4961457
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
In the calibre conversion setting enable debug mode. This will create the HTML files from the LIT file in the folder you supply. Look in the input sub-folder. There should be one long html file in it. edit that a little, splitting up its contents into multiple smaller <pre> sections.
kovidgoyal is offline   Reply With Quote
Old 10-05-2009, 07:39 AM   #4
MTR
Member
MTR began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Sep 2009
Device: PRS-505/iPad/NC

Found the html file (1500KB). Just to be sure, splitting contents is a matter of editing the file (in Wordpad?) and inserting "</pre><pre>" at various points? I guess 'd have to split it into 8-10 sections for Calibre to be able to handle the conversion (260KB limit). Will try later today.
MTR is offline   Reply With Quote
Old 10-05-2009, 01:41 PM   #5
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: 25,285
Karma: 4961457
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Yeah that should be all that's needed, though while you're doing that you may as well change the <pre> to <p> so that it reflows when viewed on the device
kovidgoyal is offline   Reply With Quote
Old 10-08-2009, 10:02 AM   #6
MTR
Member
MTR began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Sep 2009
Device: PRS-505/iPad/NC
Sorry for the long delay in posting the result.
When randomly inserting </p><p> in the htm file, subsequent conversion to ePub works (with reflow), but when inserting </pre><pre> in the same places (using find&replace) it doesn't (still finds only 1 large pre-tag part).
I'll test some other files to be sure it's not a pbk-error .
MTR is offline   Reply With Quote
Old 10-08-2009, 11:20 AM   #7
itimpi
Wizard
itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.itimpi ought to be getting tired of karma fortunes by now.
 
Posts: 4,014
Karma: 777817
Join Date: Nov 2008
Device: Sony PRS-950, iphone/ipad (Marvin/iBooks/QuickReader)
I cannot think of many reasons for using <PRE> tags instead of <P> ones. The PRE tags stop re-flow which is rarely what you want in an e-book.
itimpi is offline   Reply With Quote
Old 10-09-2009, 11:03 AM   #8
MTR
Member
MTR began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Sep 2009
Device: PRS-505/iPad/NC
Next to the fact that I was/am curious to figure out why conversion was succesfull when using <p> and unsuccesful when using <pre> in exactly the same spot, I don't like the fact that <p> killed all the formatting that was present in the LIT, resulting in a fully flat text.

I prefer to keep the chapter/paragraph/line compposition form the original file.
So far I have not been succesfull in converting using <pre> as opposed to <p>. Must be doing something wrong that I haven't figured out yet.
MTR 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
Ended PRS-505 in reasonable order £50 WigglePig Flea Market 15 09-08-2010 04:22 AM
A reasonable ebook publisher calvin-c Deals, Freebies, and Resources (No Self-Promotion) 4 01-16-2010 11:03 AM
Could not find reasonable point at which to split scgf Calibre 20 09-14-2009 01:19 PM
Seriously thoughtful When Reasonable People Take Positions Dr. Drib Lounge 82 04-17-2009 07:23 PM
Exclamation point document error Bob Russell Sony Reader 6 11-15-2006 06:58 PM


All times are GMT -4. The time now is 01:37 PM.


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