From mboxrd@z Thu Jan 1 00:00:00 1970 From: James Harkins Subject: Flattening references in ODT export Date: Fri, 08 Sep 2017 23:52:33 -0400 Message-ID: <15e64c481f0.d05cb2d55607.5349430882435325093@zoho.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53290) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dqWoy-0003Ux-Pg for emacs-orgmode@gnu.org; Fri, 08 Sep 2017 23:52:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dqWov-0002eh-Jv for emacs-orgmode@gnu.org; Fri, 08 Sep 2017 23:52:40 -0400 Received: from sender-pp-091.zoho.com ([135.84.80.236]:25059) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dqWov-0002dR-BF for emacs-orgmode@gnu.org; Fri, 08 Sep 2017 23:52:37 -0400 In-Reply-To: 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" To: emacs-orgmode Hi, Is there a way to have "figure" references in ODT exports be simply a flat list? Meaning -- I would like "Example 1," "Example 2," etc. (or "Figure," doesn't really matter). With "num:nil," "Listing 1," "Listing 2," "Listing 3," but there is also a figure, which becomes "Figure 1." So there's a listing and a figure with the same index number. Hm. I am pretty sure this will not satisfy the journal's style requirements. It seems there is some customizability here[1], but which predicate should I use in place of org-odt--enumerable-image-p for listings? I'm willing to avoid SRC blocks if that will help. Also, it may not help to wrap all of these entities in FIGURE blocks, because I found (the hard way) ODT export fails if an image is inside a figure block. Thanks, hjh [1] http://orgmode.org/manual/Labels-and-captions-in-ODT-export.html#Labels-and-captions-in-ODT-export