quarto-dev / quarto-dev/quarto

Zotero citations to Quarto file & .bib file in source mode (VS Code / Positron)

Open
#747 6 comments 5 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
645
Forks
62
Avg merge
17h 42m
Merged PRs (30d)
13

Description

Hi all, moving this discussion here as suggested. Quoting from there:

It is easy to insert citations from Zotero to the current Quarto document & the associated .bib file in visual editing mode (Positron / VS Code).

What are the current best practices for inserting citations to both the Quarto file and the associated .bib file in source mode? I don't think there is a way to do this currently, but it would be a fantastic addition.

My understanding is that this might require a VS Code extension. When I search for extensions in Positron, the only result is https://github.com/mblode/vscode-zotero. However that only inserts the citation into the Quarto file.

I had a quick look at results in VS Code (there are more) but they also seem to only write the citation into the Quarto file, and thus require manually dealing with the .bib file.

I forked the "VS Code Citation Picker for Zotero" extension to add this functionality (and use VS Code native picker UI, which is faster) here: https://github.com/mvuorre/vscode-zotero/releases/tag/v0.2.0. (Here is a short blog post explaining it. It seems the original repo is not maintained so updates unlikely there.) But I'd hate to be reinventing the wheel.

Is anyone aware of (better) alternatives? If not I might go through the hassle of figuring out how to make this available in the Positron extension search dialog (any tips on how to do that?), since it currently requires manually installing the .vsix file. Perhaps something like this could be baked into the VS Code extension or Positron itself?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing discussion 13023 and the linked VS Code Citation Picker fork, including its v0.2.0 release and Positron installation notes. Determine whether the supported solution belongs in Quarto, a VS Code extension, or Positron; done means source-mode citation insertion updates both the Quarto file and its associated .bib file through an installable workflow.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript, vscode
Domain
tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.