emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
To: emacs-orgmode@gnu.org
Subject: Bug: Bad ODT files when including multiple images [7.9.3f (release_7.9.3f-17-g7524ef @ /usr/share/emacs/24.3/lisp/org/)]
Date: Mon, 02 Dec 2013 18:22:59 +0100	[thread overview]
Message-ID: <lyd2lfw4jw.fsf@ensc-virt.intern.sigma-chemnitz.de> (raw)

Hi,

org-mode generates ODT files which can not be opened by libreoffice-4.1.3.2
when more than one image is included. E.g. running (org-export-as-odt) on

---- test.org ---
* Test

[[file:s01.png]]

[[file:s01.png]]
-----

and trying to open it with 'oowrite test.odt' gives a "Read-Error/Error
reading file" message.  ODT created after removing one of the images is
ok.

It seems that libreoffice requires an unique 'draw:name' attribute for
'draw:frame' tags.  This can be set by '#+CAPTION' (and the resulting
ODT is working) but this option is not suitable for inline images.



Enrico


Emacs  : GNU Emacs 24.3.1 (x86_64-redhat-linux-gnu, GTK+ Version 2.24.19)
 of 2013-08-19 on koji-builder0.intern.sigma-chemnitz.de
Package: Org-mode version 7.9.3f (release_7.9.3f-17-g7524ef @ /usr/share/emacs/24.3/lisp/org/)

             reply	other threads:[~2013-12-02 17:24 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-02 17:22 Enrico Scholz [this message]
2013-12-02 20:10 ` Bug: Bad ODT files when including multiple images [7.9.3f (release_7.9.3f-17-g7524ef @ /usr/share/emacs/24.3/lisp/org/)] Jambunathan K
2013-12-02 23:54   ` Enrico Scholz
2013-12-03 11:06   ` Enrico Scholz
2013-12-03 13:53     ` Christian Moe
2013-12-03 14:25       ` Enrico Scholz
2013-12-03 14:41         ` Christian Moe
2013-12-03 15:47       ` Jambunathan K
2013-12-17 14:04         ` Tim
2013-12-17 18:46           ` Jambunathan K
2013-12-17 19:28             ` Tim

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=lyd2lfw4jw.fsf@ensc-virt.intern.sigma-chemnitz.de \
    --to=enrico.scholz@sigma-chemnitz.de \
    --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).