My problem is that the references that I have added to Zotero does not have an abbreviation item correctly, and I am in the process of writing a paper to a journal who wants the list of references with abbreviations. So, I want to output the .bib file with the journals abbreviated.
How can I do that ? is there a config file or something that can be modified or added ?
To be specific, it will auto-abbreviate if you have the option turned on (it's off by default) and have nothing in the "Journal Abbrev" field (which always takes precedence).
That is very helpful. However, I just have one small problem remaining for now. Some references has a wrong or full title in their Journal abbr tab inside zotero and when I export using Better Bibtex it uses these wrong abbr. So, is there a way to empty those fields automatically ?
Ok. Another question, can we synchronize BBT citation keys with the online account ? I need to link my zotero library with overleaf and when I tried that I found that citation keys are just the old zotero defaults.
no, sorry. Overleaf gets the bibtex from the stock Zotero bibtex translator on the server which has no idea that BBT even exists. (edit: see more precise answer below; my answer refers to the first part)
Depends on which way to sync it. If you use the Zotero API, then no; this would require a change in the Zotero server. I have no control over this. If you use Overleaf via git it is possible to get the BBT citation keys in Overleaf.
Keep in mind that git push isn't discerning; BBT will only add its own auto-exported file, but anything you "git added" will be committed and pushed along with it. I'd recommend getting a separate clone of your project set up for BBT and not do other edits in there (not that I keep to this recommendation myself).
How can I do that ? is there a config file or something that can be modified or added ?
I need to link my zotero library with overleaf and when I tried that I found that citation keys are just the old zotero defaults.
(edit: see more precise answer below; my answer refers to the first part)
- Enable git on your overleaf project
- Set up BBT to auto-export your collection into your git clone
- Use something like sparkleshare to keep the bibfile synced
this is a fragile setup, but it should work. I've asked Overleaf for a formal API, which they deemed "interesting", but I don't see it happening soon.If you have it enabled (https://retorque.re/zotero-better-bibtex/configuration/#overleaf), if you auto-export a bib file to a git checkout of an overleaf project, BBT will add, commit and push on auto-export.
Keep in mind that git push isn't discerning; BBT will only add its own auto-exported file, but anything you "git added" will be committed and pushed along with it. I'd recommend getting a separate clone of your project set up for BBT and not do other edits in there (not that I keep to this recommendation myself).