diff options
author | Albert Krewinkel <albert@zeitkraut.de> | 2021-11-15 18:40:50 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-15 09:40:50 -0800 |
commit | ea268fd8a72fe59e6cb0086b0c7471b8aa316af1 (patch) | |
tree | 25366203e57d86fe81e6962242b265b45ca959c9 /src/Text/Pandoc/Readers | |
parent | 946b95975158820d66ccdaed51c3722e07c24b12 (diff) | |
download | pandoc-ea268fd8a72fe59e6cb0086b0c7471b8aa316af1.tar.gz |
LaTeX reader: add rudimentary support for `\autoref` (#7693)
Diffstat (limited to 'src/Text/Pandoc/Readers')
-rw-r--r-- | src/Text/Pandoc/Readers/LaTeX/Inline.hs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Text/Pandoc/Readers/LaTeX/Inline.hs b/src/Text/Pandoc/Readers/LaTeX/Inline.hs index 0fd14017b..0b49fd6c3 100644 --- a/src/Text/Pandoc/Readers/LaTeX/Inline.hs +++ b/src/Text/Pandoc/Readers/LaTeX/Inline.hs @@ -339,6 +339,7 @@ refCommands = M.fromList , ("cref", rawInlineOr "cref" $ doref "ref") -- from cleveref.sty , ("vref", rawInlineOr "vref" $ doref "ref+page") -- from varioref.sty , ("eqref", rawInlineOr "eqref" $ doref "eqref") -- from amsmath.sty + , ("autoref", rawInlineOr "autoref" $ doref "autoref") -- from hyperref.sty ] acronymCommands :: PandocMonad m => M.Map Text (LP m Inlines) |