How do I use the OR operator (bar, |) with BibTeX citekey formualae?
Scenario: I have several items in my Zotero library that do not have any specific author; they only have a publisher.
I want to have my citekey be set to one of these two, depending on if the author field is present:
```
johnDoe.2023.zoteroForumPost
johnDoePublishing.2023.someVideo
```
Here's what I have so far:
```
auth.lower|Publisher.lower + "." + year + "." + shorttitle(3,3)
```
However, if the author field is present, the citekey gets set to this:
```
johnDoe
```
The items that have a publisher with no authors get set to my desired output:
```
johnDoePublishing.2023.someVideo
```
How would I get the desired style of citekey formatting?
I want to have my citekey be set to one of these two, depending on if the author field is present:
```
johnDoe.2023.zoteroForumPost
johnDoePublishing.2023.someVideo
```
Here's what I have so far:
```
auth.lower|Publisher.lower + "." + year + "." + shorttitle(3,3)
```
However, if the author field is present, the citekey gets set to this:
```
johnDoe
```
The items that have a publisher with no authors get set to my desired output:
```
johnDoePublishing.2023.someVideo
```
How would I get the desired style of citekey formatting?
-
dstillmanFor help with Better BibTeX, you'll need to ask the developer on GitHub.