On 21 December 2016 at 20:29, Svenn Are Bjerkem <[email protected]> wrote: > Hi I am trying to put a reference link in a quote block > > ---- 8< ---- > A list of reference documents > > * [[pg054,pg054]]pg054: http://link.to/document.pdf > > [quote, page 134, <<pg054>>]
To have macro expansion happen in attributes you need to enclose them in single quotes, see http://asciidoc.org/userguide.html#_attribute_value_substitution. > ____ > This text is copy-pasted from the document in the reference. > To see the whole context, it would be nice to be able to > click on the link in the quote site, but the way it is done here > only show <> > ____ > > > "The alternative way with using > apostrophes to create the same reference > also only show <>" > -- page 134, <<pg054>> This works for me, as in, the macro gets processed into [pg054] as the text for a href entity, ie a link. Cheers Lex > > ---- >8 ---- > > How, if possible, should I proceed to have a click-able link in the quote > block cite reference? > > -- > Svenn > > -- > 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 https://groups.google.com/group/asciidoc. > For more options, visit https://groups.google.com/d/optout. -- 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 https://groups.google.com/group/asciidoc. For more options, visit https://groups.google.com/d/optout.
