Table caption numbering for Appendix
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 10
- Joined: Wed Aug 06, 2025 9:31 am
Table caption numbering for Appendix
Post by joyceclc23 »
Hi
How to change my Table caption numbering for Appendix section to Table A.1 or A-1?
However, the numbering A-1 shows up in my List of Tables . Did i miss out something?
How to change my Table caption numbering for Appendix section to Table A.1 or A-1?
However, the numbering A-1 shows up in my List of Tables . Did i miss out something?
image.png
image.png
You do not have the required permissions to view the files attached to this post.
-
- Posts: 703
- Joined: Wed Oct 16, 2019 3:47 pm
Re: Table caption numbering for Appendix
Post by julien_lacour »
Hello,
You're right, table and figures in appendix doesn't follow numbering rules, however you can simply fix this by adding the following rules in a custom CSS stylesheet:
I added an issue in our tracking system to add these rules in the default stylesheets.
Regards,
Julien
You're right, table and figures in appendix doesn't follow numbering rules, however you can simply fix this by adding the following rules in a custom CSS stylesheet:
Code: Select all
*[class ~= "map/map"][numbering ^= 'deep-chapter-scope'] *[class ~= "topic/topic"][topicrefclass ~= "bookmap/appendix"] *[class ~= "topic/table"] > caption > .table--title-label:after {
content: " " counter(chapter, upper-latin) "-" counter(tablecount) " ";
}
*[class ~= "map/map"][numbering ^= 'deep-chapter-scope'] *[class ~= "topic/topic"][topicrefclass ~= "bookmap/appendix"] *[class ~= "topic/fig"] > figcaption > .fig--title-label:after {
content: " " counter(chapter, upper-latin) "-" counter(figcount) " ";
}
Regards,
Julien
-
- Posts: 10
- Joined: Wed Aug 06, 2025 9:31 am
Return to “DITA (Editing and Publishing DITA Content)”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service