From mboxrd@z Thu Jan 1 00:00:00 1970 From: Enrico Scholz 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 Message-ID: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50348) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VnXE6-0000Jd-3J for emacs-orgmode@gnu.org; Mon, 02 Dec 2013 12:24:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VnXE0-0000C7-L3 for emacs-orgmode@gnu.org; Mon, 02 Dec 2013 12:24:06 -0500 Received: from mail.cvg.de ([62.153.82.30]:41857) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VnXE0-0008E1-75 for emacs-orgmode@gnu.org; Mon, 02 Dec 2013 12:24:00 -0500 Received: from mail.cvg.de (mail.cvg.de [62.153.82.30]) by mailout-1.intern.sigma-chemnitz.de (8.14.4/8.14.4) with ESMTP id rB2HN93E011010 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 2 Dec 2013 18:23:13 +0100 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: emacs-orgmode@gnu.org 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/)