summaryrefslogtreecommitdiff
path: root/src/Text/Pandoc
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-12-19 18:29:55 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2015-12-19 18:50:45 -0800
commit28b2d86b2113c0b03c480dbd7e6fbad1d4a1053f (patch)
tree6421834270c73748cb74b5d17ac3b5bc9c4ede9b /src/Text/Pandoc
parent9333814254917b2063a65d9e08c2a288a282405d (diff)
LaTeX/Beamer template changes (Thomas Hodgson):
* Added `thanks` variable * Use `parskip.sty` when `indent` isn't set (fall back to using `setlength` as before if `parskip.sty` isn't available). * Use `biblio-style` with biblatex. * Added `biblatexoptions` variable. * Added `section-titles` variable (defaults to true) to enable/suppress section title pages in beamer slide shows. * Moved beamer themes after fonts, so that themes can change fonts. (Previously the fonts set were being clobbered by lmodern.sty.)
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 ]