View Single Post
Old 05-13-2009, 08:41 PM   #34
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
That doesn't matter as long as the algorithm used is consistent.
Sorry, there were two issues there. My primary concern was this: if your numbering is based on paragraphs, then you have to open each HTML file before the current file and interpret the contents of the file. You could get around this by using two numbers, internal file number and current-document paragraph number, but then you end up exposing to the user that large chapters are split into multiple files.

I still maintain that Adobe calculating page numbers based on the compressed file size is, by far, the fastest method for calculating "page numbers". It's still up for debate whether or not this method is useful for the person reading.
LoganK is offline   Reply With Quote