[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] new exporter: exporting subtree with "outside calls"
From: |
Andreas Leha |
Subject: |
[O] new exporter: exporting subtree with "outside calls" |
Date: |
Thu, 22 Mar 2012 15:17:59 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.94 (gnu/linux) |
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
- [O] new exporter: exporting subtree with "outside calls",
Andreas Leha <=