From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christian Moe Subject: Re: Can't export two figures in one document to odt Date: Tue, 05 Nov 2013 19:03:46 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40671) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VdktO-0004KG-Jy for emacs-orgmode@gnu.org; Tue, 05 Nov 2013 12:58:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VdktE-0001LH-Vh for emacs-orgmode@gnu.org; Tue, 05 Nov 2013 12:58:18 -0500 Received: from mail-forward5.uio.no ([2001:700:100:10::37]:58428) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VdktE-0001GJ-Kb for emacs-orgmode@gnu.org; Tue, 05 Nov 2013 12:58:08 -0500 Received: from exim by mail-out5.uio.no with local-bsmtp (Exim 4.80.1) (envelope-from ) id 1Vdksc-00054K-OA for emacs-orgmode@gnu.org; Tue, 05 Nov 2013 18:57:30 +0100 In-reply-to: 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: Tyler Smith Cc: emacs-orgmode@gnu.org 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