citeproc: a note-style CSL puts citations in the text instead of in footnotes

Abierto
#1,310 1 comentario 0 reacciones 0 asignados Ver en GitHub

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
35/100
Tipo de issue
Error
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
rust
Área
backend

Línea de trabajo

Start by reproducing the report: render the n.qmd example with q2 to plain text and compare it with pandoc n.qmd --citeproc -t plain using the same chicago-notes-bibliography.csl and refs.bib. The payload does not name any source files, so locate the citeproc handling in the repository first. Done means a note-style CSL produces a footnote marker and a numbered footnote with no doubled full stop, matching the expected output in the issue.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

Tested with q2 0.47.0 and pandoc 3.14 (via QUARTO_PANDOC) on Windows 11, compared with Quarto 1.11.9 and plain pandoc 3.14.

With a note style such as Chicago notes-bibliography, citations are rendered inline in the paragraph instead of as footnotes. Where the citation is followed by a full stop, it ends up with two.

Repro

refs.bib:

@book{b, author={Doe, Jane}, title={A Book}, publisher={Press}, year={2020}}

n.qmd (with chicago-notes-bibliography.csl from the Zotero style repository):

---
bibliography: refs.bib
csl: chicago-notes-bibliography.csl
---

A claim [@b, 12].

q2 render n.qmd --to plain (same in docx and HTML)

Actual: A claim Jane Doe, A Book (Press, 2020), 12..

Expected (pandoc n.qmd --citeproc -t plain):

A claim.[1]

[1] Jane Doe, A Book (Press, 2020), 12.
Lenguaje dominante
Rust
Estrellas
316
Forks
23
Merge medio
11 h 49 min
PR fusionados (30 d)
245

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de quarto-dev/q2

Todos los issues de quarto-dev/q2

Issues similares

Más issues de Rust

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.