You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I encountered a bug in the citation key formula of Better BibTeX for Zotero. Specifically, when using the formula auth.lower+year, the generated citation key is not in lowercase for Chinese authors.
For example, I have an item with the author 作者 and the year 2023. According to the citation key formula, the expected key should be zuozhe2023. However, the actual key generated is ZuoZhe2023, which is not in lowercase as expected.
Steps to reproduce:
Set the citation key formula as auth.lower+year.
Add an item with a Chinese author and a year.
Check the generated citation key.
Expected result: The generated citation key should be in lowercase for all authors, regardless of their language.
Actual result: The generated citation key is not in lowercase for Chinese authors.
Please let me know if you need any additional information or clarification on this issue. Thank you for your help in resolving this bug.
The text was updated successfully, but these errors were encountered:
try auth.transliterate.lower+year. Without .transliterate, the key manager will try to lowercase 作者, and javascript toLowerCase() doesn't know how to do that. If you have the checkbox Force citation key to plain text on, that will apply transliteration after all other work is done, and in the process, the .lower action will have been a no-op.
retorquere
changed the title
[Bug]: Citation key formula not generating lowercase for Chinese authors
Citation key formula not generating lowercase for Chinese authors
Mar 15, 2023
Debug log ID
ISJLK9NE-refs-apse
What happened?
I encountered a bug in the citation key formula of Better BibTeX for Zotero. Specifically, when using the formula
auth.lower+year
, the generated citation key is not in lowercase for Chinese authors.For example, I have an item with the author
作者
and the year2023
. According to the citation key formula, the expected key should bezuozhe2023
. However, the actual key generated isZuoZhe2023
, which is not in lowercase as expected.Steps to reproduce:
auth.lower+year
.Expected result: The generated citation key should be in lowercase for all authors, regardless of their language.
Actual result: The generated citation key is not in lowercase for Chinese authors.
Please let me know if you need any additional information or clarification on this issue. Thank you for your help in resolving this bug.
The text was updated successfully, but these errors were encountered: