emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Replace macros on tangle


From: Charles C. Berry
Subject: Re: [O] Replace macros on tangle
Date: Mon, 26 Jun 2017 10:06:44 -0700
User-agent: Alpine 2.20 (OSX 67 2015-01-07)

On Mon, 26 Jun 2017, Nicolas Goaziou wrote:

Hello,

Giacomo M <address@hidden> 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

[Prev in Thread] Current Thread [Next in Thread]