aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2017-08-17 10:45:05 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2017-08-17 12:08:32 -0700
commitb9b35059f612d93d3bd559116dc18d68d3430500 (patch)
treef9dd40ec7da8cd6f8dd48ec69191883d1dbec236 /src
parent2a0e2e6fd675d08a426380b8d85f9fd05d067692 (diff)
downloadpandoc-b9b35059f612d93d3bd559116dc18d68d3430500.tar.gz
LaTeX reader: support \lq, \rq.
Diffstat (limited to 'src')
-rw-r--r--src/Text/Pandoc/Readers/LaTeX.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Text/Pandoc/Readers/LaTeX.hs b/src/Text/Pandoc/Readers/LaTeX.hs
index bab056c83..7cf3048e3 100644
--- a/src/Text/Pandoc/Readers/LaTeX.hs
+++ b/src/Text/Pandoc/Readers/LaTeX.hs
@@ -1209,6 +1209,8 @@ inlineCommands = M.fromList $
, ("textup", extractSpaces (spanWith ("",["upright"],[])) <$> tok)
, ("texttt", ttfamily)
, ("sout", extractSpaces strikeout <$> tok)
+ , ("lq", return (str "‘"))
+ , ("rq", return (str "’"))
, ("textquoteleft", return (str "‘"))
, ("textquoteright", return (str "’"))
, ("textquotedblleft", return (str "“"))