aboutsummaryrefslogtreecommitdiff
path: root/src/Text
diff options
context:
space:
mode:
authorJohn MacFarlane <fiddlosopher@gmail.com>2012-07-23 22:58:16 -0700
committerJohn MacFarlane <fiddlosopher@gmail.com>2012-07-23 22:58:16 -0700
commitfb6e7989170ac73e75f6ecdf79b8aaca5d353c76 (patch)
tree16299982ea59cf8761f6ff21ee3658128c449fc8 /src/Text
parent1bd0c479685fd009ba3c808e6fea3fac24f26428 (diff)
downloadpandoc-fb6e7989170ac73e75f6ecdf79b8aaca5d353c76.tar.gz
Set writerTableOfContents for s5 in Text.Pandoc, not pandoc.hs.
Diffstat (limited to 'src/Text')
-rw-r--r--src/Text/Pandoc.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Text/Pandoc.hs b/src/Text/Pandoc.hs
index b27651049..a813996c0 100644
--- a/src/Text/Pandoc.hs
+++ b/src/Text/Pandoc.hs
@@ -192,7 +192,8 @@ writers = [("native" , writeNative)
writeHtmlString o{ writerLiterateHaskell = True,
writerHtml5 = True })
,("s5" , \o ->
- writeHtmlString o{ writerSlideVariant = S5Slides })
+ writeHtmlString o{ writerSlideVariant = S5Slides
+ , writerTableOfContents = False })
,("slidy" , \o ->
writeHtmlString o{ writerSlideVariant = SlidySlides })
,("slideous" , \o ->