git.iko.soy/typeable/pandoc
on master help sign in
If writer == "s5", don't set table of contents option.
a9f894cfiddlosopher
src/Main.hs+2−1
@@ -480,7 +480,8 @@ main = do
480 writerTitlePrefix = titlePrefix,
480 writerTitlePrefix = titlePrefix,
481 writerTabStop = tabStop,
481 writerTabStop = tabStop,
482 writerTableOfContents = toc &&
482 writerTableOfContents = toc &&
483− (not strict),
483+ (not strict) &&
484+ writerName/="s5",
484 writerS5 = (writerName=="s5"),
485 writerS5 = (writerName=="s5"),
485 writerIgnoreNotes = False,
486 writerIgnoreNotes = False,
486 writerIncremental = incremental,
487 writerIncremental = incremental,