Re: How to reference item by number in autogenerated ordered list?
Posted by
jtkorb on
Oct 05, 2018; 1:20pm
URL: https://discuss.asciidoctor.org/How-to-reference-item-by-number-in-autogenerated-ordered-list-tp6447p6500.html
Thanks! That works (but, yes, a bit cumbersome).
Tim
On Thu, Oct 4, 2018 at 1:46 AM Andrew Carver [via Asciidoctor :: Discussion] <
[hidden email]> wrote:
This is somewhat verbose, but it works:
. {counter2:inum}Here is the first item.
. {counter2:inum}This is the second one.
. [[thisone,{counter:inum}]]This is the referenced item.
. And a final item.
Which one is xref:thisone[{inum}]?
For some reason, I had to use the xref:[] form of cross-reference to make it work.
To unsubscribe from How to reference item by number in autogenerated ordered list?,
click here.
NAML