Typst: #refs div placement not honored; stray 'Referenties' heading inside appendix

Abierto
#1,105 0 comentarios 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
48/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
rust

Línea de trabajo

Start by reproducing the reported PDF with q2 0.42.0, Typst 0.15.1, and Pandoc 3.13 using the Quarto document in the issue. Trace how format: typst handles the #refs div and heading placement alongside appendices, then compare with the intended Typst citation behavior. Done when the bibliography appears in the intended location without the stray numbered “Referenties” heading in the appendix.

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

Descripción

With format: typst, a ::: {#refs} div doesn't seem to control where the bibliography goes:

---
format: typst
number-sections: true
bibliography: refs.bib
---

# Inleiding

Text [@smith2020].

# Referenties {.unnumbered}

::: {#refs}
:::

# Bijlage A {.appendix}

Aanvullend materiaal.

In the PDF, "Referenties" is empty. A heading "3.1 Referenties" appears inside "3 Bijlage A", and the list itself appears at the end under a separate "Bibliografie" heading (Typst's own bibliography).

I'm not sure what the intended behavior is. It may be inherited from Quarto 1's Typst output (Typst-native citations), or my markup may not be how appendices and refs are meant to combine for Typst. The duplicated "Referenties" heading inside the appendix looks unintended, though. The appendix is also numbered "3", not "A"; that may be expected for Typst.

q2 0.42.0, Typst 0.15.1, Pandoc 3.13, Windows 11.

Lenguaje dominante
Rust
Estrellas
302
Forks
22
Merge medio
5 h 8 min
PR fusionados (30 d)
220

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.