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?
  • Zotero doesn't typically use BBT citekeys (I think there might be a way to force that, but would have to search)-- why aren't you just using BBT's export formats?
  • BBT export to Obsidian works perfectly.

    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
  • Important to be precise here -- so we're talking about the API, not export from the software.

    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.
Sign In or Register to comment.