VSCode extension to auto-update bib file when adding reference

Hi,

I love to use VSCode as a LaTeX editor, along with "Citation Picker for Zotero" by mblode as a connector to Zotero. It allows me to search for citations in Zotero by title, author, and other fields. I import my entire library from Zotero to VSCode in bib.bib and the reference list appears nicely in the PDF.

However, often the submission guidelines require me to attach the most parsimonious reference list. Currently it is done through manual search and deleting each line in the Bib file.

Is there any extension to automatically update my Bib file to include only those references that are cited via the command? Is there any other sensible solution to this problem?

I tried out Zotex, vscode-zotero-latex and vscode-zotero, none of which seem to have the functionality to auto-update references.

Thanks in advance!
  • Somehow I overlooked the commands, but In many extensions there are.

    Zotero Cite: Cite and Create Bibliography for Pandoc/LaTeX
    Zotex: Cite and Create Bibliography for LaTeX/Pandoc (did not work on my mac)

    "Citation picker for Zotero" does not have the command.

    Happy referencing!
  • Do you use the BetterBibTeX Zotero plugin in combination with the VS Code plugin? If so, BetterBibTeX provides a function to generate a .bib file from a set of citekeys. You should contact the VS Code plugin developer about adding that functionality.
Sign In or Register to comment.