Citation keys differ online and locally
My workflow is to write in overleaf with link to online zotero.org and to manage citations on my laptop with the zotero software.
When I copy the citation key from the software with ctrl+shift+C it follows a different pattern than what I see from inside overleaf or .bib files I export from the website.
My workaround:
1) Tools->Better Bibtex preferences -> citation key formula :
auth.lower +'_'+ shorttitle(1,1).lower + '_'+year
2) Select the citation to export, right click -> Better BibTex -> refresh BibTex key
3) ctrl+shift+C to copy a key that matches what I see in overleaf
It feels messy and error inviting, is there a better way to resolve it?
When I copy the citation key from the software with ctrl+shift+C it follows a different pattern than what I see from inside overleaf or .bib files I export from the website.
My workaround:
1) Tools->Better Bibtex preferences -> citation key formula :
auth.lower +'_'+ shorttitle(1,1).lower + '_'+year
2) Select the citation to export, right click -> Better BibTex -> refresh BibTex key
3) ctrl+shift+C to copy a key that matches what I see in overleaf
It feels messy and error inviting, is there a better way to resolve it?
select all your items in Zotero, right-click, better bibtex, pin citation keys
set https://retorque.re/zotero-better-bibtex/installation/preferences/#automatically-pin-citation-key-after to a non-zero value.
After that, all your citation keys are automatically written to the extra field, and citation keys written in the extra field will be used as the keys on Overleaf.