Re: [O] ox-odt: List items contain body paragraphs, confusing styles

2017-08-20 Thread James Harkins
On August 20, 2017 18:13:13 Nicolas Goaziou wrote: Out of curiosity, instead of creating a new style, wouldn't some standard style be enough, e.g., "Text_20_body_20_indent"? Also, what happens in the following cases - ... #+begin_quote Quoted paragraph #+end_quote

Re: [O] ox-odt: List items contain body paragraphs, confusing styles

2017-08-20 Thread Nicolas Goaziou
Hello, James Harkins writes: > OK, I just got the expected output by the following: > > - Add "OrgListTextBody" to the stylesheet. I didn't try to do it directly in > text (I don't know ODT XML that well). I created the style with that name in > LO, setting the indent parameters to 0. That gav

Re: [O] ox-odt: List items contain body paragraphs, confusing styles

2017-08-19 Thread James Harkins
On Sat, 19 Aug 2017 07:55:00 -0400 Nicolas Goaziou wrote > 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? OK, I just got the expected output by the following: - Add "OrgListTex

Re: [O] ox-odt: List items contain body paragraphs, confusing styles

2017-08-19 Thread Nicolas Goaziou
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 cor

Re: [O] ox-odt: List items contain body paragraphs, confusing styles

2017-08-19 Thread James Harkins
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 pa

Re: [O] ox-odt: List items contain body paragraphs, confusing styles

2017-08-19 Thread Nicolas Goaziou
Hello, James Harkins writes: > So I would say, postpone this issue unless I can gather more evidence. OK. > 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, e

Re: [O] ox-odt: List items contain body paragraphs, confusing styles

2017-08-17 Thread James Harkins
On Thu, 17 Aug 2017 10:33:29 -0400 Nicolas Goaziou 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-elem

Re: [O] ox-odt: List items contain body paragraphs, confusing styles

2017-08-17 Thread Nicolas Goaziou
Hello, James Harkins writes: > Hi, haven't been active here for a while (which is a good thing -- it means I > haven't had any problems worth mentioning!). > > Now I have one -- ODT export encodes list items as a list-item containing a > "text:p": > > > > > blah blah > > > > > When LibreOf

[O] ox-odt: List items contain body paragraphs, confusing styles

2017-08-16 Thread James Harkins
Hi, haven't been active here for a while (which is a good thing -- it means I haven't had any problems worth mentioning!). Now I have one -- ODT export encodes list items as a list-item containing a "text:p": blah blah When LibreOffice reads this, it applies indentation settings from the