aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc
diff options
context:
space:
mode:
Diffstat (limited to 'src/Text/Pandoc')
-rw-r--r--src/Text/Pandoc/Writers/LaTeX.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Text/Pandoc/Writers/LaTeX.hs b/src/Text/Pandoc/Writers/LaTeX.hs
index 8814bb57e..31feecc7c 100644
--- a/src/Text/Pandoc/Writers/LaTeX.hs
+++ b/src/Text/Pandoc/Writers/LaTeX.hs
@@ -195,6 +195,7 @@ pandocToLaTeX options (Pandoc meta blocks) = do
defField "dir" (if (null $ query (extract "dir") blocks)
then ""::String
else "ltr") $
+ defField "section-titles" True $
metadata
let toPolyObj lang = object [ "name" .= T.pack name
, "options" .= T.pack opts ]