Skip to content

docs: cover page range splitting for citation references - #2304

Merged
cderv merged 2 commits into
prereleasefrom
docs-citation-fields-me99
Oct 20, 2026
Merged

cderv merged 2 commits into
prereleasefrom
docs-citation-fields-me99

Conversation

@cderv

@cderv cderv commented Oct 20, 2026

Copy link
Copy Markdown
Member

Companion to quarto-dev/quarto-cli#15118. From Quarto 1.11, citation_reference tags for bibliography entries carry citation_firstpage and citation_lastpage, split from the CSL page field. The document citation uses the same split, which accepts a hyphen, en dash or em dash, and gives only a first page for a list of ranges like 1-3, 7-9.

The page row of the Citation Fields table only said the value is split on -, which described the document citation alone. It now says the split applies to each citation_reference too, which separators work, how single pages and page lists come out, and that page-first and page-last take precedence.

It targets prerelease because the behavior is only true from 1.11.

cderv added 2 commits October 20, 2026 11:44
Since quarto-dev/quarto-cli#15118, the CSL `page` split into
citation_firstpage and citation_lastpage applies to each
citation_reference tag as well as to the document citation. The
Citation Fields table only said the value "will be split on `-`",
which no longer covers who gets the split or how it behaves.

The split accepts a hyphen, en dash or em dash with surrounding spaces
trimmed. A single page or a list of ranges (`1-3, 7-9`) yields only a
first page, since a list has no single last page. Explicit
`page-first`/`page-last` still override the split.
Before 1.11, only the document citation split `page`, on `-` alone, so
`1-3, 7-9` gave a last page of `3, 7`, and bibliography references got
no page tags. Without a version qualifier the row reads as true for the
stable release too.

The qualifier is prose in the cell rather than a prerelease callout,
because only this row changed and a callout above the Citation Fields
table would mark the whole table as new.
@github-actions

Copy link
Copy Markdown
Contributor

📝 Preview Deployment

🔍 Full site preview: https://deploy-preview-2304.quarto.org

🔄 Modified Documents

@cderv
cderv merged commit 8d6a6f3 into prerelease Oct 20, 2026
4 checks passed
@cderv
cderv deleted the docs-citation-fields-me99 branch October 20, 2026 10:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant