diff options
author | John MacFarlane <jgm@berkeley.edu> | 2017-09-08 10:48:02 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2017-09-08 10:48:02 -0700 |
commit | 3421f3eac71709566b9072e095048619cf813ace (patch) | |
tree | f0ad08adcdee5f735544aa7ebeb7987d559cdb35 /src/Text/Pandoc | |
parent | 91240d08b7f3315d160f4f2628ba7d558734a690 (diff) | |
download | pandoc-3421f3eac71709566b9072e095048619cf813ace.tar.gz |
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.
Diffstat (limited to 'src/Text/Pandoc')
-rw-r--r-- | src/Text/Pandoc/Readers/LaTeX.hs | 1 | ||||
-rw-r--r-- | src/Text/Pandoc/Templates.hs | 1 |
2 files changed, 2 insertions, 0 deletions
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" |