emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Tyler Smith <tyler@plantarum.ca>
To: emacs-orgmode@gnu.org
Subject: Can't export two figures in one document to odt
Date: Tue, 5 Nov 2013 10:57:19 -0500	[thread overview]
Message-ID: <CADkt+ZuOkXFRxgxyKuXCAaUpz95+ESRiV0o8cZnR9rw9VxBeyQ@mail.gmail.com> (raw)

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	other threads:[~2013-11-05 15:57 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-05 15:57 Tyler Smith [this message]
2013-11-05 18:03 ` Can't export two figures in one document to odt Christian Moe
2013-11-07 16:46   ` Tyler Smith

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CADkt+ZuOkXFRxgxyKuXCAaUpz95+ESRiV0o8cZnR9rw9VxBeyQ@mail.gmail.com \
    --to=tyler@plantarum.ca \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).