I'm working with DITA content that has lots of nested lists and those lists use custom numbering styles, as well as the occasional numbering reset (handled by setting the "start" attribute in HTML). I'm able to handle this fine in HTML and PDF output .. but it would be nice to also show all of this in the Author view in Oxygen. I'm good with the numbering styles, but the numbering reset (start) isn't going well. As far as I can tell, the "right" way to deal with this is to use the counter-reset and counter-increment CSS properties and to use the counter function in a content property (li:before). I can get this to work to some degree, but it's absurdly complicated, since you're no longer relying on the native numbering (style and incrementing) .. you have to recreate this for all possible cases. If there was a CSS "start" property, this would just work .. no? Yes. I know that "start" is a hack and was booted from HTML4 .. but it's back in HTML5. Yes. I know that in a perfect world, the start attribute shouldn't be needed .. but in reality, it is. I'm setting this in DITA as .. ol/@outputclass='start(n)' .. it's all "good" except that I can't get this to render in Oxygen. Is there some special Oxy-function that I'm missing? Any thoughts on how to address this? Thanks! Scott
participants (1)
-
Scott Prentice