Skip to content

Use cite-group-delimiter as fallback for year-suffix-delimiter#423

Merged
PgBiel merged 1 commit intotypst:mainfrom
DerDrodt:cite-group-delim
Nov 9, 2025
Merged

Use cite-group-delimiter as fallback for year-suffix-delimiter#423
PgBiel merged 1 commit intotypst:mainfrom
DerDrodt:cite-group-delim

Conversation

@Drodt
Copy link
Copy Markdown
Contributor

@Drodt Drodt commented Nov 9, 2025

The CSL spec is a bit unclear about this, but it says about cite-group-delimiter:

Activates cite grouping and specifies the delimiter for cites within a cite group. Defaults to “, “. E.g. with delimiter on cs:layout in cs:citation set to “; “, collapse set to “year”, and cite-group-delimiter set to “,”, citations look like “(Doe 1999,2001; Jones 2000)”.

It is reasonable and expected by the tests that this extends to year suffixes.

Makes 2 tests pass

@PgBiel
Copy link
Copy Markdown
Contributor

PgBiel commented Nov 9, 2025

Thanks!

@PgBiel PgBiel merged commit 066e64f into typst:main Nov 9, 2025
2 checks passed
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.

3 participants