Ah, thanks, Lex. Good to know. From my reading and experiments I had thought as much, but to know for sure is good.
Cheers, Barry On Friday, January 25, 2013 7:06:23 PM UTC+8, Lex Trotman wrote: > > On 25 January 2013 21:31, Barry Arthur <[email protected] <javascript:>> > wrote: > > Is this possible? I want to have a line in my file that reads: > > > > function::(foo bar [baz])[] > > > > and have it result in: > > > > ==== foo ==== > > > > *syntax:* (foo _bar_ [_baz_]) > > > > such that it *then* gets evaluated by asciidoc and generates the > expected > > output. > > Hi Barry, > > Ahh, not really built into Asciidoc. The Asciidoc macro system is > designed as what I call "output" macros, ie they translate into > output, not into input that is then processed by Asciidoc. > > This is because Asciidoc was born on Linux where there are many ways > of doing input macro expansion already available, Python, m4, awk, sed > even cpp, and so adding another was considered by the Asciidoc > developer to be unnecessary extra work detracting from the main job of > Asciidoc, generating markup. > > So you can instead use whatever such system that you are most > comfortable with to generate the Asciidoc input. > > Cheers > Lex > > > > > -- > > 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] <javascript:>. > > To post to this group, send email to [email protected]<javascript:>. > > > Visit this group at http://groups.google.com/group/asciidoc?hl=en. > > For more options, visit https://groups.google.com/groups/opt_out. > > > > > -- 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 http://groups.google.com/group/asciidoc?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
