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

fix: handle initials correctly #150

Merged
merged 1 commit into from
Apr 8, 2024
Merged

Conversation

razvanazamfirei
Copy link
Contributor

This PR fixes the handling of initials when no delimiter is provided. Previously, citation styles that initialized without a delimiter (e.g., Vancouver) were formatted incorrectly.

For example:

Doe J J. World's Best Paper. Journal. 2025;99(9): 1–99.

instead of

Doe JJ. World's Best Paper. Journal. 2025;99(9): 1–99.

To fix this, we no longer add a space if no delimiter is passed.

Fixes #137.

@reknih reknih merged commit 5aec683 into typst:main Apr 8, 2024
1 check passed
@reknih
Copy link
Member

reknih commented Apr 8, 2024

Thank you!

@razvanazamfirei razvanazamfirei deleted the fix-initials branch April 9, 2024 16:25
laurmaedje pushed a commit that referenced this pull request May 16, 2024
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.

Bibliography incorrectly adds a space between author initials
2 participants