-
-
Notifications
You must be signed in to change notification settings - Fork 89
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
repeated whitespace warning around mintinline when writing in Dutch. #3621
Comments
Thanks for reporting this! The problem is also in English, see #3141, #3494 and #3508. Essentially, the problem is that somehow we need to tell Grazie that the rendered sentence reads "... van het abstract keyword in java..." and not "... van het java abstract keyword in java..." or "... van het keyword in java..." because that may lead to more false positive warnings in general (though probably not in this case). |
It sounds to me like there needs to be a settings page for TeXiFy where commands can be added and specified how they work and that is pre-filled with common commands. (quickly reading through the mentioned issues I'm thinking at least check marks for: "produces output" and one for "produces surrounding white space". Is this something I could help build? Or am I overstepping in even suggesting this (maybe you already have other ideas)? |
Maybe. It makes sense for super special commands where you would only need to specify a few commands in settings, and this was suggested in #3492 (comment) as well. However, for this we need information about all LaTeX commands, which is a bit too much. If you want to help, that would be great! I think the first step is to solve this particular issue, that may be relatively easy and has to be done anyway. Instead, we could remove one of the spaces and send (text ranges are retrieved from the psi structure, which notably does not include spaces, but there are tricks to get around that) |
I look forward to diving into this. I have a deadline and a short vacation first. Thank you for pointing me in the right direction! |
When writing in Dutch I get a repeated whitespace warning around mintinline command, suggesting the LanguageTool doesn't realize the body of mintinline will be part of the text.
I don't have this problem in English, is there a setting I can change to fix this? I don't want to disable proofreading all together.
MWE:
The text was updated successfully, but these errors were encountered: