Replies: 1 comment 4 replies
-
Right-click the entries in Zotero and select "Better BibTeX" -> "Pin citekeys". |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
TLDR: I need help with changing the criteria by which better bibtex assigns "a","b"... to multiple papers with same author and year.
All of my references are in EndNote and recently I started writing a paper on Overleaf and it only supported Zotero so basically the workaround that I have is that I export references from EndNote using refman (RIS) export and import into Zotero. I sync my zotero account with Overleaf where I use those references in a research paper. I use better bibtex to generate citation keys which makes it really easy to refer to specific papers. I am currently using this citation key formula: auth+'_'+year
Every time my references are updated in Endnote, I manually export it to Zotero (i delete my previous references from Zotero). But, I noticed an issue with how it decides to assign citation keys for two of my papers with same author and year. So, with each import into Zotero, sometimes the first paper becomes "John_2023" and the second one becomes "John_2023a". But other times its reversed (i.e., the first paper becomes "John_2023a".). In overleaf, I have cited the first paper as "John_2023", but that changes on the next import. It's really annoying.
So I did a little test and found out that whichever paper comes first in the exported file is assigned "John_2023" and the second one on the list becomes "John_2023a". Is there a way to change this criterion? For example, maybe alphabetically order the titles of the paper and always assign "a" to the first one? So that whatever sequence I import it into Zotero, the citation key assignment is always consistent?
edit: or maybe add the first word of the title ONLY when there's multiple papers with same author/year? for example: John_2023_enrichment, and John_2023_effects. And if there's only one paper then it would just be "John_2023"
edit2: this is only an issue for me because zotero is an intermediate step for me. I regularly add/remove references in Endnote, and to sync it to Zotero, I basically clean up zotero library and import from endnote again. So I need the disambiguation to be consistent for each paper with same author/year.
thank you for your time.
Beta Was this translation helpful? Give feedback.
All reactions