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

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

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

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
rust
領域
backend

調査の方向性

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.

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

説明

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.
主要言語
Rust
スター
316
フォーク
23
平均マージ
11時間 49分
マージ済み PR(30日)
245

環境構築

はじめの一歩

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

quarto-dev/q2 のほかの issue

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

似ている issue

Rust の issue をもっと見る

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

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