From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Leha Subject: new exporter: exporting subtree with "outside calls" Date: Thu, 22 Mar 2012 15:17:59 +0100 Message-ID: <87obropvmw.fsf@med.uni-goettingen.de> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:35351) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SAiqk-000661-0f for emacs-orgmode@gnu.org; Thu, 22 Mar 2012 10:18:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SAiqd-000530-HH for emacs-orgmode@gnu.org; Thu, 22 Mar 2012 10:18:45 -0400 Received: from plane.gmane.org ([80.91.229.3]:41301) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SAiqd-00052p-AM for emacs-orgmode@gnu.org; Thu, 22 Mar 2012 10:18:39 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1SAiqa-0005fP-75 for emacs-orgmode@gnu.org; Thu, 22 Mar 2012 15:18:36 +0100 Received: from genepi110.genepi.med.uni-goettingen.de ([134.76.140.110]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 22 Mar 2012 15:18:36 +0100 Received: from andreas.leha by genepi110.genepi.med.uni-goettingen.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 22 Mar 2012 15:18:36 +0100 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 all, I experience problems with the new export engine (accessible via org-export-dispatch). When I limit the export to the current subtree, the export fails with ,---- | if: reference 'foo' not found in this buffer `---- when 'foo' is the name of a source block defined outside of that subtree but called inside. Here is an example: How do I export the first subtree only with the new exporter? ,----[ test.org ] | #+PROPERTY: session *R:2* | | | * Test new LaTeX exporter | #+call: data_generation() :results silent :exports none | | The plot looks like this: | #+begin_src R :results graphics :file test.png :exports results | plot(x) | #+end_src | | #+results: | [[file:test.png]] | | | | * Generate the data :noexport: | #+name: data_generation | #+begin_src R | x <- rnorm(10) | #+end_src `---- Best, Andreas