emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Can't export two figures in one document to odt


From: Christian Moe
Subject: Re: [O] Can't export two figures in one document to odt
Date: Tue, 05 Nov 2013 19:03:46 +0100
User-agent: mu4e 0.9.9.5-dev6; emacs 24.3.1

Hi,

I cannot reproduce this bug. I copy-pasted the below code, exported from
Org 8.2.1 and opened the expected two-figure document in LibreOffice
4.0.4.2.
 
Does this happen with emacs -Q ?

What do you see if you open up the content.xml of the .odt document?

Yours,
Christian Moe


Tyler Smith writes:

> Hi,
>
> I'm new to org-babel, and having trouble with exporting to .odt. The
> following file works. I can export to .odt no problem, the figure
> shows up as expected:
>
> +-----------
> #+PROPERTY: header-args:R  :session rTest
>
> #+BEGIN_SRC R :results graphics :file test1.jpg :exports both
>
>   plot(1:10)
>
> #+END_SRC
>
> #+RESULTS:
> [[file:test1.jpg]]
> +-----------
>
> But if I add a second figure, and try to export to .odt, I get a
> "Read-Error. Error reading file." error from LibreOffice. I can export
> to pdf no problem. Here's the problem file:
>
> +-----------
> #+PROPERTY: header-args:R  :session rTest
>
> #+BEGIN_SRC R :results graphics :file test1.jpg :exports both
>
>   plot(1:10)
>
> #+END_SRC
>
> #+RESULTS:
> [[file:test1.jpg]]
>
> #+BEGIN_SRC R :results graphics :file test2.jpg :exports both
>
> plot(10:1)
>
> #+END_SRC
>
> #+RESULTS:
> [[file:test2.jpg]]
>
> +------------------
>
> Thanks,
>
> Tyler
>
> Emacs 24.3.50.1
> Org-mode 8.2.1
> Debian Linux
> LibreOffice 4.1.3.2




reply via email to

[Prev in Thread] Current Thread [Next in Thread]