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

Change the default chunking rules so that the first section of a component is part of the component chunk #45

Closed
ndw opened this issue Jul 27, 2020 · 0 comments · Fixed by #54

Comments

@ndw
Copy link
Contributor

ndw commented Jul 27, 2020

If your markup is:

<chapter>
<title>My chapter</title>
<section>
<title>The first section</title>
<para>...</para>
</section>
<section>...</section>
...
</chapter>

the default chunking parameters will result in an effectively empty chapter chunk (because the first section will be in a different chunk). It isn't wrong, but it can be confusing.

Better, perhaps, to make the default rule be that the first section of a chapter (preface, appendix, etc.) is part of the chapter chunk.

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

Successfully merging a pull request may close this issue.

1 participant