From 4d1e85a09e7e1a26a5b715c6bfdfed65a59d13bf Mon Sep 17 00:00:00 2001 From: Nikolay Yakimov Date: Sun, 29 Mar 2015 13:46:34 +0300 Subject: Docx Writer: Place toc after abstract, rather than before --- src/Text/Pandoc/Writers/Docx.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Text/Pandoc/Writers') diff --git a/src/Text/Pandoc/Writers/Docx.hs b/src/Text/Pandoc/Writers/Docx.hs index b019ab73f..98e49fd62 100644 --- a/src/Text/Pandoc/Writers/Docx.hs +++ b/src/Text/Pandoc/Writers/Docx.hs @@ -641,7 +641,7 @@ writeOpenXML opts (Pandoc meta blocks) = do doc' <- (setFirstPara >> blocksToOpenXML opts blocks') notes' <- reverse `fmap` gets stFootnotes toc <- makeTOC opts - let meta' = title ++ subtitle ++ authors ++ date ++ toc ++ abstract + let meta' = title ++ subtitle ++ authors ++ date ++ abstract ++ toc return (meta' ++ doc', notes') -- | Convert a list of Pandoc blocks to OpenXML. -- cgit v1.2.3