Skip to content

xslt-util/calstable/xpl and com.xmlcalabash conversion errors #41

@sentientmachine

Description

@sentientmachine

Bug Report:
My OS: Linux Gentoo Base System release 2.24.1.12 64 bit PC desktop
Java: 1.8.0_66
Shell: bash 4.3.42 (x86_64-pc-linux-gnu)
Install: cd /home/el/bin; git clone https://github.com/transpect/docx2tex --recursive
The input docx has a few unicode shenanigans, but nothing too out of band: http://www.filedropper.com/examplefail
Run you code: cd /home/el/bin/docx2tex; ./d2t ExampleFail.docx
Failure .log File: http://www.filedropper.com/examplefaild2t

What I expected: I expected some kind of output file ExampleFail.tex output containing latex code.

Quarantining the bug, proving the bug isn't on my side:

  1. Use libreoffice version 5.2.3.3 -writer to create an new empty .docx document containing the ascii text asdf.

  2. Save the above file as Untitled.docx using format Microsoft Word 2007-2013 XML (.docx) format.

  3. Openoffice -writer produces this Untitled.docx: http://www.filedropper.com/untitled_22

  4. Run the code: cd /home/el/bin/docx2tex; ./d2t Untitled.docx

  5. docx2tex works as expected, the contents of Untitled.tex render by pdflatex to a similar looking pdf:

The problem is in the table layouts.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions