Skip to content

Fix prose citations using "&" instead of "and" between author names#455

Open
minco3 wants to merge 1 commit intotypst:mainfrom
minco3:fix-prose-citation-and
Open

Fix prose citations using "&" instead of "and" between author names#455
minco3 wants to merge 1 commit intotypst:mainfrom
minco3:fix-prose-citation-and

Conversation

@minco3
Copy link
Copy Markdown

@minco3 minco3 commented Mar 30, 2026

  • Prose citations (form: "prose") currently use "&" to join author names, but should use "and". This affects any CSL style with and="symbol" (e.g. APA).
  • Adds a use_text_and flag to WritingContext, set during prose author rendering, which causes the name joiner to use the localized "and" term instead of "&"
  • Updates the existing issue_243 test to expect "and"

The approach works and matches the existing pattern of toggling context flags in WritingContext, though it's admittedly a bit of a bolted-on solution. Open to suggestions on a cleaner approach.

Closes #454

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.

Prose citations use "&" instead of "and" between authors

1 participant