remove underscores in exported library
I am using Better Biblatex to format citation key. Format is set to:
auth.lower + shorttitle(1,1).lower + year
When I export the library for use in Obsidian I have selected the export format 'Better CSL JSON' and Better Biblatex produces a key like 'browntowards2019'
However, when I export the library using Zotero it puts an '_' in the key so it appears as brown_towards_2019
How can I get Zotero not to add the underscores?
auth.lower + shorttitle(1,1).lower + year
When I export the library for use in Obsidian I have selected the export format 'Better CSL JSON' and Better Biblatex produces a key like 'browntowards2019'
However, when I export the library using Zotero it puts an '_' in the key so it appears as brown_towards_2019
How can I get Zotero not to add the underscores?
As you say, when Zotero exports it doesn't use BBT so when I use the API to link to Overleaf it inserts '_' which much be the default format Zotero uses.
I would like all exports to be consistent either way so it might be easier to force BBT to use an underscore using .....
auth.lower.postfix(_) + shorttitle(1,1).lower.postfix(_) + year
Cheers
This should work, I believe, if you "pin" the citekeys, which also writes them to the Extra field, from which the native Zotero export, including in the API, picks them up.