mblode / vscode-zotero

Zotero Better Bibtex citations for VS Code
https://marketplace.visualstudio.com/items?itemName=mblode.zotero
MIT License
77 stars 10 forks source link

Excessive "@" after fetching a reference #13

Open samuelsaari opened 4 years ago

samuelsaari commented 4 years ago

After a reference is selected, an extra "@" appears on before the citekey.

Instead of getting... \cite{Smith2020} ...I get.. \cite{@Smith2020}

Anyone else with the same issue?

0.1.9. Win10 64 bit VScode 1.44.2

tkazik commented 2 years ago

jep, same here. The '@' seems to be needed for markdown, but no for latex...my guess would be that the setting for latex does not get properly applied.

yiminglin-ai commented 2 years ago

You can set the URL in the extension setting as

http://127.0.0.1:23119/better-bibtex/cayw?minimize=1&format=playground&keyprefix=\cite{&keypostfix=}

qoheniac commented 1 year ago

I wonder why the default setting is http://127.0.0.1:23119/better-bibtex/cayw?format=pandoc instead of just http://127.0.0.1:23119/better-bibtex/cayw and let the user add format options as needed.

~Edit: With the current version of Better BibTeX CAYW doesn't work anymore without setting a format parameter explicitly (see retorquere/zotero-better-bibtex#2396), but format=playground will return only the key just like the former default format did.~

duduOliver commented 1 week ago

You can set the URL in the extension setting as

http://127.0.0.1:23119/better-bibtex/cayw?minimize=1&format=playground&keyprefix=\cite{&keypostfix=}

Any updates for now? This setting seems not to be working at this time.