diff options
author | John MacFarlane <jgm@berkeley.edu> | 2020-10-13 21:00:02 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2020-10-13 21:00:02 -0700 |
commit | e0da02623e305e2cb0edfbc3e6f4020ae4cad2c2 (patch) | |
tree | b4cd56ef6c81609a1bbd5b21b9e82686cbab7f79 /src/Text | |
parent | a55fb5f29d3772981adfc494c2597f0a1b8bdb64 (diff) | |
download | pandoc-e0da02623e305e2cb0edfbc3e6f4020ae4cad2c2.tar.gz |
LaTeX reader: support more acronym commands.
`\acl`, `\aclp`, and capitalized versions of already
supported commands.
Closes #6746.
Diffstat (limited to 'src/Text')
-rw-r--r-- | src/Text/Pandoc/Readers/LaTeX.hs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/Text/Pandoc/Readers/LaTeX.hs b/src/Text/Pandoc/Readers/LaTeX.hs index 03dd701a9..8e73af4ae 100644 --- a/src/Text/Pandoc/Readers/LaTeX.hs +++ b/src/Text/Pandoc/Readers/LaTeX.hs @@ -875,9 +875,19 @@ inlineCommands = M.union inlineLanguageCommands $ M.fromList , ("ac", doAcronym "short") , ("acf", doAcronym "full") , ("acs", doAcronym "abbrv") + , ("acl", doAcronym "long") , ("acp", doAcronymPlural "short") , ("acfp", doAcronymPlural "full") , ("acsp", doAcronymPlural "abbrv") + , ("aclp", doAcronymPlural "long") + , ("Ac", doAcronym "short") + , ("Acf", doAcronym "full") + , ("Acs", doAcronym "abbrv") + , ("Acl", doAcronym "long") + , ("Acp", doAcronymPlural "short") + , ("Acfp", doAcronymPlural "full") + , ("Acsp", doAcronymPlural "abbrv") + , ("Aclp", doAcronymPlural "long") -- siuntix , ("si", skipopts *> dosi tok) , ("SI", doSI tok) |