|
From: | Zack Piper |
Subject: | [O] Referring to an Org Babel variable in the invocation arguments to another Org Babel code block |
Date: | Tue, 27 Dec 2016 13:02:47 +0000 |
User-agent: | mu4e 0.9.18; emacs 26.0.50.1 |
Hi all, Hopefully the below can explain better: #+NAME: abc #+BEGIN_SRC shell :noweb yes :var a="b" :results output echo <<EOF $a 1 EOF #+END_SRC #+NAME: def #+BEGIN_SRC shell :noweb yes :var c="d" :results output echo <<EOF <<abc(c)>> 1 EOF #+END_SRC #+RESULTS: def : Pressing `C-c C-c' on the second block returns: org-babel-ref-resolve: Reference ācā not found in this buffer Org version: 9.0.3 Thanks! -- Zack Piper System administrator https://apertron.net
[Prev in Thread] | Current Thread | [Next in Thread] |