git.iko.soy/typeable/pandoc
on master help sign in
LaTeX reader: support \textquoteleft|right, \textquotedblleft|right.

Closes #3849.

commitc175317d031985798fddac6ea7b35f44f64fd78c authorJohn MacFarlane <jgm@berkeley.edu> dateThu 17 Aug 2017, 10:09 (9 years ago) parentae61d5f
1 file changed+4
src/Text/Pandoc/Readers/LaTeX.hs+4
src/Text/Pandoc/Readers/LaTeX.hs+4
@@ -1209,6 +1209,10 @@ inlineCommands = M.fromList $
12091209 , ("textup", extractSpaces (spanWith ("",["upright"],[])) <$> tok)
12101210 , ("texttt", ttfamily)
12111211 , ("sout", extractSpaces strikeout <$> tok)
1212+ , ("textquoteleft", return (str "‘"))
1213+ , ("textquoteright", return (str "’"))
1214+ , ("textquotedblleft", return (str "“"))
1215+ , ("textquotedblright", return (str "”"))
12121216 , ("textsuperscript", extractSpaces superscript <$> tok)
12131217 , ("textsubscript", extractSpaces subscript <$> tok)
12141218 , ("textbackslash", lit "\\")