diff options
author | fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2007-07-12 03:40:01 +0000 |
---|---|---|
committer | fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2007-07-12 03:40:01 +0000 |
commit | a9f894c130ef5eba13477c7941a15b95712b25e0 (patch) | |
tree | a892f0cee7c644834112e5dfa6df9b3225d30da2 /src | |
parent | 2bca833da0f8cb6a6fc9bfbeff09a89fe49f1f94 (diff) | |
download | pandoc-a9f894c130ef5eba13477c7941a15b95712b25e0.tar.gz |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/Main.hs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Main.hs b/src/Main.hs index 3c206755c..eabb19e85 100644 --- a/src/Main.hs +++ b/src/Main.hs @@ -480,7 +480,8 @@ main = do writerTitlePrefix = titlePrefix, writerTabStop = tabStop, writerTableOfContents = toc && - (not strict), + (not strict) && + writerName/="s5", writerS5 = (writerName=="s5"), writerIgnoreNotes = False, writerIncremental = incremental, |