Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index



I am a developer adding support for generating OpenDocument Text files
from within Emacs/Orgmode [1]. 

My exporter generates the odt files by dumping xml directly to the
various xml files (i.e, it doesn't rely on any API as such)

I am running in to an issue while converting from odt to Microsoft Word
97 format. The problem is that some sections of the odt file are
differently formatted in word document.

I am attaching three files.

1. lists.org 
   - A text file in Orgmode format. I am attaching this mostly for my
     own future reference. (Bug description can be seen here)

2. lists.odt
   - This file is generated by my own org->odt exporter. The bug
     description (which is seen only with doc file) can be seen in bold.

3. lists.doc

   - This file is generated by doing File->Save As->Microsoft Word
     97/2000/XP(.doc). The description of the bug can be seen in bold
     while opening this file.


     IMPORTANT NOTE: It is important that you close the doc file and
     re-open it all over again within Libre/OpenOffice to see the
     problem behviour.

If someone confirms this as a bug I will file a formal bug report. I
would also appreciate if a temporary workaround is provided in the
meanwhile. (I would prefer workaronds that don't rely on automatic
styles much)

(Please CC me. I am not subscirbed to this list.)

Thanks for your help,
Jambunathan K.

Footnotes: 

[1] Orgmode defines a structured markup for text files (very similar to
markdown or rst)

#+TITLE:     lists.org
#+AUTHOR:    Jambunathan K
#+EMAIL:     kjambunathan@gmail.com
#+DESCRIPTION:
#+KEYWORDS:
#+LANGUAGE:  en
#+OPTIONS:   H:3 num:t toc:nil \n:nil @:t ::t |:t ^:t -:t f:t *:t <:t
#+OPTIONS:   TeX:t LaTeX:dvipng skip:nil d:nil todo:t pri:nil tags:not-in-toc

#+EXPORT_SELECT_TAGS: export
#+EXPORT_EXCLUDE_TAGS: noexport
#+LINK_UP:   
#+LINK_HOME: 
#+XSLT:

* Lists
** Simple Lists
*** Numbered List

    This is a numbered list.

    1. L1N1
    2. L1N2
    3. L1N3

*** A Complex List

    1. L1N1: *BUG?: In the odt file, numbering of this item rightly starts at 1. In the converted 
doc file, the numbering continues. The list style clearly states that the numbering for this level 
should start at 1*.
       1. L2N2
       2. L2N3
          1. L3N3

             *In the odt file, this paragraph shows up correctly as a third level list item. In the 
converted doc file, this paragraph is formatted as a normal paragraph and it not intended to the 
right level*.

             *One another paragraph exhibiting similar behaviour*.

    2. L1N4
       * L2B1
       * L2B2
         - L3B3

             *One another paragraph that is wrongly indented in the doc file*..

         - L3B4
    3. L1N5
       1. L2N6
          1. L3N7

Attachment: lists.odt
Description: lists.odt

Attachment: lists.doc
Description: lists.doc


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.