From mboxrd@z Thu Jan 1 00:00:00 1970 From: Roland Subject: Insert variable into tangled source code Date: Tue, 6 Aug 2013 13:43:05 +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]:35717) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V6hY0-0000tc-Tn for emacs-orgmode@gnu.org; Tue, 06 Aug 2013 09:43:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V6hXt-0004id-80 for emacs-orgmode@gnu.org; Tue, 06 Aug 2013 09:43:36 -0400 Received: from plane.gmane.org ([80.91.229.3]:35986) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V6hXt-0004iU-1q for emacs-orgmode@gnu.org; Tue, 06 Aug 2013 09:43:29 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1V6hXr-00009B-JY for emacs-orgmode@gnu.org; Tue, 06 Aug 2013 15:43:27 +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 15:43:27 +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 15:43:27 +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 use orgmode to write code in a IA language developped by the company I work for. Everything was just nice when I attempted to insert in the source code a value set up in my org buffer. Here is the real situation : #+TBLNAME: tab_x | x | 1 | #+begin_src own_lang :tangle ./tangle_file :var x=x[0,1] TYPE OBJ; CONSTANTE var_x DOMAIN INTEGER DEFAULT $x #+end_src and I would except in tangle_file : TYPE OBJ; CONSTANTE var_x DOMAIN INTEGER DEFAULT 1 But unfortunately, I get TYPE OBJ; CONSTANTE var_x DOMAIN INTEGER DEFAULT $x Any ideas??? Thanks in advance. Roland.