EPUBCheck OPF-096: non-linear page unreachable
Updated:
EPUBCheck OPF-096 is an error message: “Non-linear content must be reachable, but found no hyperlink to "…".” A document marked linear="no" in the spine is not linked from anywhere, so readers cannot reach it. Non-linear documents are skipped when paging through the book and are only reachable through links.
The official message
Non-linear content must be reachable, but found no hyperlink to "%1$s".
- Default severity
- Error. The EPUB breaks a rule of the specification and is invalid. Stores and Send to Kindle may reject it, and EPUBCheck exits with status 1.
- EPUBCheck version
- 5.4.0
%1$s, %2$s… are filled in with the file, value or element EPUBCheck found.
Typical causes
- Notes, answers or appendices marked non-linear without a link from the text or table of contents.
- The only link to the document was removed while editing.
- A link that points to the wrong file name.
How to fix it
- Read the document EPUBCheck names.
- Add a link to it from the text or from the navigation document.
- Or remove linear="no" from its itemref if it should be read in order.
When it's not this
If the book uses scripts, EPUBCheck reports OPF-096b instead, since a script could provide the link.
Terms used here
Other OPF messages
OPF-096bNo hyperlink was found to non-linear document "…", please check that it can be reached from scripted content.OPF-095The "media-type" attribute of "voicing" links must be an audio MIME type, but found "…".OPF-097Resource "…" is listed in the manifest, but no reference to it was found in content documents.OPF-094The "media-type" attribute is required for "…" links.OPF-098The "href" attribute must reference resources, not elements in the package document, but found URL "…".OPF-093The "media-type" attribute is required for linked resources located in the EPUB container
Sources
Message text and severity from EPUBCheck 5.4.0 (W3C, BSD-3-Clause). Explanation by EpubCC.