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

未关闭
#1,310 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
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 分钟
30 天内合并 PR
245

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

quarto-dev/q2 的其他 Issue

查看 quarto-dev/q2 的全部 Issue

相似的 Issue

更多 Rust Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。