vscode-zotero icon indicating copy to clipboard operation
vscode-zotero copied to clipboard

I need to get the citation key inside [ brackets ]

Open Saltiola7 opened this issue 5 years ago • 5 comments

After citing this leaves the active window to zotero not VScode, so I need to click vs code every time after citing.

Also I need to have [ brackets ] around the cite as I got from zotero with cmd+shift+c for proper citation formation. Where can I change the citation to always automatically include brackets?

Saltiola7 avatar Jan 14 '20 08:01 Saltiola7

try add ?format=pandoc&brackets=1 in the extension preferences, it will add brackets. no idea about keeping the zotero background.

ableno avatar Dec 25 '20 07:12 ableno

add &minimize=true in the end of the url can minimize zotero and back to VS Code after the citation.

wuchichou avatar Apr 07 '21 06:04 wuchichou

?format=pandoc&brackets=1

Does this still apply today? I'm unclear about were this code is inserted; any hints would be appreciated.

garyritchie avatar Jun 15 '21 14:06 garyritchie

It still works, you just need to go the the extension settings of zotero picker, you will see only one line can be editable, then you add &brackets=1&minimize=true, somehow you still have to click the editor window to resume although the zotero picker is minimized. I would recommend another extension, which I use more frequently, i.e., Pandoc citer.

ableno avatar Jun 15 '21 14:06 ableno

Thanks, that helped! This is what I used (VSCodium)...

http://127.0.0.1:23119/better-bibtex/cayw?format=pandoc&brackets=1

Screenshot from 2021-06-15 12-03-49

garyritchie avatar Jun 15 '21 16:06 garyritchie