Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 09-13-2026, 09:27 AM   #16
Siavahda
Addict
Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.
 
Posts: 282
Karma: 9400
Join Date: Aug 2010
Location: Helsinki
Device: Kobo Clara Colour
Quote:
Originally Posted by JSWolf View Post
And you are wrong. The length of the chapter has nothing to do with pagebreaks. So put the chapter back as one.

Have you used to code I posted?
I am not putting the chapter back as one, when splitting the chapter fixed the problem.

I did not use the code you posted because this is not a widows/orphans issue, as I've explained. All widows/orphans rules have been removed from the book, and my Kobo is set to widows: 1 and orphans: 1. Plus, changing the font size did not change the location of the pagebreak, which others have said proves it's not a widows/orphans problem.
Siavahda is offline   Reply With Quote
Old 09-13-2026, 09:27 AM   #17
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 84,905
Karma: 153788249
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by Siavahda View Post
...Then why did you mention it when the problem I posted about was pagebreaks?
Because with the code I posted, centers could become no longer centered. The p class has a text-indent where as most p do not because the publishers do not know how to make simple code.
JSWolf is online now   Reply With Quote
Old 09-13-2026, 09:28 AM   #18
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 84,905
Karma: 153788249
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by Siavahda View Post
I am not putting the chapter back as one, when splitting the chapter fixed the problem.

I did not use the code you posted because this is not a widows/orphans issue, as I've explained. All widows/orphans rules have been removed from the book, and my Kobo is set to widows: 1 and orphans: 1. Plus, changing the font size did not change the location of the pagebreak, which others have said proves it's not a widows/orphans problem.
Your split chapter is not fixing the problem because that wasn't the problem.

Put the chapter back as one chapter and then use the Scramble eBook plugin. Post the scrambled eBook. Tell us where you see the pagebreak so we can have a look at it.
JSWolf is online now   Reply With Quote
Old 09-13-2026, 09:29 AM   #19
Siavahda
Addict
Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.
 
Posts: 282
Karma: 9400
Join Date: Aug 2010
Location: Helsinki
Device: Kobo Clara Colour
Quote:
Originally Posted by JSWolf View Post
Because with the code I posted, centers could become no longer centered. The p class has a text-indent where as most p do not because the publishers do not know how to make simple code.
Ah, I see! Thank you for explaining, and also for mentioning it, then.
Siavahda is offline   Reply With Quote
Old 09-13-2026, 09:38 AM   #20
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,599
Karma: 22000001
Join Date: Jan 2008
Location: Spaniard in Germany
Device: Cybook Orizon, Kobo Aura
The length of a chapter (or actually an individual file within en epub) can be an issue with some readers. They may choke and fail to open the book/chapter at all, or cut the chapter short at some arbitrary point, or, as seems to be the case here, introduce additional pagebreaks to avoid having to paginate too much content at once. That's why many ebook creators will warn you if you have too large files.

An alternative solution is using a different reader. KOReader can deal with huge chapters (essentially the whole 500-page book in a single chapter) with no problems I could see.
Jellby is offline   Reply With Quote
Old 09-13-2026, 09:39 AM   #21
Siavahda
Addict
Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.
 
Posts: 282
Karma: 9400
Join Date: Aug 2010
Location: Helsinki
Device: Kobo Clara Colour
Quote:
Originally Posted by JSWolf View Post
Your split chapter is not fixing the problem because that wasn't the problem.

Put the chapter back as one chapter and then use the Scramble eBook plugin. Post the scrambled eBook. Tell us where you see the pagebreak so we can have a look at it.
Like I said before, I have no idea how to find the pagebreak again once the text is scrambled. At the moment I'm doing it by searching for the sentences before the break, on my Kobo and on the various editors I'm trying. Obviously that won't work once the text is scrambled.

If you want me to put the scrambled book on my Kobo and go page by page, that's going to take a while because this is a 600+ page book in hardback. And even if I find the pagebreak, I don't know how to turn that into a location I can share with you or anyone else. I don't think finding it on the Kobo will let me work out which line it is in the html file for that chapter.

I'm very happy to keep trying things to figure out what is/was causing the pagebreak to appear. I'd really like to know what it was so I can avoid it in future. But I don't know how to scramble the file and then show you where the pagebreak is.
Siavahda is offline   Reply With Quote
Old 09-13-2026, 09:51 AM   #22
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 84,905
Karma: 153788249
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
With the scrambled ePub, you can't search for any words. They are all scrambled.

Try the following...With all the paragraphs as one complete file, load the unscrambled ePub into the calibre editor, click the toolbar button that looks like a bug. That's check book. That will tell you if any of the HTML file are too large.
JSWolf is online now   Reply With Quote
Old 09-13-2026, 09:55 AM   #23
Siavahda
Addict
Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.
 
Posts: 282
Karma: 9400
Join Date: Aug 2010
Location: Helsinki
Device: Kobo Clara Colour
Quote:
Originally Posted by JSWolf View Post
With the scrambled ePub, you can't search for any words. They are all scrambled.

