In the chemical literature structure images are usually labelled with numbers according to the appearance in the text independently of figures. These numbers are then used to refer to the chemicals. Please point me to instructions how to do this numbering (automatically, not with predefined numbers). I have google for "chemical", "numbering", "count", "docbook", "xml" but did not get reasonable results. This numbering works flawlessly in LaTeX with appropriate packages.
Asked
Active
Viewed 127 times
1
-
1I assume that docbook provide the number of the `figure` elements authomatically. see http://tdg.docbook.org/tdg/5.0/figure.html – Loic Mouchard Jul 28 '17 at 08:36
-
1It is not clear what the actual, reproducible problem is. What numbering do you get now? Is "chemistry" really a relevant tag here? – mzjn Jul 28 '17 at 09:47
-
1"DocBook XSL: The Complete Guide" has a lot of information about numbering. See the "numbering" index entry here: http://www.sagehill.net/docbookxsl/bookindex.html. – mzjn Jul 28 '17 at 10:01
-
I would like to have a counter for Chemical Structure, independent of figure numbering. We should define a figure-like Structures being counted separately from figures and refer to the xml:id of these structures to derive the Structure number. This is not covered (AFAICS) by the cited documentation. – Bernhard Kleine Jul 29 '17 at 14:23