On 26 March 2013 21:58,  <[email protected]> wrote:
> Hi everyone,
>
> I tried to search the list for my problem but could not come up with any
> topic. If it already exists I apologize for spamming the list and would
> appreciate any pointers ;)
>
> Ok, my problem:
> I just realized that default captions for xref: macros do not seem to work.
> Example:
> Say I create an anchor like "[[test,default caption]]" or
> "anchor:test[default caption]". Now, if I am interpreting the manual
> (http://www.methods.co.nz/asciidoc/userguide.html#_inline_macros) correctly,
> this should result in "default caption" being displayed whenever I set a
> reference to this anchor like "<<test>>" or "xref:test[]" - which simply
> does not happen.
> If I override the caption with "<<test,another caption>>" all works as
> expected.

You don't say what backend you are using, but if it is HTML then this
sentence from your reference above explains it " The optional
<xreflabel> is only really useful when generating DocBook output. "

Cheers
Lex

>
> Am I doing something wrong here?
> FYI, I attached a test file and the corresponding result created using the
> current asciidoc.py just checked out from Mercurial. If it helps: I am
> running Ubuntu 12.10 with Python 2.7.3
>
> Thanks for any help :)
>
> --
> 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.
>
>

-- 
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