emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Christian Moe <mail@christianmoe.com>
To: Tyler Smith <tyler@plantarum.ca>
Cc: emacs-orgmode@gnu.org
Subject: Re: Can't export two figures in one document to odt
Date: Tue, 05 Nov 2013 19:03:46 +0100	[thread overview]
Message-ID: <m2d2mehgjh.fsf@uio.no> (raw)
In-Reply-To: <CADkt+ZuOkXFRxgxyKuXCAaUpz95+ESRiV0o8cZnR9rw9VxBeyQ@mail.gmail.com>


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

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-05 15:57 Can't export two figures in one document to odt Tyler Smith
2013-11-05 18:03 ` Christian Moe [this message]
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=m2d2mehgjh.fsf@uio.no \
    --to=mail@christianmoe.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=tyler@plantarum.ca \
    /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).