emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* How to pass named table reference in source block variable
@ 2013-08-06 21:31 Roland Donat
  2013-08-06 22:22 ` Thorsten Jolitz
  0 siblings, 1 reply; 10+ messages in thread
From: Roland Donat @ 2013-08-06 21:31 UTC (permalink / raw)
  To: emacs-orgmode

Hello,

I have the following table :
#+TBLNAME: T
|   | x | 1     |
| ^ |   | varx  |

And I would like to use the reference T$var_x (=1) as input in a source block 
variable. 
For example, I would have expected the following behavior for this source 
code :
#+begin_src python :var x=T$varx  :return x
x
#+end_src

#+RESULTS:
: 1

But instead, I get the emacs message : org-babel-ref-resolve: Reference 
'T$varx' not found in this
buffer

Any idea to produce the desired result would be much appreciated!

Thanks you in advance.

Roland.
 

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2013-08-08 15:42 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-08-06 21:31 How to pass named table reference in source block variable Roland Donat
2013-08-06 22:22 ` Thorsten Jolitz
2013-08-06 22:27   ` Nick Dokos
2013-08-07  8:28   ` Roland Donat
2013-08-07 15:29     ` Thomas S. Dye
2013-08-07 20:06       ` Roland Donat
2013-08-07 21:53         ` Thomas S. Dye
2013-08-08  7:55           ` Roland Donat
2013-08-08 15:10             ` Eric Schulte
2013-08-08 15:42               ` Roland Donat

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).