git.iko.soy/typeable/pandoc
on master help sign in
LaTeX reader: support more acronym commands.

`\acl`, `\aclp`, and capitalized versions of already supported commands. Closes #6746.

commite0da02623e305e2cb0edfbc3e6f4020ae4cad2c2 authorJohn MacFarlane <jgm@berkeley.edu> dateTue 13 Oct 2020, 21:00 (6 years ago) parenta55fb5f
1 file changed+10
src/Text/Pandoc/Readers/LaTeX.hs+10
src/Text/Pandoc/Readers/LaTeX.hs+10
@@ -875,9 +875,19 @@ inlineCommands = M.union inlineLanguageCommands $ M.fromList
875875 , ("ac", doAcronym "short")
876876 , ("acf", doAcronym "full")
877877 , ("acs", doAcronym "abbrv")
878+ , ("acl", doAcronym "long")
878879 , ("acp", doAcronymPlural "short")
879880 , ("acfp", doAcronymPlural "full")
880881 , ("acsp", doAcronymPlural "abbrv")
882+ , ("aclp", doAcronymPlural "long")
883+ , ("Ac", doAcronym "short")
884+ , ("Acf", doAcronym "full")
885+ , ("Acs", doAcronym "abbrv")
886+ , ("Acl", doAcronym "long")
887+ , ("Acp", doAcronymPlural "short")
888+ , ("Acfp", doAcronymPlural "full")
889+ , ("Acsp", doAcronymPlural "abbrv")
890+ , ("Aclp", doAcronymPlural "long")
881891 -- siuntix
882892 , ("si", skipopts *> dosi tok)
883893 , ("SI", doSI tok)