From e0da02623e305e2cb0edfbc3e6f4020ae4cad2c2 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Tue, 13 Oct 2020 21:00:02 -0700 Subject: LaTeX reader: support more acronym commands. `\acl`, `\aclp`, and capitalized versions of already supported commands. Closes #6746. --- src/Text/Pandoc/Readers/LaTeX.hs | 10 ++++++++++ 1 file changed, 10 insertions(+) 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) -- cgit v1.2.3