Quote:
Originally Posted by kovidgoyal
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
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?