emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* ODT exporter does not seem to respect quotation mark for list items
@ 2014-07-23  9:23 Baptiste
  2014-07-24 13:02 ` Nicolas Goaziou
  0 siblings, 1 reply; 3+ messages in thread
From: Baptiste @ 2014-07-23  9:23 UTC (permalink / raw)
  To: emacs-orgmode

Hi,

I do not manage to get all my lists correctly exported in odt. The main point seems the respect of quotation marks …

See example below.

Thank you,

-- 
~^v^~ Baptiste

-----

#+TITLE: Test for lists in quotes and Odt export
#+AUTHOR: Baptiste
#+DATE: 2014-07-23

* Rational

  =ODT= exporter does not seem to manage quotation style for lists (may be other elements).

  : org-mode 8.3.15.g2241054 (git)

* Org source

  #+BEGIN_QUOTE
  This is a quotation text, with a list inside
  - First item
    1. sub item
    2. second sub-item
  - Second item
    
  Text in quote after the list
  #+END_QUOTE

  I am now out of quote

* From odt file, =content.xml=

  The list is made out of /Quotation/ style, then back to normal margin and so on.
  
  #+BEGIN_SRC xml
    <text:bookmark text:name="sec-2"/>Org source
    <text:bookmark-end text:name="OrgXref.sec-2"/></text:h>
    <text:p text:style-name="Quotations">This is a quotation text, with a list inside
    </text:p>

    <text:list text:style-name="OrgBulletedList" text:continue-numbering="false">

      <text:list-item>

        <text:p text:style-name="Text_20_body">First item
        </text:p>

        <text:list text:style-name="OrgNumberedList" text:continue-numbering="true">

          <text:list-item>

            <text:p text:style-name="Text_20_body">sub item
            </text:p>

          </text:list-item>

          <text:list-item>

            <text:p text:style-name="Text_20_body">second sub-item
            </text:p>

          </text:list-item>
        </text:list>

      </text:list-item>

      <text:list-item>

        <text:p text:style-name="Text_20_body">Second item
        </text:p>

      </text:list-item>
    </text:list>


    <text:p text:style-name="Quotations">Text in quote after the list
    </text:p>


    <text:p text:style-name="Text_20_body">I am now out of quote
    </text:p>

  #+END_SRC

* What I would expect

  I would expect the /Quotation/ style to be respected even in list item, something like :
  
  #+BEGIN_SRC xml
    <text:bookmark text:name="sec-2"/>Org source
    <text:bookmark-end text:name="OrgXref.sec-2"/></text:h>
    <text:p text:style-name="Quotations">This is a quotation text, with a list inside
    </text:p>

    <text:list text:style-name="OrgBulletedList" text:continue-numbering="false">

      <text:list-item>

        <text:p text:style-name="Quotations">First item
        </text:p>

        <text:list text:style-name="OrgNumberedList" text:continue-numbering="true">

          <text:list-item>

            <text:p text:style-name="Quotations">sub item
            </text:p>

          </text:list-item>

          <text:list-item>

            <text:p text:style-name="Quotations">second sub-item
            </text:p>

          </text:list-item>
        </text:list>

      </text:list-item>

      <text:list-item>

        <text:p text:style-name="Quotations">Second item
        </text:p>

      </text:list-item>
    </text:list>


    <text:p text:style-name="Quotations">Text in quote after the list
    </text:p>


    <text:p text:style-name="Text_20_body">I am now out of quote
    </text:p>

  #+END_SRC

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: ODT exporter does not seem to respect quotation mark for list items
  2014-07-23  9:23 ODT exporter does not seem to respect quotation mark for list items Baptiste
@ 2014-07-24 13:02 ` Nicolas Goaziou
  2014-07-28  8:50   ` Baptiste
  0 siblings, 1 reply; 3+ messages in thread
From: Nicolas Goaziou @ 2014-07-24 13:02 UTC (permalink / raw)
  To: Baptiste; +Cc: emacs-orgmode

Hello,

Baptiste <bateast@bat.fr.eu.org> writes:

> I do not manage to get all my lists correctly exported in odt. The
> main point seems the respect of quotation marks …

This should be fixed in maint. Thank you for reporting it.


Regards,

-- 
Nicolas Goaziou

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: ODT exporter does not seem to respect quotation mark for list items
  2014-07-24 13:02 ` Nicolas Goaziou
@ 2014-07-28  8:50   ` Baptiste
  0 siblings, 0 replies; 3+ messages in thread
From: Baptiste @ 2014-07-28  8:50 UTC (permalink / raw)
  To: Nicolas Goaziou; +Cc: emacs-orgmode

Hi,

I do confirm that it is fixed for me.

Thank YOU.

----------
*Le jeu., juil. 24 2014, Nicolas Goaziou <mail@nicolasgoaziou.fr> a écrit*

        Hello,

        This should be fixed in maint. Thank you for reporting it.


        Regards,

        -- 
        Nicolas Goaziou


-- 
~~^v^~~ Baptiste

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-07-28  8:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-23  9:23 ODT exporter does not seem to respect quotation mark for list items Baptiste
2014-07-24 13:02 ` Nicolas Goaziou
2014-07-28  8:50   ` Baptiste

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).