From ce1664cf2ba29c8b973d7a228744b43144c0859d Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sat, 10 Dec 2016 10:39:44 +0100 Subject: Simplified reference-docx/reference-odt to reference-doc. * Text.Pandoc.Options.WriterOptions: removed writerReferenceDocx and writerReferenceODT, replaced them with writerReferenceDoc. This can hold either an ODT or a Docx. In this way, writerReferenceDoc is like writerTemplate, which can hold templates of different formats. [API change] * Removed `--reference-docx` and `--reference-odt` options. * Added `--reference-doc` option. --- tests/Tests/Writers/Docx.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/Tests/Writers/Docx.hs b/tests/Tests/Writers/Docx.hs index 548e9ddcf..44095925f 100644 --- a/tests/Tests/Writers/Docx.hs +++ b/tests/Tests/Writers/Docx.hs @@ -141,7 +141,7 @@ tests = [ testGroup "inlines" ] , testGroup "customized styles" [ testCompareWithOpts - ( def{writerReferenceDocx=Just "docx/custom-style-reference.docx"} + ( def{writerReferenceDoc=Just "docx/custom-style-reference.docx"} , def) "simple customized blocks and inlines" "docx/custom-style-roundtrip-start.native" -- cgit v1.2.3