|author||John MacFarlane <firstname.lastname@example.org>||2017-04-10 22:21:11 +0200|
|committer||John MacFarlane <email@example.com>||2017-04-10 23:59:32 +0200|
Docx writer: don't take "distArchive" from datadir.
The docx writer takes components from the distribution's version of reference.docx when it can't find them in a user's custom reference.docx. (This sometimes happens because Word will sometimes omit components needed for larger documents when saving a simple one.) Previously, we allowed a reference.docx in the data directory (e.g. `~/.pandoc`) to be used as the distribution's reference.docx. This led to a bizarre situation where pandoc would produce a good docx using `--template ~/.pandoc/ref.docx`, but if `ref.docx` were moved to `~/.pandoc/reference.docx`, it would then produce a corrupted docx. Closes #3322 (I think).
Diffstat (limited to 'data')
0 files changed, 0 insertions, 0 deletions