From mboxrd@z Thu Jan 1 00:00:00 1970 From: James Harkins Subject: Re: ox-odt: List items contain body paragraphs, confusing styles Date: Sat, 19 Aug 2017 06:40:05 -0400 Message-ID: <15dfa141138.d7a2f77770373.398406515407829618@zoho.com> References: <15dee1721ff.1065cbcc844521.4283798913058133@zoho.com> <877ey2p8li.fsf@nicolasgoaziou.fr> <15df361600a.dcb2427f56777.4781339305326245219@zoho.com> <87bmnclzrp.fsf@nicolasgoaziou.fr> 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]:59634) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dj1At-0004F5-32 for emacs-orgmode@gnu.org; Sat, 19 Aug 2017 06:40:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dj1Aq-00031f-0F for emacs-orgmode@gnu.org; Sat, 19 Aug 2017 06:40:15 -0400 Received: from sender-pp-091.zoho.com ([135.84.80.236]:25148) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dj1Ap-00030b-Pw for emacs-orgmode@gnu.org; Sat, 19 Aug 2017 06:40:11 -0400 In-Reply-To: <87bmnclzrp.fsf@nicolasgoaziou.fr> 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: Nicolas Goaziou Cc: emacs-orgmode ---- On Sat, 19 Aug 2017 04:36:58 -0400 Nicolas Goaziou wrote ---- > Adding a special style to every paragraph contained in a plain list is > very easy to do. Just let me know if it happens to be the way to solve > the issue at hand. I think that is the correct solution. (Again, only one paragraph style for all list levels.) I realized just now, I couldn't reproduce the problem because I was still using the filter! I just disabled the filter, regenerated the stylesheet, and the problem reappeared. So here are steps to reproduce: 1. According to the org-manual[1], create an empty org odt document to export to ODT (creating org-specific styles). C-e o O to export and open. 2. In this document, edit "Text body" to add 0.5" of first-line indent. 3. Save the document. 4. Create a new org document including ~#+ODT_STYLES_FILE: "./ox-odt-generate-stylesheet.odt"~ (replacing with your path) and some list items. 5. C-e o O, and you'll see incorrect indentation for the list items. hjh [1] http://orgmode.org/manual/Applying-custom-styles.html#Applying-custom-styles