If writer == "s5", don't set table of contents option.
(The TOC would have to be put on a slide, but in most cases
it won't fit anyway.)
git-svn-id: https://pandoc.googlecode.com/svn/trunk@678 788f1e2b-df1e-0410-8736-df70ead52e1b
commita9f894c130ef5eba13477c7941a15b95712b25e0
authorfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>
dateThu 12 Jul 2007, 03:40 (19 years ago)
parent2bca833
src/Main.hs+2−1
@@ -480,7 +480,8 @@ main = do
480480 writerTitlePrefix = titlePrefix,
481481 writerTabStop = tabStop,
482482 writerTableOfContents = toc &&
483− (not strict),
483+ (not strict) &&
484+ writerName/="s5",
484485 writerS5 = (writerName=="s5"),
485486 writerIgnoreNotes = False,
486487 writerIncremental = incremental,