From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: ox-odt: List items contain body paragraphs, confusing styles Date: Sat, 19 Aug 2017 13:55:00 +0200 Message-ID: <87378nlqln.fsf@nicolasgoaziou.fr> References: <15dee1721ff.1065cbcc844521.4283798913058133@zoho.com> <877ey2p8li.fsf@nicolasgoaziou.fr> <15df361600a.dcb2427f56777.4781339305326245219@zoho.com> <87bmnclzrp.fsf@nicolasgoaziou.fr> <15dfa141138.d7a2f77770373.398406515407829618@zoho.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38839) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dj2LK-0001om-56 for emacs-orgmode@gnu.org; Sat, 19 Aug 2017 07:55:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dj2LI-0004B5-UA for emacs-orgmode@gnu.org; Sat, 19 Aug 2017 07:55:06 -0400 Received: from relay4-d.mail.gandi.net ([2001:4b98:c:538::196]:37346) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dj2LI-0004A9-O1 for emacs-orgmode@gnu.org; Sat, 19 Aug 2017 07:55:04 -0400 In-Reply-To: <15dfa141138.d7a2f77770373.398406515407829618@zoho.com> (James Harkins's message of "Sat, 19 Aug 2017 06:40:05 -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: James Harkins Cc: emacs-orgmode James Harkins writes: > ---- 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. OK. So could you tell me what should be the style name? Do we need to add it to some style file somewhere? If so, what would be its definition? Regards,