Hi, I have this minimal asciidoc.conf:
----8<----
[macros]
(?su)(?P<name>longtxt):(?P<target>[^:]+):=
(?su)(?P<name>strong|em):(?P<target>[^:]+):=
# for DocBook
ifdef::backend-docbook[]
[strong-inlinemacro]
<emphasis role="strong">{target}</emphasis>
[em-inlinemacro]
<emphasis>{target}</emphasis>
endif::backend-docbook[]
# for HTML
ifdef::backend-xhtml11[]
[strong-inlinemacro]
<{name}>{target}</{name}>
[em-inlinemacro]
<{name}>{target}</{name}>
endif::backend-xhtml11[]
[longtxt-inlinemacro]
# this does not work: **The quick brown fox** jumps over __{target}__
strong:The quick brown fox: jumps over em:{target}:
----8<----
The longtext macro is invoked like this: longtxt:the lazy dog:
Since markup does not work inside the macros I wonder if it is
possible to access the standard tags without defining the extra
definitions strong:: and em::?
cheers,
recryn
--
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.