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

Order of frontmatter, bodymatter and backmatter not included in validation. #574

Open
oscarlcarlsson opened this issue Jun 7, 2024 · 2 comments

Comments

@oscarlcarlsson
Copy link
Collaborator

We just noticed that files with epub:type="frontmatter" is allowed after epub:type="bodymatter" in the validator.

Is it possible to check the names and order of the files in the validator? Shouldn't it always be the order frontmatter, bodymatter, backmatter?

@josteinaj
Copy link
Member

Probably possible, but do you want it in all contexts? Maybe you want some frontmatter moved to the back of the book as part of ordering instructions, so that the book becomes more accessible? For instance you might want to move the colophon to the back of the book. Or maybe there's an index or a huge table of contents in the frontmatter. Should they become backmatter if you move them to the back as part of ordering instructions?

@josteinaj
Copy link
Member

josteinaj commented Jun 10, 2024

By the way, I think a change from 2015 to 2020 was that file naming rules were either removed or relaxed? In 2015 they are quite strict about epub:type in the filename, and numeric ordering. Adding, removing or moving files in the spine required a lot of file renaming and updating of refereces.

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

No branches or pull requests

2 participants