Skip to content
EPUBCheck · Package document (OPF)

EPUBCheck OPF-033: no linear spine items

Updated:

EPUBCheck OPF-033 is an error message: “The spine contains no linear resources.” Every item in the spine is marked linear="no", so there is nothing to read from start to end. The spine defines the reading order, and at least one document has to belong to it.

The official message

The spine contains no linear resources.

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

Typical causes

  • linear="no" applied to all items by mistake, for example with a find-and-replace.
  • A tool setting that marks every document as auxiliary content.
  • A spine that only lists notes or appendices after the main chapters were removed.

How to fix it

  1. Open the spine in the package document.
  2. Remove linear="no" from the itemrefs that make up the main text (linear="yes" is the default).
  3. Keep linear="no" only on auxiliary documents such as answer keys or pop-up notes.

When it's not this

If only some non-linear documents are unreachable, that is OPF-096.

Terms used here

Other OPF messages

  • OPF-032 Guide references "…" which is not a valid "OPS Content Document".
  • OPF-034 The spine contains multiple references to the manifest item with id "…".
  • OPF-031 File listed in reference element in guide was not declared in OPF manifest: ….
  • OPF-035 Media type "text/html" is not appropriate for XHTML/OPS.
  • OPF-030 The unique-identifier "…" was not found.
  • OPF-036 Video type "…" might not be supported by reading systems

Sources

Message text and severity from EPUBCheck 5.4.0 (W3C, BSD-3-Clause). Explanation by EpubCC.

FAQ

What does EPUBCheck OPF-033 mean?

EPUBCheck OPF-033 is an error message: “The spine contains no linear resources.” Every item in the spine is marked linear="no", so there is nothing to read from start to end. The spine defines the reading order, and at least one document has to belong to it.

Is OPF-033 an error?

OPF-033 is reported as error by default. 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.

PDF to EPUB tools

Every tool uses the same engine and starts with a free 5-page sample.