diff options
| author | John MacFarlane <[email protected]> | 2026-01-08 11:23:03 +0100 |
|---|---|---|
| committer | John MacFarlane <[email protected]> | 2026-01-08 11:23:03 +0100 |
| commit | 6c28eadd6c04a60d0a12efaf864dea1a6b2f2b72 (patch) | |
| tree | 203743c0ff9b7b765e2c06ccf28395d6c443b773 /src | |
| parent | 8a75c077b033853fe65332870c98d1ff8df0aa19 (diff) | |
LaTeX reader: handle more quote macros.
(From fontspec and ngerman babel.)
Closes #6120.
Diffstat (limited to 'src')
| -rw-r--r-- | src/Text/Pandoc/Readers/LaTeX/Inline.hs | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/Text/Pandoc/Readers/LaTeX/Inline.hs b/src/Text/Pandoc/Readers/LaTeX/Inline.hs index 531cfb3a1..55f5a0bf4 100644 --- a/src/Text/Pandoc/Readers/LaTeX/Inline.hs +++ b/src/Text/Pandoc/Readers/LaTeX/Inline.hs @@ -315,6 +315,26 @@ charCommands = M.fromList , ("dothyp", lit ".\173") , ("colonhyp", lit ":\173") , ("hyp", lit "-") + -- ngerman (babel) + , ("glq", lit "‚") + , ("grq", lit "‘") + , ("glqq", lit "„") + , ("grqq", lit "“") + , ("flq", lit "‹") + , ("frq", lit "›") + , ("flqq", lit "«") + , ("frqq", lit "»") + , ("dq", lit "\"") + -- fontspec + , ("guillemetleft", lit "«") + , ("guillemotleft", lit "«") + , ("guillemetright", lit "»") + , ("guillemotright", lit "»") + , ("guilsinglleft", lit "‹") + , ("guilsinglright", lit "›") + , ("quotedblbase", lit "„") + , ("quotesinglbase", lit ",") + , ("textquotedbl", lit "\"") ] biblatexInlineCommands :: PandocMonad m |
