On Mon, 26 Jun 2017, Nicolas Goaziou wrote:

Hello,

Giacomo M <jackja...@gmail.com> writes:

Dear all,
how can I add macro replacement support when a source block is being
tangled?

I don't think so. Macro replacement is an export feature.

If Giacomo's macros operate outside of src blocks, he could export using `org-org-export-to-org', then tangle the resulting file.

Giacomo, if you want something to operate inside of src blocks you can use noweb replacements that execute code as outlined in

        (info "(org) Noweb reference syntax")

In a way these are like macros.

HTH,

Chuck

Reply via email to