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

Apostrophe should not always cause step to return CharClass::InWord #244

Merged
merged 1 commit into from
Nov 20, 2024

Conversation

sandbergja
Copy link
Contributor

Similar to ", , «, and other such characters, an apostrophe can mark a quotation, in which case the character after it may need to be upper case. Before this commit, Hayagriva always considered the character after an apostrophe to be within a word, and therefore lowercased it.

Closes #196

Similar to ", ”, «, and other such characters, an apostrophe can mark
a quotation, in which case the character after it may need to be
upper case. Before this commit, Hayagriva always considered the character
after an apostrophe to be within a word, and therefore lowercased it.

Closes typst#196
@sandbergja sandbergja force-pushed the i196-initial-apostrophe branch from c90a445 to 4ca7009 Compare November 20, 2024 18:10
@sandbergja
Copy link
Contributor Author

Rebased this so that hopefully CI passes. :-)

@PgBiel
Copy link
Contributor

PgBiel commented Nov 20, 2024

This seems legitimate to me. Thanks!

@PgBiel PgBiel merged commit 2f4f74d into typst:main Nov 20, 2024
2 checks passed
danilasar pushed a commit to danilasar/hayagriva that referenced this pull request Dec 31, 2024
…ypst#244)

Similar to ", ”, «, and other such characters, an apostrophe can mark
a quotation, in which case the character after it may need to be
upper case. Before this commit, Hayagriva always considered the character
after an apostrophe to be within a word, and therefore lowercased it.
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.

@Citation makes word following ' lowercase in escaped Hayagriva entry
2 participants