Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#446 List styles and list nesting lost(DOCX ->TEI transformation)

closed-fixed
5
2012-10-02
2012-09-28
Sorin Ristache
No

1. A list is created in MS Word 2010 using list styles from the Style Pane and the DOCX document is transformed to TEI P5. In the result TEI P5 XML document an ordered list from MS Word 2010 is transformed as unordered list, including nested lists:

<list type="unordered">
<item>One
<list type="unordered">
<item>Two</item>
<item>Three</item>
</list>
</item>
<item>Four</item>
</list>

2. A list is nested in other list. Both lists are created using the list button in the main menu. In the result TEI P5 XML document the nesting is lost.

You can see some examples and images here:

http://www.oxygenxml.com/forum/viewtopic.php?f=19&t=7209&p=22794#p22794

Discussion

  • Identifying list types in Word is surprisingly hard. I will look again at the algorithm, and see if I can detect these cases.

     
  • I believe I have dealt with these now by changes to the XSL stylesheets. I will comment on the oxygen forum

     
    • status: open --> closed-fixed