Open solonovamax opened 1 month ago
Thanks for reporting, this is essentially the same problem as #3508 and #3494, but this is a good test case.
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...
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 but I'll leave it open for now
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. like it would stop working if
aligned
blocks were removed\\
on its own line was moved to the same line as x = 0
&= \pi x
was used instead of &= \pi (x)
(or even &= (x)
%! 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.