I've got round to answering your original question:
https://groups.google.com/group/asciidoc/browse_thread/thread/f056745c4cac07b
Cheers, Stuart
On 22/12/12 00:52, j. van den hoff wrote:
> I posted a similar question recently but either it was to stupid or
> unclear:
>
> 8<-----------------------------------------------------------------
> 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}?
> 8<-----------------------------------------------------------------
>
> the problem is, the above attribute is expanded verbatim in the running
> text, i.e. I end up
> (in the html or pdf formatted document)
> with a verbatim `K~m~' replacing the reference `{km}'. what I _actually_
> want is an expansion
> of the definition, i.e. `K' with a subscript. that's what a corresponding
> `\newcommand' in latex
> would do, of course.
>
>
> 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.