-
-
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
False positive Grazie inspections in \section and math #3700
Comments
Should I close this and then move it over to one of those, in that case? (also, oopsies, forgot to search for similar issues this time lol) |
No worries, I'll keep it open so I will remember to test this specific case. For Grazie it is sometimes difficult to find good test cases, at least this one is in English... |
I mean if I were to close it, I'd move the vast majority of everything in the issue over to whatever the destination issue is, as a comment |
here's another test case for a few language tool/grazie inspections if some of the content doesn't make sense, it's because I've attempted to minimize it as much as possible, but it was extremely finicky.
%! Author = solonovamax
%! Date = 2024-10-25
%! Compiler = latexmk -g -f --xelatex
% Preamble
\documentclass[12pt]{article}
% Packages
% Document
\begin{document}
\section{Washer Method}
\begin{gather*}
\begin{aligned}
V &= \pi x \\
&= \pi (x)
\end{aligned}
\end{gather*}
Some random content here.
\subsection{Subsection}
\subsubsection{Some Example}
\begin{gather*}
x = 0
\\
y = 0
\begin{aligned}
A &= x
\end{aligned}
\end{gather*}
\subsubsection{Some Example 2}
\begin{gather*}
x = 0 \\
x = 1 \\
y = 0
\begin{aligned}
A &= \frac{1}{x} \\
&= \frac{1}{x}
\end{aligned}
\end{gather*}
\end{document} it produces the following inspections: |
Yeah that's why I said it can be hard to come up with good examples, thanks a lot for this one! |
if I run into any other unique inspections, I'll try and provide minimal test cases for them as well |
Type of JetBrains IDE (IntelliJ, PyCharm, etc.) and version
Operating System
Arch Linux x86_64 6.11.3-zen1-1-zen
TeXiFy IDEA version
0.9.7
What I did (steps to reproduce)
Minimal example to reproduce the problem
Expected behavior
No inspection for the sentence being too long is present.
Actual behavior
An inspection for the sentence being too long is present.
Additional Information
There are two inspections that can be presented.
Sometimes it will present an inspection that reads
and other times it presents one which reads
Further, this inspection will also show up on math content, not just textual content.
On math content, the following inspection can also show up:
Ideally, the proofreading inspections should be entirely disabled for math content.
The text was updated successfully, but these errors were encountered: