emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: James Harkins <jamshark70@zoho.com>
To: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: ox-odt: List items contain body paragraphs, confusing styles
Date: Sat, 19 Aug 2017 06:40:05 -0400	[thread overview]
Message-ID: <15dfa141138.d7a2f77770373.398406515407829618@zoho.com> (raw)
In-Reply-To: <87bmnclzrp.fsf@nicolasgoaziou.fr>

 ---- On Sat, 19 Aug 2017 04:36:58 -0400 Nicolas Goaziou <mail@nicolasgoaziou.fr> 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

  reply	other threads:[~2017-08-19 10:40 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-17  2:47 ox-odt: List items contain body paragraphs, confusing styles James Harkins
2017-08-17 14:33 ` Nicolas Goaziou
2017-08-18  3:27   ` James Harkins
2017-08-19  8:36     ` Nicolas Goaziou
2017-08-19 10:40       ` James Harkins [this message]
2017-08-19 11:55         ` Nicolas Goaziou
2017-08-20  6:10           ` James Harkins
2017-08-20 10:13             ` Nicolas Goaziou
2017-08-20 12:46               ` James Harkins

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=15dfa141138.d7a2f77770373.398406515407829618@zoho.com \
    --to=jamshark70@zoho.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=mail@nicolasgoaziou.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).