emacs-orgmode
[Top][All Lists]
Advanced

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

[O] org-babel: Evaluating code blocks with noweb references but ":noweb


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.

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"

Date: 2012-02-06 Mon

Author: yu

Org version 7.8.03 with Emacs version 23

Validate XHTML 1.0

Attachment: test.org
Description: Binary data


reply via email to

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