Docx Writer: Place toc after abstract, rather than before

This commit is contained in:
Nikolay Yakimov 2015-03-29 13:46:34 +03:00
parent 79be04df69
commit 4d1e85a09e

View file

@ -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.