git.iko.soy/typeable/pandoc
on master help sign in
Fixed `--incremental` behavior for Beamer.

When `--incremental` is used, lists inside block quotes should appear all at once (as in HTML).

commit34fac208d20824b463301f8e2eb4b2a5c31c72ed authorJohn MacFarlane <fiddlosopher@gmail.com> dateSun 3 Jun 2012, 09:14 (14 years ago) parente630c77
1 file changed+1−1
src/Text/Pandoc/Writers/LaTeX.hs+1−1
src/Text/Pandoc/Writers/LaTeX.hs+1−1
@@ -274,7 +274,7 @@ blockToLaTeX (BlockQuote lst) = do
274274 case lst of
275275 [b] | beamer && isListBlock b -> do
276276 oldIncremental <- gets stIncremental
277− modify $ \s -> s{ stIncremental = True }
277+ modify $ \s -> s{ stIncremental = not oldIncremental }
278278 result <- blockToLaTeX b
279279 modify $ \s -> s{ stIncremental = oldIncremental }
280280 return result