From mboxrd@z Thu Jan 1 00:00:00 1970 From: Roland Donat Subject: How to pass named table reference in source block variable Date: Tue, 6 Aug 2013 21:31:55 +0000 (UTC) Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33227) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V6orh-00019w-Ol for emacs-orgmode@gnu.org; Tue, 06 Aug 2013 17:32:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V6ora-0002Lk-Fm for emacs-orgmode@gnu.org; Tue, 06 Aug 2013 17:32:25 -0400 Received: from plane.gmane.org ([80.91.229.3]:45828) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V6ora-0002Le-8o for emacs-orgmode@gnu.org; Tue, 06 Aug 2013 17:32:18 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1V6orV-0000O5-De for emacs-orgmode@gnu.org; Tue, 06 Aug 2013 23:32:13 +0200 Received: from mar92-18-78-239-131-140.fbx.proxad.net ([78.239.131.140]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 06 Aug 2013 23:32:13 +0200 Received: from roland.donat by mar92-18-78-239-131-140.fbx.proxad.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 06 Aug 2013 23:32:13 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org 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.