-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
nav.xhtml body need epub:type #6918
Comments
Can you link to epub documentation that recommends this? I don't see this, e.g., in the samples I checked at https://github.com/IDPF/epub3-samples |
I can't find best practice document to refer to yet. According to this post, toc is frontmatter.
If you look at the epub created by Sigil, the toc is frontmatter, so why don't you follow it? In Pandoc, titlepage are set as frontmatter, right? I wish toc would do the same. title_page.xhtml
nav.xhtml
|
I think it probably does make sense to use the frontmatter annotation here, and I think I'll do that, but it's nice to follow guidance from an official spec. (dita, which you link to, is not epub.) |
The nav.xhtml created by Sigil has epub:type="frontmatter" in body tags.
It would be nice to include this information when Pandoc creates nav.xhtml.
nav.xhtml (Sigil)
nav.xhtml (Pandoc)
The text was updated successfully, but these errors were encountered: