View Single Post
Old 12-28-2020, 12:18 AM   #5
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by Ashjuk View Post
That was my thinking, but I thought I would ask to see if anyone knew definitively whether this was the case.

The next step I suppose will be to try editing the toc.ncx file of a book that does not work to see what happens.
It is a combination of what @phillipgessert and @theducks. The Kobo devices use both the internal files and the ToC for the chapter page counts. If you have multiple internal files without a ToC, then the page count will get restarted at the beginning of each file (though I haven't tested this recently so it might have changed). And the chapter page count is also started at whereever a ToC entry points. Overall, it works best with a one-to-one mapping between the internal files and the ToC. But, multiple ToC entries per file is fine. I just wouldn't recommend having an internal file without a ToC entry pointing to the start of it.

And of course, this isn't a Sigil question. How to create the above would be, but, how epubs work and how a particular device works should be elsewhere.
davidfor is offline   Reply With Quote