Testing :noweb
Table of Contents
1 The Task Definition
print "Hello World"
2 Trying to Evaluate for :noweb tangle results in an error message.
<<task1>>
3 With :noweb yes it works fine, but the code is exported in expanded form.
print "Hello World"
|
| From: | Yu |
| Subject: | [O] org-babel: Evaluating code blocks with noweb references but ":noweb tangle". |
| Date: | Mon, 6 Feb 2012 14:15:25 +0100 |
Hello!
I sometimes have scenarios where I want to use the "noweb" feature in
interactive evaluation, but want the code to stay in its unexpanded
form on export. Currently I think, there is no way to achieve this and
I use tangling into a helper module file as a workaround (which is
reasonable for python anyway though).
Thus I'd appreciate a new option for the :noweb header argument; Sort
of an "in between" of ":noweb tangle" and ":noweb yes" ("expand noweb
references always except for exporting").
kind regards, Yu
PS: I have added example files to the email.
print "Hello World"
<<task1>>
print "Hello World"
test.org
Description: Binary data
| [Prev in Thread] | Current Thread | [Next in Thread] |