View Single Post
Old 06-19-2016, 09:16 AM   #79
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 MacEachaidh View Post
A question about HTML ToCs, please:

I've read directly contradictory claims on entries in an HTML ToC; is it true that every HTML file in the epub needs an active entry in the ToC?

As I say, I've read conflicting claims, and the Internet being the Chinese Whisper Generator that it is, I don't know what to trust. I've tried making ToCs that *didn't* have entries for every file, and they still seemed to function fine (in ADE, and on my Kobo device), so what am I missing?
What do you mean by "HTML ToC"? My reaction is that a "HTML ToC" is a the contents page in the book. If so, that is just links to other parts of the book and hence can have anything in it. Only including links to chapters and not to the copyright, title or cover page isn't uncommon.

The other ToC is the NCX. This is used by the reader/application for navigation. Again, it only has what the book creator wants to put in it. Again, it is common for the cover and title pages not to be in the ToC. I have lots of epubs working perfectly well on my Kobo devices whose ToC do not include these.

But, if you decide to convert to kepub, it works better if there is a one-to-one relationship between the ToC and the HTML files. It will still work, but it can give some strange page counts.
davidfor is offline   Reply With Quote