Bug 407578 - Correct display of Latex compilation error with math in align environment
Summary: Correct display of Latex compilation error with math in align environment
Status: REPORTED
Alias: None
Product: kile
Classification: Applications
Component: general (other bugs)
Version First Reported In: 2.9.92
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Michel Ludwig
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-05-16 05:58 UTC by Christoph
Modified: 2019-05-16 05:58 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christoph 2019-05-16 05:58:46 UTC
Kile doesn't parse a LaTeX error message correctly.

Minimal example:

\documentclass{article}
\usepackage{amsmath}
\begin{document}
\begin{align}
 \limit % the correct command would be \lim
\end{align}
\end{document}

In the Messages pane, the clickable link for the error says "tmp.tex:6:Undefined control sequence \end{align}", while actually the problem is the \limit

However the LaTeX output contains 
! Undefined control sequence.
<argument>  \limit 
                   
l.6 \end{align}


It would be helpful for Kile to parse the error message better. On a side note, the text in the messages pane is not selectable (nor copy-pasteable).

Note that using an equation environment instead of align, the error is displayed correctly.