[GCPM(?)] In-document cross references given numbers from numbered content

Consider a paper with formulas (assume HTML), where formulas are
numbered [css3-list] and the author wants to refer to a formula
elsewhere in the document.

Necessarilly, the author will have to provide a reference to the
formula, such as by the href-attribute of the a-element. For
automatically numbered content, it would be desirable to obtain a
generated token for the associated number, to mention it in the text.

Example:

<span class="formula" id="pyth_theorem">a^2 + b^2 = c^2</span> is numbered (2.3) according
to the numering rules.

Elsewhere in the document, the author writes something like

By virtue of <a href="#pyth_theorem">formula ???</a>

CSS should allow, by one way or another, for "???" in the above example
to be replaced by the number counting the span "pyth_theorem".

Is this already foreseen somewhere in the current state of CSS3?

Received on Wednesday, 20 February 2013 14:02:02 UTC