Capital Letter required in the middle of a sentence after a comma
What got flagged? Through the activity of chorismate mutase, metabolic flux is directed toward prephenate, leading to the formation of L-Tyrosine and L-Phenylalanine.
EPSPS (5-enolpyruvylshikimate 3-phosphate synthase), the enzyme responsible for converting shikimate to 5-enolpyruvylshikimate 3-phosphate, is expressed constitutively.
Three distinct DAHP synthase isozymes exist, each specifically inhibited by one of the pathway's end products: L-Tyrosine, L-Phenylalanine, or L-Tryptophan.
Why is this incorrect? "leading", "each" and "the" are marked as missing capital letter at the start of the sentence.
I'm working with VS Code, with typst files, here are the prints:
Thanks for this! It would be even better if you could include screengrabs showing the comma and lint. Also what software it was running in: Obsidian, VS Code, browser plugin, etc. In this case probably what file format you were checking could also be relevant.
This might be a duplicate of #1621.
This might be a duplicate of #1621.
Indeed. I asked for the file format because I suspect invisible markup makes this interpreted as a new sentence.
Not sure if it's important but I also use the wrap text line feature of VS Code (Alt+Z).
Not sure if it's important but I also use the wrap text line feature of VS Code (Alt+Z).
Thanks. That won't have an effect on how Harper sees sentences.
also after apostrophe, such as "can't"
@blisscast, does this problem persist? It looks like we solved the other issue. Shall we close this one as well?
I think this is resolved. I just tried to reproduce this with a Typst file and the sentences from the issue description and running cargo run --bin harper-cli lint --only SentenceCapitalization file.typ from the current HEAD and I get "No lints found".
I think this is resolved. I just tried to reproduce this with a Typst file and the sentences from the issue description and running
cargo run --bin harper-cli lint --only SentenceCapitalization file.typfrom the current HEAD and I get "No lints found".
Great to hear - I'll close it now and if you run into it again reopen or file a new issue.