[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Orgmode] Re: [org-babel] :no-expand header expands noweb refs
From: |
aditya siram |
Subject: |
[Orgmode] Re: [org-babel] :no-expand header expands noweb refs |
Date: |
Tue, 5 Oct 2010 22:38:36 -0500 |
It appears I misread the manual. 'no-expand' works only for tangling -
but my original question stands. Is there a header that provides this
feature for weaving with links to the chunk like a noweb document?
-deech
On Tue, Oct 5, 2010 at 10:12 PM, aditya siram <address@hidden> wrote:
> Hi all,
> I may have understood the :no-expand header incorrectly, but I thought
> it suppressed expanding noweb references while exporting but seems to
> expand them.
> For example I have an org file that looks like this (simplified) :
> * Root
> #+begin_src fundamental :noweb yes :no-expand :tangle Root.txt
> <<Chunk1>>
> <<Chunk2>>
> #+end_src
> * Chunk 1
> #+source: Chunk1
> #+begin_src fundamental
> code for chunk 1
> #+end_src
> * Chunk 2
> #+source: Chunk2
> #+begin_src fundamental
> code for chunk 2
> #+end_src
>
> When I 'org-export-as-ascii-to-buffer' I expect this :
> Root
> ====
>
> Table of Contents
> =================
> ....
>
> 1 Root
> ~~~~~~~
> <<Chunk1>>
> <<Chunk2>>
> ...
>
> But I get this:
> Root
> ====
>
> Table of Contents
> =================
> 1 Root
> 2 ...
>
>
> 1 Root
> ~~~~~~~
>
> code for chunk 1
> code for chunk 2
> ...
>
>
> Thanks for the help!
> -deech
>