https://bugs.kde.org/show_bug.cgi?id=473753

            Bug ID: 473753
           Summary: Kile is using red to highlight mathematics outside
                    equations when matrices without columns are used in
                    align environment.
    Classification: Applications
           Product: kile
           Version: 2.9.93
          Platform: openSUSE
                OS: Linux
            Status: REPORTED
          Severity: minor
          Priority: NOR
         Component: editor
          Assignee: michel.lud...@gmail.com
          Reporter: jay.trei...@wmich.edu
  Target Milestone: ---

Created attachment 161178
  --> https://bugs.kde.org/attachment.cgi?id=161178&action=edit
File with red text that does not belong.

SUMMARY

In the editor when using \begin{matrix} \end{matrix} in an align environment
without columns, e.g. \begin{matrix}2\\3\\3\end{matrix}, the highlighting of
red after the equation is closed continues.  If the matrix has multiple
columns,  e.g. \begin{matrix}2&3&3\\1&0&1\end{matrix}, the highlighting stops
at the end of the equation.


STEPS TO REPRODUCE
1.   Saw this in a book I am working on.
2.   Started a new latex document and put matrices with only one column in an
equation and an align environment.  In both cases the \end{matrix} was not
properly highlighted.  After the \end{align} the red highlighting continued.
3. I changed the matrix to one with columns, and the highlighting returned to
correct highlighting.

OBSERVED RESULT

Improper red highlighting.

EXPECTED RESULT

Standard black text outside of equations.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: openSUSE 15.5
(available in About System)
KDE Plasma Version: 5.27.4
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8

ADDITIONAL INFORMATION

I have attached one file. The file Test20230825A.tex has the red text that
should not be there when I use Kile.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to