I'm using a dita-css-pdf transformation (deprecated) and dita bookmap.
I want the application to look like "A Appendix title 1", "B Appendix title 2"
How to customize the appendix titles in toc and in content?
Code: Select all
*[class ~= "map/map"] {
counter-reset: page 1
toc-appendixcount 0
appendixcount 0;
}
*[class ~= "bookmap/appendix"] *[class ~= "map/topicref"] {
counter-increment:toc-appendixcount;
}
*[class ~= "bookmap/appendix"] *[class ~= "map/topicref"] > *[class ~= "map/topicmeta"]:before {
content: counter(toc-appendixcount, upper-alpha) " ";
}
*[class ~= "bookmap/appendix"] > *[class ~= "topic/topic"]{
counter-increment:appendixcount;
}
*[class ~= "bookmap/appendix"] > *[class ~= "topic/topic"] > *[class ~= "topic/title"]:before {
content: counter(appendixcount, upper-alpha) " ";
}