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

Đang mở
#1,310 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
35/100
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
rust
Lĩnh vực
backend

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.
Ngôn ngữ chính
Rust
Star
316
Fork
23
Merge trung bình
11 giờ 49 phút
Pull request đã merge (30 ngày)
245

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của quarto-dev/q2

Tất cả issue của quarto-dev/q2

Issue tương tự

Thêm issue về Rust

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.