Try the following...With all the paragraphs as one complete file, load the unscrambled ePub into the calibre editor, click the toolbar button that looks like a bug. That's check book. That will tell you if any of the HTML file are too large.
I know you can't search for words in a scrambled epub. That was literally what I was saying re why I couldn't do that.

Ran a bugcheck, it didn't mark any files as being too big. But I'd like to point out that the Calibre Viewer doesn't display the pagebreak at all; only Adobe Digital Editions and my Kobo. To me that means the problem might be one Calibre doesn't notice/think is an issue.
Siavahda is offline   Reply With Quote
Old 09-13-2026, 09:57 AM   #24
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 84,905
Karma: 153788249
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by Siavahda View Post
I know you can't search for words in a scrambled epub. That was literally what I was saying re why I couldn't do that.

Ran a bugcheck, it didn't mark any files as being too big. But I'd like to point out that the Calibre Viewer doesn't display the pagebreak at all; only Adobe Digital Editions and my Kobo. To me that means the problem might be one Calibre doesn't notice/think is an issue.
When calibre doesn't show any of the HTML files as too large, it means the size of those files is not the issue.

What happens if you take out all of the HTML files except the one that gives you this pagebreak? Do you still see it?
JSWolf is online now   Reply With Quote
Old 09-13-2026, 09:59 AM   #25
Siavahda
Addict
Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.
 
Posts: 282
Karma: 9400
Join Date: Aug 2010
Location: Helsinki
Device: Kobo Clara Colour
Quote:
Originally Posted by JSWolf View Post
When calibre doesn't show any of the HTML files as too large, it means the size of those files is not the issue.

What happens if you take out all of the HTML files except the one that gives you this pagebreak? Do you still see it?
Yes, the pagebreak is still there, in the exact same place as before.
Siavahda is offline   Reply With Quote
Old 09-13-2026, 10:06 AM   #26
Siavahda
Addict
Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.
 
Posts: 282
Karma: 9400
Join Date: Aug 2010
Location: Helsinki
Device: Kobo Clara Colour
Quote:
Originally Posted by Jellby View Post
The length of a chapter (or actually an individual file within en epub) can be an issue with some readers. They may choke and fail to open the book/chapter at all, or cut the chapter short at some arbitrary point, or, as seems to be the case here, introduce additional pagebreaks to avoid having to paginate too much content at once. That's why many ebook creators will warn you if you have too large files.

An alternative solution is using a different reader. KOReader can deal with huge chapters (essentially the whole 500-page book in a single chapter) with no problems I could see.
Thank you for explaining! I'd never seen this mentioned anywhere before. I don't use KOReader so this is just going to have to be something I watch for in future.

Is there a ballpark of what kind of file size is too large? This one is 234.5 KB, which is more than twice the size of any of the other chapter files.
Siavahda is offline   Reply With Quote
Old 09-13-2026, 06:48 PM   #27
Turtle91
A Hairy Wizard
Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.
 
Turtle91's Avatar
 
Posts: 3,502
Karma: 21099999
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 15/11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
Checkout this thread… especially post #10… I think that might apply here.
Turtle91 is offline   Reply With Quote
Old Yesterday, 02:09 AM   #28
Siavahda
Addict
Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.
 
Posts: 282
Karma: 9400
Join Date: Aug 2010
Location: Helsinki
Device: Kobo Clara Colour
Quote:
Originally Posted by Turtle91 View Post
Checkout this thread… especially post #10… I think that might apply here.
Yep, given that the file that had the pagebreak was 234.5 KB, I suspect this was the problem!
Siavahda is offline   Reply With Quote
Old Yesterday, 07:54 AM   #29
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 84,905
Karma: 153788249
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
I tried with a retail copy of this eBook. It still breaks at the same place in chapter 3. I know the code is clean and as small as possible. This is using RMSDK. I also sent it as KePub and no problem.

So combine chapter 3 into one and send it as KePub.
JSWolf is online now   Reply With Quote
Old Yesterday, 11:03 AM   #30
Siavahda
Addict
Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.Siavahda can eat soup with a fork.
 
Posts: 282
Karma: 9400
Join Date: Aug 2010
Location: Helsinki
Device: Kobo Clara Colour
Quote:
Originally Posted by JSWolf View Post
I tried with a retail copy of this eBook. It still breaks at the same place in chapter 3. I know the code is clean and as small as possible. This is using RMSDK. I also sent it as KePub and no problem.

So combine chapter 3 into one and send it as KePub.
I'm not going to do that. I don't use KEPUB because of the formatting issues.

But this DOES mean that the issue was the file size of the chapter, then?
Siavahda is offline   Reply With Quote
Reply

Tags
epub, pagebreak


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
unwanted pagebreak travger Conversion 3 05-04-2014 05:40 AM
h1 pagebreak without h2 bookdragon Sigil 5 03-03-2014 06:11 AM
HELP from Pagebreak !! Smashword Tara198 Writers' Corner 4 07-06-2013 06:22 PM
0.6.3 pagebreak before h2 only every second time? flowoeB Calibre 4 07-31-2009 01:47 AM
XPath Help and Pagebreak emellaich Calibre 3 07-28-2009 02:17 PM


All times are GMT -4. The time now is 03:25 PM.


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