Closed wilbowma closed 4 years ago
Closes #261
I'm happy to merge this, but checking on one detail first: Using string-foldcase
is normally more correct than string-downcase
for setting up a case-insensitive comparison. It doesn't matter for English/Latin/ASCII letters, and really you want to do the same as bibtex, which may well be downcase. Do you want to keep downcase or change to foldcase?
Should probably use string-foldcase
. I was following the existing patterns in the file, which uses string-downcase
; I didn't realize I ought to use string-foldcase
. However, this means the other uses should probably be changed.
Merged (but out of GitHub to deal with conflicts).
bibtex is supposed to treat keys and labels as case insensitive, according to what I can find (http://maverick.inria.fr/~Xavier.Decoret/resources/xdkbibtex/bibtex_summary.html#stringdef). This was mostly true already, but labels and entry keys were not treated this way. This patch fixes it.