-
Notifications
You must be signed in to change notification settings - Fork 8
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
Request for value attribute with the <listitem> tag #84
Comments
Hi,
This already exists. The @OverRide attribute on a DocBook
orderedlist/listitem element will cause the DocBook XSL stylesheet to
output a @value attribute on the corresponding HTML <li> element.
Bob Stayton
***@***.***
…On 10/2/2021 2:19 AM, albert-github wrote:
When looking at the tag |<orderedlist>| we have a.o. the attributes:
|numeration| and |startingnumber| and these correspond with the
attributes |type| and |start| of the HTML tag |<ol>|.
An item in HTML is given by means of the |<li>| tag and here we have
the attribute |value|, the docbook equivalent of the HTML tag |<li>|
tag is the |<listitem>| tag but here there is no |value| or similar
tag present.
*Request*: would it be possible to add an attribute similar to the
|value| attribute of the HTML |<li>| tag to the docbook |<itemlist>| tag?
Note: I'm not sure whether or not this is the right place for this
request, in case this is not the case please point me to the right place.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<https://github.com/docbook/docbook/issues/222>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AC6W3QLPO6NEA6VXESSESOLUE3FCHANCNFSM5FGF6J2A>.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
When I have this in XMLMind this override does not show up in the XML editor part, though when converting the result to HTML or PDF I do see the right value. I think this might be a small omission in the XMLMind Docbook viewer. Thanks for your help. |
After consultation with support of XMLMind some things were pointed out to me about the override specification
From these points I don't think the translation of the |
You can put numbers in The reference to |
I think indeed that some clarification would be in place. Currently the definition of override states: ...for this item... (I made the word this bold), I think that this is in contradiction with your statement "Having numeration continue from that number would be a stylesheet issue, I think. |
I'm moving this issue to the Definitive Guide repo because (I think) we've agreed it's a documentation issue. |
When looking at the tag
<orderedlist>
we have a.o. the attributes:numeration
andstartingnumber
and these correspond with the attributestype
andstart
of the HTML tag<ol>
.An item in HTML is given by means of the
<li>
tag and here we have the attributevalue
, the docbook equivalent of the HTML tag<li>
tag is the<listitem>
tag but here there is novalue
or similar tag present.Request: would it be possible to add an attribute similar to the
value
attribute of the HTML<li>
tag to the docbook<itemlist>
tag?Note: I'm not sure whether or not this is the right place for this request, in case this is not the case please point me to the right place.
The text was updated successfully, but these errors were encountered: