jgm/pandoc — Issue #414: DOCX Template Seems Corrupt?
Author: jclement
Created: 2012-02-11 04:44:13+00:00
State: open

I've using Pandoc 1.9.1 on Windows with Word 2007 and I'm running into some problems and I think it's the reference.docx file.

If I use the stock reference.docx file it produces a valid word document without error. If I touch the reference.docx file (change a style, resave, whatever) any documents created with that will give the error:

"The file FILENAME cannot be opened because there are problems with the contents."

If I choose the "Recover" option I see an error "Styles 1".

Looking at the styles.xml inside the reference docx file it seems like there may be some issues. The "Date" styleid has a name set to "Authors".