Skip to content

fix: add space and period to "et al" in citations#783

Merged
david-christiansen merged 1 commit intoleanprover:mainfrom
kim-em:fix/etal-space
Mar 5, 2026
Merged

fix: add space and period to "et al" in citations#783
david-christiansen merged 1 commit intoleanprover:mainfrom
kim-em:fix/etal-space

Conversation

@kim-em
Copy link
Contributor

@kim-em kim-em commented Mar 3, 2026

This adds a missing space before "et al" and the standard trailing period ("et al.") in both HTML and TeX citation rendering.

Currently, when a reference has more than 3 authors, the inline citation renders as Smithet al instead of Smith et al.

Before:
before

After:
after

MWE: https://github.com/kim-em/verso-citation-mwe

Fixes #780

🤖 Prepared with Claude Code

When a reference has more than 3 authors, the inline citation
rendered the first author's last name immediately followed by
"et al" with no space and no trailing period.

Before: `(Smith<em>et al</em>, 2025)`
After:  `(Smith <em>et al.</em>, 2025)`

Fixes leanprover#780
@github-actions
Copy link
Contributor

github-actions bot commented Mar 4, 2026

Preview for this PR is ready! 🎉

@david-christiansen david-christiansen added this pull request to the merge queue Mar 5, 2026
@david-christiansen
Copy link
Collaborator

Thank you!

Merged via the queue into leanprover:main with commit 38bef77 Mar 5, 2026
9 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.

Missing space before "et al" in citations

2 participants