Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 12-03-2011, 12:58 PM   #16
Serpentine
Evangelist
Serpentine ought to be getting tired of karma fortunes by now.Serpentine ought to be getting tired of karma fortunes by now.Serpentine ought to be getting tired of karma fortunes by now.Serpentine ought to be getting tired of karma fortunes by now.Serpentine ought to be getting tired of karma fortunes by now.Serpentine ought to be getting tired of karma fortunes by now.Serpentine ought to be getting tired of karma fortunes by now.Serpentine ought to be getting tired of karma fortunes by now.Serpentine ought to be getting tired of karma fortunes by now.Serpentine ought to be getting tired of karma fortunes by now.Serpentine ought to be getting tired of karma fortunes by now.
 
Posts: 416
Karma: 1045911
Join Date: Sep 2011
Location: Cape Town, South Africa
Device: Kindle 3
Quote:
Originally Posted by AppleTard View Post
I don't care about splitting the file, but I really abhor the extra page-breaks.
Before you make people guess at what could possibly be wrong, just find one of these page breaks, open the epub in Sigil and examine the area around there.

I have a feeling it's a merged document that has a couple of huge divs holding paragraphs, these might need to be removed, otherwise there might be some explicit page breaking elements as specified by CSS(often the divs themselves, but sometimes images which have been removed and strange stuff like that).
Serpentine is offline   Reply With Quote
Old 12-03-2011, 01:13 PM   #17
AppleTard
Member
AppleTard ought to be getting tired of karma fortunes by now.AppleTard ought to be getting tired of karma fortunes by now.AppleTard ought to be getting tired of karma fortunes by now.AppleTard ought to be getting tired of karma fortunes by now.AppleTard ought to be getting tired of karma fortunes by now.AppleTard ought to be getting tired of karma fortunes by now.AppleTard ought to be getting tired of karma fortunes by now.AppleTard ought to be getting tired of karma fortunes by now.AppleTard ought to be getting tired of karma fortunes by now.AppleTard ought to be getting tired of karma fortunes by now.AppleTard ought to be getting tired of karma fortunes by now.
 
Posts: 24
Karma: 1839286
Join Date: Nov 2010
Device: iPad
I'm attaching the epub in question.

As an example, the first unwanted break occurs at the end of the split_003.html:

<p class="MsoNormal8">There came a day&nbsp;– not long before Halloween, because Little Pete'd put up a paper witch in the entry window, I remember&nbsp;– when I was supposed to go down to the Strayhorn place after lunch. Me and Lisa McCandless were going to turn those fancy Persian rugs downstairs&nbsp;– you're supposed to do that every six months so they won't fade, or so they'll fade even, or some damned thing. I put my coat on and got it buttoned and was halfway to the door when I thought, What are you doin with this heavy fall coat on, you foolish thing? It's sixty-five degrees out there, at least, real Indian Summer weather. And this other voice come back and said, It won't be sixty-five out on the reach; it'll be more like fifty out there. Damp, too. And that's how I come to know I wasn't goin anywhere near the Strayhorn place that afternoon. I was gonna take the ferry across to Jonesport instead, and have it out with my daughter. I called Lisa, told her we'd have to do the rugs another day, and left for the ferry landin. I was just in time to catch the two-fifteen. If I'd missed it, I might've missed <i class="calibre2">her,</i> and who knows how different things might have turned out then?</p>
</div>
</body>
</html>


[MODERATORS: Copyright attachment removed. Please do not post copyright material on MobileRead]

Last edited by pdurrant; 12-03-2011 at 01:55 PM.
AppleTard is offline   Reply With Quote
Advert
Old 12-03-2011, 02:12 PM   #18
Serpentine
Evangelist
Serpentine ought to be getting tired of karma fortunes by now.Serpentine ought to be getting tired of karma fortunes by now.Serpentine ought to be getting tired of karma fortunes by now.Serpentine ought to be getting tired of karma fortunes by now.Serpentine ought to be getting tired of karma fortunes by now.Serpentine ought to be getting tired of karma fortunes by now.Serpentine ought to be getting tired of karma fortunes by now.Serpentine ought to be getting tired of karma fortunes by now.Serpentine ought to be getting tired of karma fortunes by now.Serpentine ought to be getting tired of karma fortunes by now.Serpentine ought to be getting tired of karma fortunes by now.
 
Posts: 416
Karma: 1045911
Join Date: Sep 2011
Location: Cape Town, South Africa
Device: Kindle 3
Yeah, there's a big div wrapping that section, you most likely want to remove that. Some readers will still break at the end of the file, so you may also want to merge the files (3,4,5) together to prevent that.

You can remove the divs with the regex :
</?div\b[^>]*>
Serpentine is offline   Reply With Quote
Old 12-03-2011, 03:50 PM   #19
AppleTard
Member
AppleTard ought to be getting tired of karma fortunes by now.AppleTard ought to be getting tired of karma fortunes by now.AppleTard ought to be getting tired of karma fortunes by now.AppleTard ought to be getting tired of karma fortunes by now.AppleTard ought to be getting tired of karma fortunes by now.AppleTard ought to be getting tired of karma fortunes by now.AppleTard ought to be getting tired of karma fortunes by now.AppleTard ought to be getting tired of karma fortunes by now.AppleTard ought to be getting tired of karma fortunes by now.AppleTard ought to be getting tired of karma fortunes by now.AppleTard ought to be getting tired of karma fortunes by now.
 
Posts: 24
Karma: 1839286
Join Date: Nov 2010
Device: iPad
Removing the /div tag wasn't enough. I'd to manually merge the files using Sigil in order to get rid of the page-breaks. What a lousy solution! However, it seems to be a limitation of the ePub format (I've also seen this situation arise in a novel with very long chapters).

BTW, I'm sorry for posting copyrighted material. Wasn't thinking about it the time - and it won't happen again.
AppleTard is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to convert these html files to ePub? Valkrider Conversion 5 06-07-2015 07:48 AM
[Old Thread] mergin split html files with Calibre? NASCARaddicted Conversion 13 12-03-2011 01:19 PM
[Old Thread] Joining multiple html files RosanaE Calibre 4 04-22-2011 06:56 PM


All times are GMT -4. The time now is 01:28 AM.


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