Skip to content

EPUB's NCX document should not have playOrder attributes #1760

@elmimmo

Description

@elmimmo

navPoint elements in the NCX document of EPUB output by Pandoc should not have the playOrder attribute.

The EPUB 2.0.1 specification specifically mentions that the playOrder attribute is not required if the NCX document does not have a DOCTYPE (which current Pandoc happens not to add).

No ereader requires or uses them, and on the other hand their presence make manually tweaking the TOC difficult since adding or removing navPoint requires renumbering them all. epubcheck requires that playOrder values are consecutive only if they are present at all.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions