Skip to content

Conversation

@Drodt
Copy link
Contributor

@Drodt Drodt commented Nov 3, 2025

Hayagriva's current disambiguation is incorrect: It adds names and given names even when they do not disambiguate the citation at all. If, for instance, we are only allowed to add initials, Hayagriva would produce "J. Doe 2025a; J. Doe 2025b" for two items from 2025 with authors "John Doe" and "Jane Doe". It should be "Doe 2025a; Doe 2025b", because the initials have no effect.

This PR makes the disambiguation (more) spec-compliant by following citeproc.

However, we are still incomplete: Only citations are disambiguated, not names generally. This is future work.

Makes 9 tests pass.

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.

2 participants