Hello, "Mark A. Hershberger" <m...@everybody.org> 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<text:list-item>\n%s\n%s" > + (format (concat "\n<text:list-item" > + (when count (concat (format " text:start-value=\"%s\"" > count))) > + ">\n%s\n%s") > contents > (if (org-element-map item 'table #'identity info 'first-match) > "</text:list-header>" 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