aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Writers/Docx.hs
diff options
context:
space:
mode:
authorAgustín Martín Barbero <ambarbero@ree.es>2017-10-10 00:58:25 +0200
committerAgustín Martín Barbero <ambarbero@ree.es>2017-10-10 00:58:25 +0200
commitcdb9efa823db2fea051ebd25707facaee64847b8 (patch)
treeafaf7eb3a7673b18c44977e2939132e75cae63b9 /src/Text/Pandoc/Writers/Docx.hs
parent4a7b039f2d047fee2185069b2987eef86bf22801 (diff)
downloadpandoc-cdb9efa823db2fea051ebd25707facaee64847b8.tar.gz
docx writer - activate evenAndOddHeaders from reference doc
Fixes #3901 by checking for the evenAndOddHeaders mark in the reference doc, and copying it to the resulting docx if present.
Diffstat (limited to 'src/Text/Pandoc/Writers/Docx.hs')
-rw-r--r--src/Text/Pandoc/Writers/Docx.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Text/Pandoc/Writers/Docx.hs b/src/Text/Pandoc/Writers/Docx.hs
index 6102d97ed..f19621744 100644
--- a/src/Text/Pandoc/Writers/Docx.hs
+++ b/src/Text/Pandoc/Writers/Docx.hs
@@ -549,6 +549,7 @@ writeDocx opts doc@(Pandoc meta _) = do
, "w:consecutiveHyphenLimit"
, "w:hyphenationZone"
, "w:doNotHyphenateCap"
+ , "w:evenAndOddHeaders"
]
settingsEntry <- copyChildren refArchive distArchive settingsPath epochtime settingsList