Book parts should not be ignored in EPUB output #3332
ptkw
started this conversation in
Feature Requests
Replies: 1 comment 1 reply
-
Thanks for the feedback - we intend to make improvements to our book support sometime soon (not sure of the timing) and I've tagged this so this remains on the radar when we make those improvements. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
According to the documentation, "In EPUB […] output parts are ignored entirely".
This means that books with defined hierarchical structures (i.e. chapters nested inside parts) get a flattened version of table of contents when exported to EPUB, with only a long list of chapters presented in sequence (with no mention of parts to which they are supposed to belong).
This behavior applies to both "styles" of parts as explained in "Parts & Appendices" section:
This is a severe limitation that strips the EPUB version of a publication of some very basic functionality as well as essential meaningful information that should be available to the reader. Let me emphasize that the EPUB format absolutely supports hierarchical ToCs with nested items (such as chapters within sections).
Optimally, the hierarchical structure of a book should be preserved for both styles of part declarations: with corresponding qmd files for each part and with only names provided. In the second case, additional html files with section title pages should be generated within the EPUB.
I realize the current state of affairs must result from some limitations of pandoc. I hope, however, that some workaround would be possible.
Beta Was this translation helpful? Give feedback.
All reactions