View Single Post
Old 12-03-2019, 02:36 AM   #12
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,734
Karma: 24031401
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by slightfever View Post
When nav.xhtml is used as a table of contents page, it cannot be decorated.
Of course, you cannot link to nav.xhml in a toc landmark entry, if it's not in the spine. However, if it is in the spine, you can link to it. As for linear=no I don't know of a single epub2 app that actually honors it, which is not at all surprising, because the epub2 specs don't strictly require apps to hide spine items with a linear=no attribute.
If you're interested in creating epub2-compatible epubs for Amazon KDP, you can take advantage of this fact and move the nav document after the cover and add a linear=no attribute and toc landmark/guide items. Since all major epub3 apps honor linear=no, the nav document will only be shown as an HTML TOC in epub2 books.

Quote:
Originally Posted by slightfever View Post
So it is recommended to create another document table of contents and hide nav.xhtml.
I disagree. IMHO, an additional HTML TOC with the same TOC links as the NAV document would be redundant.
Doitsu is offline   Reply With Quote