From b71c7d97d17d6358a7e797655122ba03ccf193ca Mon Sep 17 00:00:00 2001
From: John MacFarlane <jgm@berkeley.edu>
Date: Tue, 12 Sep 2017 08:28:04 -0700
Subject: [PATCH] Add default pdf engine for beamer.

---
 src/Text/Pandoc/App.hs | 1 +
 1 file changed, 1 insertion(+)

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