Would it make sense to add ``reference`` to the standard roles?
Motivating example: I would like to produce a ``figure-ref`` role
to link to figures with a ``name`` class; I imagine
that this would subclass reference but would be styled differently.
For example, for an HTML writer, as ``target-counter()`` becomes available,
it would make use of the counter.
Related aside: the ``rst2latex`` writer needs to move the figure label
to *after* the caption, otherwise ``--reference-label=ref``
does not work correctly (i.e., does not produce the figure number).
Alan Isaac
|