git.iko.soy/typeable/pandoc
on master help sign in
Add default pdf engine for beamer.
b71c7d9John MacFarlane
src/Text/Pandoc/App.hs+1
@@ -169,6 +169,7 @@ pdfWriterAndProg mWriter mEngine = do
169 engineForWriter "context" = Right "context"
169 engineForWriter "context" = Right "context"
170 engineForWriter "ms" = Right "pdfroff"
170 engineForWriter "ms" = Right "pdfroff"
171 engineForWriter "latex" = Right defaultLatexEngine
171 engineForWriter "latex" = Right defaultLatexEngine
172+ engineForWriter "beamer" = Right defaultLatexEngine
172 engineForWriter format
173 engineForWriter format
173 | format `elem` ["html", "html5"] = Right defaultHtmlEngine
174 | format `elem` ["html", "html5"] = Right defaultHtmlEngine
174 | otherwise = Left $ "cannot produce pdf output with output format " ++ format
175 | otherwise = Left $ "cannot produce pdf output with output format " ++ format