From 3421f3eac71709566b9072e095048619cf813ace Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Fri, 8 Sep 2017 10:48:02 -0700 Subject: Removed old beamer template. We now use the default.latex template for both latex and beamer. It contains conditionals for the beamer-specific things. `pandoc -D beamer` will return this template. --- src/Text/Pandoc/Readers/LaTeX.hs | 1 + src/Text/Pandoc/Templates.hs | 1 + 2 files changed, 2 insertions(+) (limited to 'src') diff --git a/src/Text/Pandoc/Readers/LaTeX.hs b/src/Text/Pandoc/Readers/LaTeX.hs index d0e95bd85..4bdf02734 100644 --- a/src/Text/Pandoc/Readers/LaTeX.hs +++ b/src/Text/Pandoc/Readers/LaTeX.hs @@ -1224,6 +1224,7 @@ inlineCommands = M.fromList $ , ("textrm", extractSpaces (spanWith ("",["roman"],[])) <$> tok) , ("textup", extractSpaces (spanWith ("",["upright"],[])) <$> tok) , ("texttt", ttfamily) + , ("textenglish", spanWith ("",[],[("lang","en")]) <$> tok) , ("sout", extractSpaces strikeout <$> tok) , ("lq", return (str "‘")) , ("rq", return (str "’")) diff --git a/src/Text/Pandoc/Templates.hs b/src/Text/Pandoc/Templates.hs index d5a4faafa..7914c35f8 100644 --- a/src/Text/Pandoc/Templates.hs +++ b/src/Text/Pandoc/Templates.hs @@ -63,6 +63,7 @@ getDefaultTemplate writer = do "html" -> getDefaultTemplate "html5" "docbook" -> getDefaultTemplate "docbook5" "epub" -> getDefaultTemplate "epub3" + "beamer" -> getDefaultTemplate "latex" "markdown_strict" -> getDefaultTemplate "markdown" "multimarkdown" -> getDefaultTemplate "markdown" "markdown_github" -> getDefaultTemplate "markdown" -- cgit v1.2.3