emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] ODT exporter does not seem to respect quotation mark for list items


From: Baptiste
Subject: [O] ODT exporter does not seem to respect quotation mark for list items
Date: Wed, 23 Jul 2014 11:23:52 +0200
User-agent: Notmuch/0.18.1+51~gbbbdf04 (http://notmuchmail.org) Emacs/24.4.50.2 (x86_64-unknown-linux-gnu)

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]