From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dirk Scharff Subject: [tables, babel] evaluate code block in table with arguments Date: Tue, 26 Jul 2011 11:12:16 +0200 Message-ID: <5F599375-0C23-4A35-B410-67FE91EBF7A4@googlemail.com> Mime-Version: 1.0 (Apple Message framework v1244.3) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([140.186.70.92]:48343) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qldge-0001v1-Ih for emacs-orgmode@gnu.org; Tue, 26 Jul 2011 05:12:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qldgd-00073y-Jy for emacs-orgmode@gnu.org; Tue, 26 Jul 2011 05:12:24 -0400 Received: from mail-ew0-f41.google.com ([209.85.215.41]:49326) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qldgd-00073q-DM for emacs-orgmode@gnu.org; Tue, 26 Jul 2011 05:12:23 -0400 Received: by ewy9 with SMTP id 9so280140ewy.0 for ; Tue, 26 Jul 2011 02:12:22 -0700 (PDT) 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 list Hi all, I want to use a code-block in a table and can't get it to work. Consider = the following example:=20 -------------------------------------------------------- #+Source: the_test #+begin_src python :var x=3D3 :results output print x #+end_src | argument | argument | result | | 1 | 1 | #ERROR | | 2 | 2 | | #+TBLFM: $2=3D$<::$3=3Dcall_the_test(x=3D$<) -------------------------------------------------------- How can I address the the argument on the left hand side of the table = while calling a code block? If I do it like shown in the example (column = 2) I get the following error: "reference '$<' not found in this buffer". Isn't this possible in org-mode or am I doing something wrong? Regards, Dirk.=