From mboxrd@z Thu Jan 1 00:00:00 1970 From: Giorgio Valoti Subject: Include files to be used in literate programming Date: Sun, 12 Sep 2010 19:02:18 +0200 Message-ID: <4A6B29B6-07EA-46F0-99E9-718F93DAE558@me.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=52453 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Oupwg-0005Ap-8M for emacs-orgmode@gnu.org; Sun, 12 Sep 2010 13:02:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Oupwf-0003HQ-1F for emacs-orgmode@gnu.org; Sun, 12 Sep 2010 13:02:26 -0400 Received: from asmtpout025.mac.com ([17.148.16.100]:38395) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Oupwe-0003HE-TU for emacs-orgmode@gnu.org; Sun, 12 Sep 2010 13:02:25 -0400 Received: from calcabrina.refactor.it (93-62-99-244.ip22.fastwebnet.it [93.62.99.244]) by asmtp025.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTPSA id <0L8N00AX58NVBG30@asmtp025.mac.com> for emacs-orgmode@gnu.org; Sun, 12 Sep 2010 10:02:23 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hi all, I=92ve just switched from OmniFocus and began using Org mode. But I also = discovered that it can be used for literate programming and I=92d like = to ask if is there a way to use an included file in the tangling phase. = In other words, I have a file which includes a commons.org file, like = this: =3D=3D=3D commons.org contents =3D=3D=3D * Variabili comuni :PROPERTIES: :END: #+SRCNAME: entity-name #+BEGIN_SRC :noweb yes nome_tabella #+END_SRC =3D=3D=3D main.org contents =3D=3D=3D #+INCLUDE: "commons.org" * Sezione in SQL :PROPERTIES: :END: #+SRCNAME: sql-module #+BEGIN_SRC sql :tangle module.sql :noweb yes select * from table <>; #+END_SRC <> should come from the commons but it=92s not. Is there a way to expand values from included files? Thank you in advance. -- Giorgio Valoti