aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2017-09-12 08:28:04 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2017-09-12 08:28:04 -0700
commitb71c7d97d17d6358a7e797655122ba03ccf193ca (patch)
treec36c00f3212093afdd0bcc7660ff168bfa7a441e
parent6509501e90442ab4e4c5488b8f4b1aef16352885 (diff)
downloadpandoc-b71c7d97d17d6358a7e797655122ba03ccf193ca.tar.gz
Add default pdf engine for beamer.
-rw-r--r--src/Text/Pandoc/App.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Text/Pandoc/App.hs b/src/Text/Pandoc/App.hs
index 3e8d767f8..3df4953f1 100644
--- a/src/Text/Pandoc/App.hs
+++ b/src/Text/Pandoc/App.hs
@@ -169,6 +169,7 @@ pdfWriterAndProg mWriter mEngine = do
engineForWriter "context" = Right "context"
engineForWriter "ms" = Right "pdfroff"
engineForWriter "latex" = Right defaultLatexEngine
+ engineForWriter "beamer" = Right defaultLatexEngine
engineForWriter format
| format `elem` ["html", "html5"] = Right defaultHtmlEngine
| otherwise = Left $ "cannot produce pdf output with output format " ++ format