[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: noweb expansion when eval and not tangle?
From: |
Timothy |
Subject: |
Re: noweb expansion when eval and not tangle? |
Date: |
Sat, 20 Feb 2021 12:23:31 +0800 |
User-agent: |
mu4e 1.4.15; emacs 27.1 |
George Mauer <gmauer@gmail.com> writes:
> I would like noweb to expand during eval but *not* tangle. Is this possible?
>
> I realize I can achieve the same effect with multiple code blocks but it
> seems an odd asymmetry to not be able to do this directly.
>
> Is it possible and just not documented?
It is indeed, and it's documented in
https://orgmode.org/manual/Noweb-Reference-Syntax.html.
‘eval’
Expansion of noweb syntax references in the body of the code block only
before evaluating.
--
Timothy.