From mboxrd@z Thu Jan 1 00:00:00 1970 From: Enrico Scholz Subject: Re: 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: Tue, 03 Dec 2013 15:25:06 +0100 Message-ID: References: <87ob4zko8o.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40043) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VnqvL-0000qa-4F for emacs-orgmode@gnu.org; Tue, 03 Dec 2013 09:26:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VnqvG-0000Tl-Ir for emacs-orgmode@gnu.org; Tue, 03 Dec 2013 09:26:03 -0500 Received: from mail.cvg.de ([62.153.82.30]:42517) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VnqvG-0000TZ-5D for emacs-orgmode@gnu.org; Tue, 03 Dec 2013 09:25:58 -0500 In-Reply-To: (Christian Moe's message of "Tue, 03 Dec 2013 14:53:04 +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: Christian Moe Cc: emacs-orgmode@gnu.org Christian Moe writes: > It seems LibreOffice 4.1 now requires that draw:frame elements wrapping > images be uniquely named with the draw:name attribute if there's more > than one of them. > ... > So we may need a fix for the corner case of identical captions as > well. Why do we need meaningful 'draw:name' values at all? And why use the caption for it? Just adding 'draw:name="Image%u"' and incrementing the index after each use seems to be enough. Alternatively, '#+NAME:' seems to be a much better choice than #+CAPTION. Enrico