Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Return pageNavigation instead of pageBreakNumbers when inferring metadata #92

Open
HadrienGardeur opened this issue May 30, 2024 · 0 comments

Comments

@HadrienGardeur
Copy link

printPageNumbers has been gradually deprecated in favor of two different values:

  • pageBreakMarkers which is meant to indicate that the text of the publication contains page break markers using ARIA
  • and pageNavigation which is meant to indicate that the publication contains a list of pages, usually based on HTML IDs

The current inference technique is based on the presence of pageList in the RWPM output which can either come from:

  • a Navigation Document in EPUB 3.x
  • or an NCX in EPUB 2.x

Given the nature of what is inferred here, the toolkit should return pageNavigation instead of printPageNumbers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant