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).
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.
authEtal2
you will want to useauthEtal2(sep=_,clean=false).lower + "-" + year + "-" + shorttitle(3).lower
. Settingclean
tofalse
skips 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.
clean
parameter 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).lower
which would apply the equivalent ofclean=false
to what follows it.