Quote:
Originally Posted by davidfor
John,
The problem is that what you want can't be done without rendering the complete book. Or at least not for all books.
The other David specified how page numbers are calculated for epubs. It is also described in https://wiki.mobileread.com/wiki/Adob...s#Page_numbers.
All that means it is easy to calculate a page number for the start of each file in the epub. And if each file represents a chapter, then it is easy to calculate the page number.
But, if the chapters are not at the file breaks, you need to render all files to work out which page the chapters are on. That is a lot more work. Of course it is possible, but it could take a long time for a big book.
And for what it is worth, I would say that at least 25% of my books are of the latter type.
|
You still haven't convinced me.
Your "it might take a long time in some cases" is my "I would rather have page numbers and wait than not have them at all.". (i do not, however, want the displaying of the TOC to be delayed; display the TOC first, and than calculate and display the page numbers)