-
Notifications
You must be signed in to change notification settings - Fork 41
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
incorrect handling of unnumbered sections #433
Comments
@julian.reschke@gmx.de uploaded file |
@julian.reschke@gmx.de uploaded file |
@henrik@levkowetz.com changed component from |
@henrik@levkowetz.com changed status from |
@henrik@levkowetz.com changed resolution from `` to |
@henrik@levkowetz.com commented Fixed in 3cd533b: Added a preptool check for numbered sections occurring after or under unnumbered sections, and changed the code for Reference sections to not emit section numbers if the previous section was unnumbered. Fixes issue #433 |
resolution_fixed
type_defect
| by julian.reschke@gmx.deConsider an unnumbered top-level section last in . Whether it's numbered or not affects the numbering of the references section.
In the example, we get:
So the unnumbered section contributes to the numbering, but itself does not get numbered.
One way to fix this is to abort with an error, as per https://greenbytes.de/tech/webdav/rfc7991.html#element.section.attribute.numbered. The alternative would be to skip the section for the purpose of numbering (that's the approach now taken by rfc2629.xslt, in addition to a non-fatal error message).
Issue migrated from trac:433 at 2022-02-05 12:50:33 +0000
The text was updated successfully, but these errors were encountered: