From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: =?UTF-8?B?UmU6IEJ1Zzogb3gtb2R0LmVsIHNob3VsZCBzdXBwb3J0IHRleHQ6?= =?UTF-8?B?c3RhcnQtdmFsdWUgWzkuMS4xNCAoOS4xLjE0LTctZzAxYzQxOS1lbHBhcGx1?= =?UTF-8?B?cyBAIOKApi9vcmctcGx1cy1jb250cmliLTIwMTgxMDE1Lyld?= Date: Fri, 19 Oct 2018 00:19:26 +0200 Message-ID: <87va5y6gpd.fsf@nicolasgoaziou.fr> References: <87r2gom1qx.fsf@everybody.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59353) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gDGdt-00049S-A2 for emacs-orgmode@gnu.org; Thu, 18 Oct 2018 18:19:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gDGdp-0003Rm-4N for emacs-orgmode@gnu.org; Thu, 18 Oct 2018 18:19:45 -0400 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:37091) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gDGdo-00037e-Or for emacs-orgmode@gnu.org; Thu, 18 Oct 2018 18:19:40 -0400 In-Reply-To: <87r2gom1qx.fsf@everybody.org> (Mark A. Hershberger's message of "Wed, 17 Oct 2018 22:23:34 -0400") 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: "Mark A. Hershberger" Cc: emacs-orgmode@gnu.org Hello, "Mark A. Hershberger" writes: > Working code changes: > > diff -ub org-plus-contrib-20181008/ox-odt.el\~ org-plus-contrib-20181008/ox-odt.el > --- org-plus-contrib-20181008/ox-odt.el~ 2018-10-12 19:13:13.095335320 -0400 > +++ org-plus-contrib-20181008/ox-odt.el 2018-10-17 22:10:30.194483160 -0400 > @@ -1966,10 +1966,13 @@ > CONTENTS holds the contents of the item. INFO is a plist holding > contextual information." > (let* ((plain-list (org-export-get-parent item)) > + (count (org-element-property :counter item)) > (type (org-element-property :type plain-list))) > (unless (memq type '(ordered unordered descriptive-1 descriptive-2)) > (error "Unknown list type: %S" type)) > - (format "\n\n%s\n%s" > + (format (concat "\n + (when count (concat (format " text:start-value=\"%s\"" count))) > + ">\n%s\n%s") > contents > (if (org-element-map item 'table #'identity info 'first-match) > "" Thank you. Could you provide a patch using git format-patch, with a proper commit message? Also, if you haven't signed FSF papers, please add TINYCHANGE at the end of the commit message. Regards, -- Nicolas Goaziou