Better BibTeX Citation key format help
Hello everyone!
I'm new to Zotero, and currently trying to set up my citation key format in the plugin Better BibTex. I can't for the life of me figure out how to use the parameters for the functions even though it should be a simple process.
What I would like to achieve is`authEtal2.lower` with the separation `_` instead of `.` between authors.
The parameters for the functions are listed here: https://retorque.re/zotero-better-bibtex/citing/
Parameter = sep
Type = string
Default value = '.'
Can anyone help?
Edit: I figured it out. Correct format would be `authEtal2(sep='_').lower`.
I'm new to Zotero, and currently trying to set up my citation key format in the plugin Better BibTex. I can't for the life of me figure out how to use the parameters for the functions even though it should be a simple process.
What I would like to achieve is`authEtal2.lower` with the separation `_` instead of `.` between authors.
The parameters for the functions are listed here: https://retorque.re/zotero-better-bibtex/citing/
Parameter = sep
Type = string
Default value = '.'
Can anyone help?
Edit: I figured it out. Correct format would be `authEtal2(sep='_').lower`.
authEtal2(sep=_).lower
will also work.Author1.Author2.etal:lower_year
So that it looks like as these examples:
BookName | Authors | Year | Citation Key
--------- | ------ | ---- | ----------
Introduction | Agirre and Edmonds | 2007 | agirre.edmonds_2007
Word Sense | Agirre and Edmonds | 2007 | agirre.edmonds_2007a (add a, b, c... when repeated)
Knowledege | Aguilera | 2011 | aguilera_2011
Beyond Modal | Adolphs et. al | 2011 | adolphs.etal_2015
Could you please assist me with this?
I'm using it with Obsidian and the citation key on one side doesn't match with the established in Zotero preferences, on the oteher, I don't know how to set it in order to cite like in the example above.
Thank you so much!
authEtal2(sep=_).lower + '_' + year
?My last try in Zoteron citation key -the current one- is:
Citation key:
authEtal2(sep='_').lower + '_' + year
but, something is not right because it adds on a second field
Active citation key:
authEtal2(sep='_').lower + '_' + year
with the same data. And I observed that it adds this second field "Active citation key..." when something is wrong.
I'd like to show it the way I listed above in the table example.
However, in this very moment resulting citations keys in Zotero look this way:
agirre_edmonds2007 (not agirre.edmonds_2007)
agirre_edmonds2007a (not agirre.edmonds_2007a)
and when I cite it in Obsidian, look this way:
@agirreIntroductionToWorld2007 (it wrongly mentions just one Lastname1+Word1,2,3fromTitle+year, instead of @agirre.edmonds_2007)
If you need some more information to understand better just tell me.
Thanks again!
authEtal2(sep='_').lower + '_' + year
is a valid formula. It is correct that if the "active formula" screen shows that there is an error in the formula being entered. If you want the latter, useauthEtal2(sep='.').lower + '_' + year
If you want further help, please open an issue on https://github.com/retorquere/zotero-better-bibtex/issues. I can help there much better than here.
authEtal2(sep='.').lower + '_' + year
The PROBLEM STILL IS that it shows the second field "active citation key formula"
I show you all in these screenshots:
2 authors (ok); https://drive.google.com/file/d/19weL5c8jU2kqJ6PFoxx9jhEN9NHtizci/view?usp=sharing
3 authors (ok):
https://drive.google.com/file/d/1IC-JicwGx7qFHPKpP80SARr9MwAxvSnf/view?usp=sharing
current configuration (here you can see the remaining problem of two fields):
https://drive.google.com/file/d/1TyMg5bHPqlq08uhKGtvjociCUR-F0mv8/view?usp=sharing
Mentioned all this, should I still reinstall the better-bibtex add-on in zotero with this https://github.com/retorquere/zotero-better-bibtex/issues/2490 ?
Thank you!!!! <3
Has the problem with your GH account been resolved? It is really a lot easier for me to do support on GH issues rather than here.
I go to https://github.com/retorquere/zotero-better-bibtex/issues/2490 to install what you said and when I clicked on "test build 6.7.75.4157" it shows 404-page. Do you know why?
Is it equally useful just sending you here the debug ID log after trying to change the citation key formula?
In case yes, I changed the citation key formula to "year", saved. Closed the app. Opened, then changed again to "authEtal2(sep='.').lower + '_' + year", saved. Closed the app. Open, and clicked right in one reference entry, did the debug and the ID is this:
7SRC3QIS-refs-euc
Then I clicked Finish.
I'll be online now.
My GH account is still flagged, I haven't received response.
7SRC3QIS-refs-euc
does not contain the information I need. https://github.com/retorquere/zotero-better-bibtex/issues/2490 has a new debug build up.I also realized that it did allow me to reply to you in the github discussion. You can see it in your last link.
Does that mean that the flagged issue is resolved?
Thank you so much for helping me!
but no matter what I try, it keeps generating in the preset format:
author3WordsYear
I need all citations to be: Author year [no space, "Author" is capitalized]
I managed to copy BetterBibtex setting from one computer to another, but still on the new Windows computer capitalized are only the names where the paper is archived on Zotero. Extremely inconvenient, incompatible with other machines.
PLEASE HELP!!!
Thank you
If you want my help, ask on github. I have support tooling built around github issues.