[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Text preceding noweb references is duplicated
From: |
Ihor Radchenko |
Subject: |
Re: Text preceding noweb references is duplicated |
Date: |
Sun, 22 Dec 2024 11:32:33 +0000 |
8dcc <8dcc.git@gmail.com> writes:
> Paragraph zero...
> #+begin_src scheme :tangle org-output.scm :noweb yes
> (list <<my-list-item>>)
>...
> After calling `org-babel-tangle', the contents of 'org-output.scm' are:
>
> (list (+ 1 2)
> (list (+ 3 4)
> (list (+ 5 6))
>
> Notice how all lines start with '(list', while only the last line
> contains the closing parentheses.
> ...
> Although the current Org behavior can be useful in some situations, I
> would like to know if it's intentional before using it, and, in that
> case, if it's documented anywhere in the manual.
Yes, it is intentional.
See https://orgmode.org/manual/Noweb-Reference-Syntax.html
Search for "prefix".
Also, see :noweb-prefix header argument.
--
Ihor Radchenko // yantar92,
Org mode maintainer,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: Text preceding noweb references is duplicated,
Ihor Radchenko <=