aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn MacFarlane <fiddlosopher@gmail.com>2011-12-29 13:58:13 -0800
committerJohn MacFarlane <fiddlosopher@gmail.com>2011-12-29 13:58:13 -0800
commit0aa6269b04c2c830790a34ceaf81acb9d56e28fe (patch)
tree8dc9fa440c011722f871c753d5ebd479962f0d34 /src
parentf74c40b4605c52dcd4df828f95500fe645277517 (diff)
downloadpandoc-0aa6269b04c2c830790a34ceaf81acb9d56e28fe.tar.gz
Added "beamer" a few places where we test for latex.
Diffstat (limited to 'src')
-rw-r--r--src/pandoc.hs5
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',