Visual editor: use Zotero's citationKey field instead of generated keys
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 48/100
- Tipo de issue
- Error
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- typescript
- Área
- backend, developer-experience
Línea de trabajo
Start by tracing how the visual editor reads local Zotero items and generates citation keys; the issue points to out/main.js where betterBibtexExport reports that it is unsupported. Check how Zotero's native citationKey field is exposed and used in the insertion and bibliography paths. Done means citations use that field when present and retain the generated key as a fallback; also assess the reported database-copy delay.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Bug description
When citing from a local Zotero library in the visual editor, the extension generates its own author-year key (for example kropff2016) instead of using the citation key stored in Zotero. Recent Zotero versions keep the citation key in the native citationKey field (Better BibTeX 9 writes its keys there), but the extension does not read it, and Better BibTeX support is not available (betterBibtexExport throws "not supported" in out/main.js).
Teams that share a Zotero group library and agree on a common key format therefore can't use the visual editor: every inserted citation gets a key that doesn't exist in Zotero.
Steps to reproduce
- Zotero 10.0.8 with Better BibTeX 9.0.77, local library, a group library added in
quarto.zotero.groupLibraries. - Open a
.qmdwithbibliography: references.bibin Positron, switch to the visual editor. - Type
@, pick an item whose Zotero citation key iskropffContinuousGlucoseMonitoring2016, save.
Actual behavior
The document gets [@kropff2016] and references.bib gets @article{kropff2016, ...}.
Expected behavior
The extension uses the item's Zotero citationKey field when it is set, and falls back to its own key only when the field is empty.
A related performance note: the extension copies the whole zotero.sqlite (about 300 MB here) to its cache after every change to the database, for example after each sync, which makes the Zotero source unavailable for minutes.
Your environment
- Positron with Quarto extension 1.139.0
- Quarto 1.11.9
- Windows 11 Pro 10.0.26300
- Zotero 10.0.8, Better BibTeX 9.0.77
- Lenguaje dominante
- TypeScript
- Estrellas
- 665
- Forks
- 69
- Merge medio
- 1 d 8 h
- PR fusionados (30 d)
- 13
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de quarto-dev/quarto
-
vscode
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
quarto-dev/quarto#1227 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
bug vscode
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
quarto-dev/quarto#1211 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
quarto-dev/quarto#1139 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 1-3 horas Aptitud para principiantes 90/100
quarto-dev/quarto#1138 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
quarto-dev/quarto#1137 ·
Los mantenedores suelen responder en 1 día
Todos los issues de quarto-dev/quarto
Issues similares
-
MCP tool results drop structuredContent when text is only a summaryPosiblemente ocupada @Pankaj-bit361 la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
n8n-io/nod#1474 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Clean-up indicator: two polish points from the dev look (kit clock spacing, row description)Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
inblockio/siwx-oidc-matrix-server#101 ·
Los mantenedores suelen responder en 1 día
-
status:needs-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 64/100
Los mantenedores suelen responder en 3 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
pingdotgg/t3code#42253 · 1 comentario ·
Los mantenedores suelen responder en 1 día