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
Hello,
Andreas Leha <andreas.leha@med.uni-goettingen.de> writes:
> 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?
You can't, but that's a bug. I have pushed a commit that should fix that
problem. May you confirm this?
Regards,
--
Nicolas Goaziou
Nicolas Goaziou <n.goaziou@gmail.com> writes:
> Hello,
>
> Andreas Leha <andreas.leha@med.uni-goettingen.de> writes:
>
>> 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?
>
> You can't, but that's a bug. I have pushed a commit that should fix that
> problem. May you confirm this?
>
>
> Regards,
Hi Nicolas,
thanks for the quick fix. I can confirm, that it is working for me now.
Cheers,
Andreas