It could be done using JavaScript just like it is for footnotes and the toc.

It can't be done by the AsciiDoc processor since it is streaming the
document and does not have a full view of where all the references are.

-Dan

--
Sent from my CyanogenMod-powered
Android device, an open platform for
carriers, developers and consumers.
On Jan 28, 2013 5:07 PM, "Hongli Lai" <[email protected]> wrote:

> I'm writing a book which contains texts such as:
>
> "Chapter 3.2 covers installation in detail."
>
> I'd like to have a macro which can output "3.2" for me automatically.
> Latex can do this with \ref{} but it seems Asciidoc only supports
> hyperlinks with static captions right now. Could you add this feature?
>
> --
> You received this message because you are subscribed to the Google Groups
> "asciidoc" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> Visit this group at http://groups.google.com/group/asciidoc?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"asciidoc" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/asciidoc?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to