![]() |
#1 |
Member
![]() Posts: 14
Karma: 10
Join Date: Sep 2009
Device: PRS-505/iPad/NC/RT
|
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 https://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? |
![]() |
![]() |
![]() |
#2 |
Member
![]() Posts: 14
Karma: 10
Join Date: Sep 2009
Device: PRS-505/iPad/NC/RT
|
Still haven't been able to figure it out. Any help would be welcome.
If more retails/info is required, please let me know. |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,170
Karma: 27110894
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.
|
![]() |
![]() |
![]() |
#4 |
Member
![]() Posts: 14
Karma: 10
Join Date: Sep 2009
Device: PRS-505/iPad/NC/RT
|
![]() 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. |
![]() |
![]() |
![]() |
#5 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,170
Karma: 27110894
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
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Member
![]() Posts: 14
Karma: 10
Join Date: Sep 2009
Device: PRS-505/iPad/NC/RT
|
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 ![]() |
![]() |
![]() |
![]() |
#7 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,553
Karma: 950151
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.
|
![]() |
![]() |
![]() |
#8 |
Member
![]() Posts: 14
Karma: 10
Join Date: Sep 2009
Device: PRS-505/iPad/NC/RT
|
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. |
![]() |
![]() |
![]() |
|
![]() |
||||
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 and Resources (No Self-Promotion or Affiliate Links) | 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 |