From mboxrd@z Thu Jan 1 00:00:00 1970 From: Giorgio Valoti Subject: Link to original Org file with batch mode Date: Mon, 04 Jul 2011 06:58:11 +0200 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; CHARSET=US-ASCII Content-Transfer-Encoding: 7BIT Return-path: Received: from eggs.gnu.org ([140.186.70.92]:49426) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QdbF6-0003Cs-EQ for emacs-orgmode@gnu.org; Mon, 04 Jul 2011 00:58:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QdbF4-00030e-6C for emacs-orgmode@gnu.org; Mon, 04 Jul 2011 00:58:43 -0400 Received: from asmtpout020.mac.com ([17.148.16.95]:32997) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QdbF3-0002zq-RW for emacs-orgmode@gnu.org; Mon, 04 Jul 2011 00:58:42 -0400 Received: from [192.168.1.112] ([93.62.99.244]) by asmtp020.mac.com (Oracle Communications Messaging Exchange Server 7u4-20.01 64bit (built Nov 21 2010)) with ESMTPSA id <0LNS00EICLSZVE10@asmtp020.mac.com> for emacs-orgmode@gnu.org; Sun, 03 Jul 2011 21:58:14 -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@gnu.org Hi, when I try to tangle files in batch mode, using a command like this: emacs -batch ~/Developer/PROJECTS/gmp/project.org --eval="(org-babel-tangle)" the resulting files do not have links to the original file, i.e.: while if I tangle from emacs I get this, as expected: Is there a way to generate links in batch mode? Or perhaps should I use a different way to invoke tangling from the command line? Thank you in advance -- Giorgio Valoti