diff options
author | Nikolay Yakimov <root@livid.pp.ru> | 2015-03-29 13:46:34 +0300 |
---|---|---|
committer | Nikolay Yakimov <root@livid.pp.ru> | 2015-03-29 13:46:34 +0300 |
commit | 4d1e85a09e7e1a26a5b715c6bfdfed65a59d13bf (patch) | |
tree | c096ab3da397840520cdbf28f03e829ffda51003 /src | |
parent | 79be04df69bdc5464ecc9daf68e028dc8abdfb33 (diff) | |
download | pandoc-4d1e85a09e7e1a26a5b715c6bfdfed65a59d13bf.tar.gz |
Docx Writer: Place toc after abstract, rather than before
Diffstat (limited to 'src')
-rw-r--r-- | src/Text/Pandoc/Writers/Docx.hs | 2 |
1 files changed, 1 insertions, 1 deletions
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. |