-
Notifications
You must be signed in to change notification settings - Fork 55
Description
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:
-
Use libreoffice version
5.2.3.3-writer to create an new empty .docx document containing the ascii textasdf. -
Save the above file as
Untitled.docxusing formatMicrosoft Word 2007-2013 XML (.docx)format. -
Openoffice -writer produces this Untitled.docx: http://www.filedropper.com/untitled_22
-
Run the code:
cd /home/el/bin/docx2tex; ./d2t Untitled.docx -
docx2tex works as expected, the contents of
Untitled.texrender by pdflatex to a similar looking pdf:
The problem is in the table layouts.