|
| From: | Olaf.Hamann |
| Subject: | Re: [O] [babel] would like to to do simple text block expansion with parameters or multiline macro replacement text |
| Date: | Thu, 12 Apr 2012 13:04:03 +0200 |
| User-agent: | Mozilla/5.0 (Windows NT 5.0; rv:11.0) Gecko/20120327 Thunderbird/11.0.1 |
Am 07.04.2012 19:22, schrieb Olaf.Hamann:
Hello all,
Is there an easy way to do a simple text block expansion with
parameters, I mean sth like this:
#+begin_src xsl :tangle outputfile :noweb tangle
{{{gCV(argument1,param2)}}}
#+end_src
#+MACRO: gCV replacement text...
...spread over different...
...multiple lines with arguments like $1 ...
...and $2 and so on...
...
#+end_macro
I think I will try to adapt m4 as org-language so that it can be used for executing src-blocks.
That may fit my needs and #+MACRO stays good for oneline replacement
| [Prev in Thread] | Current Thread | [Next in Thread] |