Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add disambiguation to alphanumeric style #234

Merged
merged 2 commits into from
Oct 10, 2024
Merged

Conversation

reknih
Copy link
Member

@reknih reknih commented Oct 10, 2024

I have added a disambiguator to our alphanumeric style.

For this, I needed to adjust our disambiguation code. So far, it expected a date to allow adding a year suffix. However, since the citation-label effectively acts as a year, I am also allowing that for doing year suffix disambiguation.

Fixes #230

@reknih reknih requested a review from PgBiel October 10, 2024 13:14
@PgBiel
Copy link
Contributor

PgBiel commented Oct 10, 2024

Should we apply this even if there's no year? Maybe we should add a check

Though I wouldn't mind having some form of global disambiguation either. Just not sure if that'd be ideal from a spec compliance perspective

Copy link
Contributor

@PgBiel PgBiel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Other than my comment above, code looks fine. 👍

@reknih
Copy link
Member Author

reknih commented Oct 10, 2024

Should we apply this even if there's no year? Maybe we should add a check

Addressed!

@reknih reknih merged commit 7be2efc into main Oct 10, 2024
4 checks passed
@laurmaedje laurmaedje deleted the alphanumeric-disambiguate branch October 10, 2024 15:13
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.

Multi-reference single-author label collision with alphanumeric citation style
2 participants