-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
convert unnumbered sections to docbook's <simplesect> #1402
Comments
Can you please post a source file indicating exactly what you mean by an unumbered section and the command you are using to convert to DocBook. |
And then my proposal is to make this an |
|
Would it be sufficient if the section tag had an attribute that indicated it was not to be numbered? Is there an appropriate docbook attribute, allowed on sectN tags, that would have this meaning? |
Looking through the DocBook spec, there is nothing obvious, however the following seems legal:
Where I propose to make "text" -> "unnumered" refs: http://www.docbook.org/tdg5/en/html/sect1.html |
I can work around this by abusing anchor names, like
And check for that in the DocBook output. |
I would say that is best solved by adding |
Markdown allows marking a heading as unnumbered, which is stored as a class token internally. This change will recognize this particular class token and append it to the role attribute, or create a role attribute with it if needed. This does not imply any processing in DocBook but is intended to let customized stylesheets identify these sections and act accordingly. fixes jgm#1402
I made a commit that failed tests; this was because I didn't think a push to my fork would trigger the CI. I've identified the tests failing locally and have a fix coming. |
Markdown allows marking a heading as unnumbered, which is stored as a class token internally. This change will recognize this particular class token and append it to the role attribute, or create a role attribute with it if needed. This does not imply any processing in DocBook but is intended to let customized stylesheets identify these sections and act accordingly. fixes jgm#1402
Markdown allows marking a heading as unnumbered, which is stored as a class token internally. This change will recognize this particular class token and append it to the role attribute, or create a role attribute with it if needed. This does not imply any processing in DocBook but is intended to let customized stylesheets identify these sections and act accordingly. fixes jgm#1402
Markdown allows marking a heading as unnumbered, which is stored as a class token internally. This change will recognize this particular class token and append it to the role attribute, or create a role attribute with it if needed. This does not imply any processing in DocBook but is intended to let customized stylesheets identify these sections and act accordingly. fixes jgm#1402
Markdown allows marking a heading as unnumbered, which is stored as a class token internally. This change will recognize this particular class token and append it to the role attribute, or create a role attribute with it if needed. This does not imply any processing in DocBook but is intended to let customized stylesheets identify these sections and act accordingly. Closes #1402
Markdown allows marking a heading as unnumbered, which is stored as a class token internally. This change will recognize this particular class token and append it to the role attribute, or create a role attribute with it if needed. This does not imply any processing in DocBook but is intended to let customized stylesheets identify these sections and act accordingly. Closes jgm#1402
Right now an unnumbered section: # section {-}
is just converted to a
<sectX>
. I think it makes sense to convert it to a<simplesect>
or maybe a<section>
to distinguish it from normal section in the docbook output.The text was updated successfully, but these errors were encountered: