On 14/12/12 06:35, j. van den hoff wrote:
> is there a way to make an attribute definition like
>
> :km: K~m~
>
> be expanded correctly (i.e. with a `m' subcript) if referenced somewhere
> in the text via {km}?
Good question, attribute references get substituted after quotes which
is the reason it's not working, a work-around is to use the passthrough
macro:
:km: pass:[K<sub>m</sub>]
It's a bit ugly and it's backend dependent but it does work.
Cheers, Stuart
>
> thanks
> joerg
>
--
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].
For more options, visit this group at
http://groups.google.com/group/asciidoc?hl=en.