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

オープン
#1,105 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
48/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
rust

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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.

主要言語
Rust
スター
302
フォーク
22
平均マージ
5時間 8分
マージ済み PR(30日)
220

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

quarto-dev/q2 のほかの issue

quarto-dev/q2 の issue をすべて見る

似ている issue

Rust の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。