Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 11-22-2013, 03:53 AM   #1
1v4n0
Groupie
1v4n0 writes the songs that make the whole world sing.1v4n0 writes the songs that make the whole world sing.1v4n0 writes the songs that make the whole world sing.1v4n0 writes the songs that make the whole world sing.1v4n0 writes the songs that make the whole world sing.1v4n0 writes the songs that make the whole world sing.1v4n0 writes the songs that make the whole world sing.1v4n0 writes the songs that make the whole world sing.1v4n0 writes the songs that make the whole world sing.1v4n0 writes the songs that make the whole world sing.1v4n0 writes the songs that make the whole world sing.
 
Posts: 171
Karma: 40000
Join Date: Oct 2013
Device: kindle
Page breaks and file splitting

Hello.

I was wondering wether there is a way to split an epub into more html files (so it's not too heavy to handle) without having page breaks between one file and the next one, so you don't notice anything while reading it, i.e. so it flows seamlessly from beginning to end.

Hope I made myself clear

Thanks.
1v4n0 is offline   Reply With Quote
Old 11-22-2013, 04:37 AM   #2
SBT
Fanatic
SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.
 
SBT's Avatar
 
Posts: 580
Karma: 810184
Join Date: Sep 2010
Location: Norway
Device: prs-t1, tablet, Nook Simple, assorted kindles, iPad
Ah, I think I know the answer to this one...

No.

I don't know if it is actually a part of the EPUB specification, and I'm too lazy to look it up, but all the readers I've come across have an implicit page break on new files. There's no way to work around it, I'm afraid, apart from writing your own custom reader...
SBT is offline   Reply With Quote
Advert
Old 11-22-2013, 04:39 AM   #3
1v4n0
Groupie
1v4n0 writes the songs that make the whole world sing.1v4n0 writes the songs that make the whole world sing.1v4n0 writes the songs that make the whole world sing.1v4n0 writes the songs that make the whole world sing.1v4n0 writes the songs that make the whole world sing.1v4n0 writes the songs that make the whole world sing.1v4n0 writes the songs that make the whole world sing.1v4n0 writes the songs that make the whole world sing.1v4n0 writes the songs that make the whole world sing.1v4n0 writes the songs that make the whole world sing.1v4n0 writes the songs that make the whole world sing.
 
Posts: 171
Karma: 40000
Join Date: Oct 2013
Device: kindle
Ha. Thanks.

So, you know how much an html file can weigh before the reader starts having problems processing it?
1v4n0 is offline   Reply With Quote
Old 11-22-2013, 05:16 AM   #4
SBT
Fanatic
SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.SBT ought to be getting tired of karma fortunes by now.
 
SBT's Avatar
 
Posts: 580
Karma: 810184
Join Date: Sep 2010
Location: Norway
Device: prs-t1, tablet, Nook Simple, assorted kindles, iPad
Hang on, I know that one too...

300kB

And that's according to the EPUB spec. Some readers are forgiving, and permit larger files, others (e.g. my old PRS-505) don't.
SBT is offline   Reply With Quote
Old 11-22-2013, 06:35 AM   #5
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
Actually, I do not think that the 300kB is in the actual specs. It is really depending on the reader. A lot of older readers have limited memory and processors and those really limit the size.

Also, it is actually closer around 286kB
Toxaris is offline   Reply With Quote
Advert
Old 11-22-2013, 09:00 AM   #6
mrmikel
Color me gone
mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.
 
Posts: 2,089
Karma: 1445295
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
Even if a large file doesn't break it, it can slow it down.
mrmikel is offline   Reply With Quote
Old 11-22-2013, 10:20 AM   #7
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,809
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
260K (calibe's default) is a safer number if Images, fonts are aso to be used.

And yes it BREAKS (as in crash) the reading ap on many MRSDK based devices.
Smaller is even better as you point out: Big (of under 260K) files do sloooow things down a whole lot.
theducks is offline   Reply With Quote
Old 11-22-2013, 10:32 AM   #8
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,809
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by 1v4n0 View Post
Hello.

I was wondering wether there is a way to split an epub into more html files (so it's not too heavy to handle) without having page breaks between one file and the next one, so you don't notice anything while reading it, i.e. so it flows seamlessly from beginning to end.

Hope I made myself clear

Thanks.
When did we shift our perceptions of how a book should be read, or did we come full circle back to scrolls?
( weren't scrolls read side to side anyway?)

With dead tree books you read a real page(tm) and then either have to look to the right or Flip with a massive delay before your eyes track and lock on to the new starting point to continue reading.

The Horrors of printed books!
theducks is offline   Reply With Quote
Old 11-22-2013, 11:35 AM   #9
mrmikel
Color me gone
mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.
 
Posts: 2,089
Karma: 1445295
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
Flowing seamlessly into eyestrain and headache I think. They could publish books (and they did) on scrolls if seamlessly was so desirable. This sounds like a programmer's idea, not a reader's.

Last edited by mrmikel; 11-22-2013 at 07:37 PM.
mrmikel is offline   Reply With Quote
Old 11-22-2013, 02:52 PM   #10
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Quote:
Originally Posted by SBT View Post
Ah, I think I know the answer to this one...

No.

I don't know if it is actually a part of the EPUB specification, and I'm too lazy to look it up, but all the readers I've come across have an implicit page break on new files. There's no way to work around it, I'm afraid, apart from writing your own custom reader...
Um, what about the css
Code:
page-break-before: avoid;

Where did that go, exactly? It was created for exactly this usage situation, and I can't imagine any reader would refuse to respect that.

Put that in the top element of each new page (or alternatively, use page-break-after: avoid; at the END of each page). In fact, calibre will automatically split all files above a certain size (configurable) during every ePub conversion, for EXACTLY this reason, and takes care of adding the page-break-(whichever):avoid.

Although this shouldn't be a problem in any book that splits on each chapter...
eschwartz is offline   Reply With Quote
Old 11-22-2013, 05:13 PM   #11
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
Quote:
Originally Posted by eschwartz View Post
Um, what about the css
Code:
page-break-before: avoid;

Where did that go, exactly? It was created for exactly this usage situation, and I can't imagine any reader would refuse to respect that.
No reader I know will honor this... It should avoid a pagebreak before an element within the same HTML file, not between HTML files.
Toxaris is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Page breaks and 5-way jumps in one file BKh Sigil 8 03-31-2011 03:16 PM
Adding page breaks in Calibre breaks ePubcheck validation bookraft Conversion 16 03-01-2011 01:23 PM
Automating splitting at Chapter Breaks John Everett Sigil 9 06-01-2010 02:53 AM
Splitting large file sizes ... Hangman Calibre 1 04-05-2010 10:01 PM
Double page splitting ? mazzeltjes LRF 0 01-16-2009 06:35 PM


All times are GMT -4. The time now is 11:02 AM.


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