[...]
> Now I'm lost. Maybe I'll put my question different: 1. I know that
> macros are intended for output markup. 2. I assume standard markup
> templates (strong, em, etc.) for different backends must be already
> defined somewhere. 3. How do use these existing templates in a user
> macro without rewriting them from scratch again like I did in the
> example.

Taking each of your points in turn.

1. Yes, correct

2. The tags that define markup for quotes are indeed defined in each
backend.  But as tags for quotes, not as inline macros. (see the
description of the [quotes] and [tags] sections)

3. Because tags are not macros they can't be used as such in macro
expansions.  I'm afraid you will have to define your own inline macros
from scratch for these markups if you want to avoid putting specific
markup in the template.  This is not usually a problem since the
system markup templates are in backend specific configuration files,
so they have the markup in the template.  You could do the same.

And a correction to the previous reply, I was too restrictive, you
indeed can use inline macros in inline macros so what you are doing is
ok, but not for block macros.

Cheers
Lex

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

Reply via email to