From 0aa6269b04c2c830790a34ceaf81acb9d56e28fe Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Thu, 29 Dec 2011 13:58:13 -0800 Subject: Added "beamer" a few places where we test for latex. --- src/pandoc.hs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/pandoc.hs b/src/pandoc.hs index 5ac7a6d23..941a66469 100644 --- a/src/pandoc.hs +++ b/src/pandoc.hs @@ -829,11 +829,12 @@ main = do stateStandalone = standalone', stateCitations = map CSL.refId refs, stateSmart = smart || writerName' `elem` - ["latex", "context", "latex+lhs"], + ["latex", "context", "latex+lhs", "beamer"], stateColumns = columns, stateStrict = strict, stateIndentedCodeClasses = codeBlockClasses, - stateApplyMacros = writerName' `notElem` ["latex", "latex+lhs"] } + stateApplyMacros = writerName' `notElem` + ["latex", "latex+lhs", "beamer"] } let writerOptions = defaultWriterOptions { writerStandalone = standalone', -- cgit v1.2.3