I'm trying to make sense of the following usage comment:
USAGE(OPF-058): foo.epub/OEBPS/toc.xhtml(-1,-1): Spine item has no TOC entry reference.
What does this mean? The toc.xhtml
file is referenced in <spine>
and therewith in the <manifest>
, as well as in the <guide>
of the content.opf file. It even references itself in the actual TOC (just to be sure). How do I quieten this comment?
OPF-058 USAGE Spine item has no TOC entry reference. Every spine item in the manifest should be referenced by at least one TOC entry. |
--
You received this message because you are subscribed to the Google Groups "epubcheck" group.
To unsubscribe from this group and stop receiving emails from it, send an email to epubcheck+...@googlegroups.com.
To post to this group, send email to epub...@googlegroups.com.
Visit this group at https://groups.google.com/group/epubcheck.
For more options, visit https://groups.google.com/d/optout.
--
--
When you say “nav file” then you mean the book’s toc.xhtml which contains the table of content of the book, correct?The title page is part of the <spine> amongst other elements that I haven't added to the book’s TOC. Are you suggesting that therefore I should add the title page (and others) to the book’s TOC? However, that’s quite unusual and I’m not too enthused about this approach :-) There are two ways to proceed:- Ignore the usage hint from epubcheck altogether; or
- Add the missing spine entries to the TOC, and somehow hide them from being rendered, e.g. using the hidden attribute.
What would you recommend?Thanks! Jens
On Friday, June 17, 2016 at 11:28:31 AM UTC-7, Garth Conboy wrote:It wants each <spine> entry referenced from the Nav File -- so at least one per spine entry -- not just the cover page.G
--