View Single Post
Old 09-02-2019, 04:39 AM   #1
AlanHK
Guru
AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.AlanHK ought to be getting tired of karma fortunes by now.
 
AlanHK's Avatar
 
Posts: 681
Karma: 929286
Join Date: Apr 2014
Device: PW-3, iPad, Android phone
Can nav be a TOC?

I was working on an epub3 file.
(I know my way around epub2, but 3 I'm still stumbling.)

There wasn't a HTML contents page, and the NAV file looked OK in Sigil, so I thought I could use that.

But if I add the semantic tag "Table of contents" in Sigil, I get an error in ePubCheck:

ERROR(RSC-011): Found a reference to a resource that is not a spine item.


And when I used Calibre to view the file, the NAV file was not displayed.

I used Kindlegen to make AZW3, and it gave this error:
Warning(prcgen):W14001: Hyperlink not resolved: \OEBPS\Text\toc.xhtml
Warning(prcgen):W14002: Some hyperlinks could not be resolved.


That is certainly the location of the NAV file, as I confirmedd by opening the epub as a zip file.

However, it isn't listed in the OPF manifest section.

I gave up and copied the NAV and tagged the copy as TOC, that worked.

Can the NAV file be used as a visible Contents file or is it only an invisible system file?

Last edited by AlanHK; 09-02-2019 at 06:18 AM.
AlanHK is offline   Reply With Quote