Quote:
Originally Posted by ZodWallop
Given the 'one screen = one page' nature of kepub now (a change I prefer, honestly), would it be possible for your TOC hack to update the page numbers based on that?
|
No, I'm afraid not, it's a one-time
hack re-write of the NCX and/or NAV file during calibre send-to-device. I never claimed this was classy.
Quote:
Originally Posted by ZodWallop
For example, the Kobo knows to change the total page count from 400 pages to 538 pages when I increase the font. It is also able to recalculate the pages per chapter. So the Kobo knows that Chapter Four use to start on page 56, but now starts on 64. I wonder if that could be used to add the page number to the TOC?
|
I wouldn't even know where to start to do a TOC re-calc on-the-fly every time the line-height/font-size/margins were changed. It doesn't necessarily mean that someone more technically adept than me wouldn't, though. I do wonder what negative impact it might have on performance. Also, the TOC has always been central, in some way, to how Kobo has chosen to do things. So I do wonder whether having fluid TOC contents is even possible.