aboutsummaryrefslogtreecommitdiff
path: root/src/Text
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2017-11-29 21:30:13 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2017-11-29 21:30:13 -0800
commit03ddac451edcd6eb8dfa1a77b174fd146aa5e722 (patch)
tree8ff61b655e1a0419149b9dd1d2e32bdd452d69e9 /src/Text
parentc65b514ed1a447f32ae3bf1dde64164deccdda51 (diff)
downloadpandoc-03ddac451edcd6eb8dfa1a77b174fd146aa5e722.tar.gz
Support beamer `\alert` in LaTeX reader. Closes #4091.
Diffstat (limited to 'src/Text')
-rw-r--r--src/Text/Pandoc/Readers/LaTeX.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Text/Pandoc/Readers/LaTeX.hs b/src/Text/Pandoc/Readers/LaTeX.hs
index 3bc59f262..d1d9682c3 100644
--- a/src/Text/Pandoc/Readers/LaTeX.hs
+++ b/src/Text/Pandoc/Readers/LaTeX.hs
@@ -1245,6 +1245,7 @@ inlineCommands = M.union inlineLanguageCommands $ M.fromList $
, ("textup", extractSpaces (spanWith ("",["upright"],[])) <$> tok)
, ("texttt", ttfamily)
, ("sout", extractSpaces strikeout <$> tok)
+ , ("alert", skipangles >> spanWith ("",["alert"],[]) <$> tok) -- beamer
, ("lq", return (str "‘"))
, ("rq", return (str "’"))
, ("textquoteleft", return (str "‘"))