Quote:
Originally Posted by davidfor
From the very few rules we have for kepubs, every file is supposed to have a ToC entry. In some purchased books, I've seen things like "unnamed chapter" or the first line of text as the title. I think Kobo's publishing routines are adding these as needed. If there are missing entries, you can get some strange things happening with the chapters and page counts. (I might have to check that as it has been a while).
|
You could apply hidden to those added epub3 nav.xhtml ToC entries though as far as I can tell from reading the epub3 spec, there is no requirement for every file to have a ToC entry though a spine entry is required.
Looking at the kobolabs epub information
kobolabs/epub-spec , Kobo's CMS will add files listed in the spine to the ToC for epub2 files if there is no existing toc.ncx file. For epub3, an existing nav.html (should be nav.xhtml) will be used followed followed by toc.ncx and finally, if toc.ncx does not exist, the ToC will be generated from the spine listing.
Given that the epub2 spec requires a toc.ncx and the epub3 spec requires the navigation document, adding spine files to the ToC should never occur for a standards compliant epub.