Non-english character in citation keys possible?
Hello!
Is it possible to retain non-english characters when generating citation keys? I'm mainly concerned with the Swedish characters "å, ä, ö". These are currently transliterated to "a, a, o", which I would like to avoid if possible.
Note that I don't want to disable all transliteration, seeing as that would allow author names with accents etcetera (I'm guessing), which would cause some problems.
I use the Better BibTeX plugin, and I have the language of Zotero set to English if that's relevant (however I do get the same result when changing over to Swedish).
Is it possible to retain non-english characters when generating citation keys? I'm mainly concerned with the Swedish characters "å, ä, ö". These are currently transliterated to "a, a, o", which I would like to avoid if possible.
Note that I don't want to disable all transliteration, seeing as that would allow author names with accents etcetera (I'm guessing), which would cause some problems.
I use the Better BibTeX plugin, and I have the language of Zotero set to English if that's relevant (however I do get the same result when changing over to Swedish).
Upgrade Storage
My citekey is currently something like this:
authEtal2(sep=_).lower + "-" + year + "-" + shorttitle(3).lower
If the author or title has the characters "å, ä, ö" they get transliterated to "a, a, o". If I change the citekey to use one of the unprocessed fields (your link) I still get this same transliteration.
authEtal2you will want to useauthEtal2(sep=_,clean=false).lower + "-" + year + "-" + shorttitle(3).lower. Settingcleantofalseskips diacritic folding; I'll add parameter descriptions to the docs.How do I add the clean=false filter to "shorttitle(3).lower"? I'm failing to figure out the correct format for it.
Thank you for the patience.
cleanparameter but the equivalent is achievable usingTitle.skipwords.select(1,3). If that doesn't work for you, please open a discussion on github. My support toolchain is built around github issues/discussions, and it's much less efficient for me to do support here.clean(false) + authEtal2(sep=_).lower + "-" + year + "-" + shorttitle(3).lowerwhich would apply the equivalent ofclean=falseto what follows it.