Closed tim-hilde closed 2 years ago
Is it on purpose that entries from shared libraries in Zotero are shown in the picker?
Well, which entries are displayed depends on which entries have been added to the bibtex library. And that is not governed by this workflow, but by the tool you use to export from zotero to bibtex, probably betterbibtex. You should take a look at its settings?
Well, then I have to correct my earlier report: entries from shared libraries are not displayed but still opened. I just exported the library again, reloaded the buffer and the entry which is present in my local library is opened inside the shared one.
Ah, so it's an issue with the function that opens entry in zotero, and not the display of entries?
Yes
Found the issue: You can keep citekeys unique within a library or overall. I had them unique within the library so thats why the incorrect entry was opened
yes, I was gonna say that, if it opens the wrong entry, one reason could be that the citekey is used once in your personal library, and once in the shared one. That's somewhat annoying, but also not really avoidable, at least on my end, sorry. 🙁
Best workaround I can think of is to use different citekeys in the library, e.g., add "sl" to the citekeys there.
As I just had the same issue again, I found a solution that doesnt rely on having an explicit cite key for one's own library:
In scripts/open-entry.sh
in link 19 change open "zotero://select/items/@$CITEKEY"
to open "zotero://select/items/bbt:CITEKEY"
. This will always open the local library entry
is there some documentation for this behavior by BBT?
got it, I added :bbt
to ensure the entires are always opened in the personal library
(you might have to update to the latest release via github, since I removed the auto-update mechanism for the upcoming Alfred Gallery. Auto-updating will be available again in 1-2 days when the workflow is published there)
(also, next time, feel free to open a PR if you have a straightforward fix like adding :bbt
🙂 )
Bug Description
Is it on purpose that entries from shared libraries in Zotero are shown in the picker? This leads to the issue that entries that are both in my and in the shared library are opened (with open in Zotero command) in the shared library.
Relevant Screenshot
No response
To Reproduce
No response
Debugging Log
Sample BibTeX Entries
Buffer Files
buffer.txt log.txt
Workflow Configuration
Checklist
scp
, selectForce Buffer Reload
).