From: James Harkins <jamshark70@zoho.com>
To: Nicolas Goaziou <mail@nicolasgoaziou.fr>,
emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: ox-odt: List items contain body paragraphs, confusing styles
Date: Thu, 17 Aug 2017 23:27:11 -0400 [thread overview]
Message-ID: <15df361600a.dcb2427f56777.4781339305326245219@zoho.com> (raw)
In-Reply-To: <877ey2p8li.fsf@nicolasgoaziou.fr>
---- On Thu, 17 Aug 2017 10:33:29 -0400 Nicolas Goaziou <mail@nicolasgoaziou.fr> wrote ----
> So, what style-name should have the inner paragraph? If it is a new
> style, what would be its definition?
>
> It's not difficult to check, upon exporting a paragraph, if it belongs
> to a list item or not: (org-element-lineage paragraph '(item))
>
> BTW, is it different for nested paragraphs, e.g., what should be the
> style for the following 3 paragraphs:
>
> - para 1
>
> para 2
>
> - para 3
Hm. Good question.
I'm going to admit to a bit of frustration now... after about 45 minutes poking around in XML, I did a fresh ox-odt test with a fresh style sheet, and I can't reproduce the problem. !!! Hours, over the last two days, wasted.
So I must have done something funky to that initial stylesheet. (WYSIWYG tools, who knows what it could be. Really teed off at that journal for not allowing LaTeX.)
So I would say, postpone this issue unless I can gather more evidence.
A short answer to your questions is that every list item does consist of paragraphs, and each paragraph must have a paragraph style, but -- the paragraph style can be the same one, even at different list levels. There is no need for a different paragraph style for each list level, and you don't have to do anything special for multiple paragraphs within a list item.
hjh
next prev parent reply other threads:[~2017-08-18 3:27 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 [this message]
2017-08-19 8:36 ` Nicolas Goaziou
2017-08-19 10:40 ` James Harkins
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=15df361600a.dcb2427f56777.4781339305326245219@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).