View Single Post
Old 07-14-2014, 12:47 AM   #77
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by GeoffR View Post
I've started to notice a pattern to these page breaks. I suspect that if a .html file in the .epub is larger than a certain size, say about 150KB, then internally it gets broken into chunks no larger than about 150KB and each chunk rendered as if it were a seperate file. The unexplained page break might occur between chunks, as it ordinarily would between seperate files.

If that is the case then the solution for most books with excessively large .html files is to split the files at chapter headings in Calibre before sideloading, so that the page breaks occur where they naturally should between chapters. But if the book has extremely long chapters then there may be no way to avoid these breaks.
I can see that, but I think the file size is in the 260-300KB range. My test book is a 30 odd chapter book where I merged all the chapters into one 1.4MB file. I have just been paging through it have so far hit two of these spots. Using the calibre editor to split the file at these points gave me 263KB and 292KB.

I'll keep tapping the screen for the afternoon and see where the next one is. But, it is getting tedious as page turns are getting noticeably slower as I go through this book. Which, if I remember rightly, was what it was created to test.
davidfor is offline   Reply With Quote