View Single Post
Old 12-22-2009, 12:58 PM   #10
Kolenka
<Insert Wit Here>
Kolenka ought to be getting tired of karma fortunes by now.Kolenka ought to be getting tired of karma fortunes by now.Kolenka ought to be getting tired of karma fortunes by now.Kolenka ought to be getting tired of karma fortunes by now.Kolenka ought to be getting tired of karma fortunes by now.Kolenka ought to be getting tired of karma fortunes by now.Kolenka ought to be getting tired of karma fortunes by now.Kolenka ought to be getting tired of karma fortunes by now.Kolenka ought to be getting tired of karma fortunes by now.Kolenka ought to be getting tired of karma fortunes by now.Kolenka ought to be getting tired of karma fortunes by now.
 
Kolenka's Avatar
 
Posts: 1,017
Karma: 1275899
Join Date: Jan 2008
Location: Puget Sound
Device: Kindle Oasis, Kobo Forma
The officially published ePubs from Sony appear to to be the same way (in the ones I examined).

A couple reasons:
  • Table of Contents prefers to point at a file, rather than a location inside a file (goes faster).
  • Larger files take longer to load, so splitting it up splits up the 'cost' of loading the book a bit.
  • The Adobe SDK has a hard limit of 300KB per HTML file in ePub (uncompressed). Without splitting the book into files, you'd hit this limit with an awful lot of books, since you could hit it with about 160 pages of text.

All this taken into account, it makes sense to split it on chapter boundaries and use that file list to build up the Table of Contents from. If you need to force a page break, it is also a good place to split the text up (up to the judgment of the guy/gal packaging the ePub), since a break between files is treated like a page-break by default.
Kolenka is offline   Reply With Quote