citeproc: unknown citation key error has no Q-code and no source location
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 52/100
Línea de trabajo
Read quarto_citeproc::Error::ReferenceNotFound and the construction sites in eval.rs:449 and types.rs:524,544, then trace how pampa/src/citeproc_filter.rs:181 converts the error. Check how citation locations are retained through HTML and Typst rendering. Done means an unknown citation produces a coded diagnostic at the citation’s .qmd location in both formats.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Citing a key that isn't in the bibliography fails the render, but the error has no Q-code and no line or column:
---
bibliography: refs.bib
---
See [@missing2020].
q2 render doc.qmd --to html (0.42.0):
Error: Citation processing error: Reference 'missing2020' not found
With --to typst, the error points at the intermediate .typ file instead of the .qmd.
quarto_citeproc::Error::ReferenceNotFound already has a location field and maps to Q-10-2, but every construction site sets location: None (eval.rs:449, types.rs:524, types.rs:544), and pampa/src/citeproc_filter.rs:181 converts the error to a string, dropping the code.
Expected: a coded diagnostic at the citation's location in the .qmd, for both HTML and Typst.
(Q-10-2 also collides with the template subsystem's Q-10-2, braid bd-be2f7.)
- Lenguaje dominante
- Rust
- Estrellas
- 293
- Forks
- 20
- Merge medio
- 5 h 38 min
- PR fusionados (30 d)
- 199
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
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/q2
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
quarto-dev/q2#1103 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
quarto-dev/q2#1095 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 77/100
quarto-dev/q2#1031 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
quarto-dev/q2#957 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
quarto-dev/q2#1115 · 1 comentario ·
Los mantenedores suelen responder en 1 día
Todos los issues de quarto-dev/q2
Issues similares
-
area:frontend kind:bug priority:p2 ready
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Los mantenedores suelen responder en 1 día
-
bug priority: medium
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
storytold/vectorcraft#6143 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
rubys/roundhouse#1917 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 2 días
-
good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
Los mantenedores suelen responder en 1 día