Skip to content

Sentencecase not capitalising after full stop #39

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

Open
eltos opened this issue Mar 2, 2025 · 0 comments
Open

Sentencecase not capitalising after full stop #39

eltos opened this issue Mar 2, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@eltos
Copy link

eltos commented Mar 2, 2025

I originally thought it was the same as #36, but it's not. So this issue is to request capitalising the first word after punctuation ending a sentence. For English this would be ., ! and ?. For : and ; it is not generally possible to decide that, here the feature request #40 would be very helpful.

Typst example:

Image

Desired outcome:

This is the first sentence. And here the second.
The third on a new line. The fourth and last.

#import "@preview/decasify:0.9.0": sentencecase, titlecase

#set page(margin: 1em, width: auto, height: auto)
#set text(lang: "en")

#sentencecase[
  this is the first sentence.
  and here the second.

  the third on a new line. the fourth and last.
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants