View Single Post
Old 05-13-2009, 06:58 PM   #27
LoganK
Groupie
LoganK can name that song in three notesLoganK can name that song in three notesLoganK can name that song in three notesLoganK can name that song in three notesLoganK can name that song in three notesLoganK can name that song in three notesLoganK can name that song in three notesLoganK can name that song in three notesLoganK can name that song in three notesLoganK can name that song in three notesLoganK can name that song in three notes
 
Posts: 199
Karma: 24918
Join Date: May 2009
Device: PRS-505,nook,Nook Color,Android
Quote:
Originally Posted by kovidgoyal View Post
Page numbers are too broad a classification, paragraph numbers are better. Paragraph number based referencing is implemented in the calibre epub viewer.
Paragraph numbers can avoid dreaded rendering, but it still requires scanning the contents of the file. Plus, there is the issue of what constitutes a paragraph? A <p> element? A top-level box?

Quote:
Originally Posted by kovidgoyal View Post
Neither of these having anything to do with page numbers.
You would know better than me, but why aren't page numbers related to page rendering? To put it more concretely, how do you figure out what page number a given chapter starts on without rendering all of the previous chapters? What reason, other than calculating page numbers, would you have to pre-render the entire document?

I can open an ePub document much faster than a BBeB file presumably because it isn't processing the entire file up front? Or am I wrong about what's going on behind the scenes?

Last edited by LoganK; 05-13-2009 at 07:02 PM.
LoganK is offline   Reply With Quote