diff options
author | John MacFarlane <fiddlosopher@gmail.com> | 2011-12-29 13:58:13 -0800 |
---|---|---|
committer | John MacFarlane <fiddlosopher@gmail.com> | 2011-12-29 13:58:13 -0800 |
commit | 0aa6269b04c2c830790a34ceaf81acb9d56e28fe (patch) | |
tree | 8dc9fa440c011722f871c753d5ebd479962f0d34 | |
parent | f74c40b4605c52dcd4df828f95500fe645277517 (diff) | |
download | pandoc-0aa6269b04c2c830790a34ceaf81acb9d56e28fe.tar.gz |
Added "beamer" a few places where we test for latex.
-rw-r--r-- | src/pandoc.hs | 5 |
1 files 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', |