BetterBibTex - multiple patterns
Hi everyone,
I have just started out using the above mentioned BetterBibTex plugin. Currently I am trying to configure my customized citekey:
The usual format should be [auth][year], which works just fine.
However, I want to add multiple patterns, in case an author is not given. On the website (http://zotplus.github.io/zotero-better-bibtex/citation-keys.html) it says:
"If you want to get fancy, you can set multiple patterns separated by a vertical bar, of which the first will be applied that yields a non-empty string. If all return a empty string, a random key will be generated."
So, I did:
[auth][year]|[title][year]
So that in every case an author is not given the citekey uses the title. However, when then applying this key to a source which has no author, the citekey only consits of the year.
Can anybody help me or has a different approach to the problem?
Thanks, James
I have just started out using the above mentioned BetterBibTex plugin. Currently I am trying to configure my customized citekey:
The usual format should be [auth][year], which works just fine.
However, I want to add multiple patterns, in case an author is not given. On the website (http://zotplus.github.io/zotero-better-bibtex/citation-keys.html) it says:
"If you want to get fancy, you can set multiple patterns separated by a vertical bar, of which the first will be applied that yields a non-empty string. If all return a empty string, a random key will be generated."
So, I did:
[auth][year]|[title][year]
So that in every case an author is not given the citekey uses the title. However, when then applying this key to a source which has no author, the citekey only consits of the year.
Can anybody help me or has a different approach to the problem?
Thanks, James
This is an old discussion that has not been active in a long time. Before commenting here, you should strongly consider starting a new discussion instead. If you think the content of this discussion is still relevant, you can link to it from your new discussion.
Upgrade Storage
(In all honesty, the alternates system was created in a "no reason, just because I can!" mood after a single key failed to resolve in my library, back when I still had oodles of time to build such frivolities.)