Johannes_B wrote:The different things to press when an error happens,
xare all documented. In the TeXbook. When you are interacting, you are interacting with TeX.
I looked at an electronic copy which I found on ctex (I do not have a printed copy), and the reference I found is in chapter 6, pages 31 and 32. It says (pag. 32)
"Type ‘X’. This stands for “exit.” It causes TEX to stop working on your job, after putting the finishing touches on your log file and on any pages that have already been output to your dvi file. The current (incomplete) page will not be output."
It does not say that typing ‘X’ can corrupt the .aux file, one has to figure it out on their own - I did not do it. The only place where I ever read it is in the chat message of David Carlisle. So: IMHO it should be documented.
As Ulrike and David said, it is possible to make adjustments ... which will probably cause havoc in thousands of documents ... automated error parsing/detection by some guis worthless.
Maybe LaTeX3 can do something about it in the future, but no need to wait impatientely. It will take a while.
Ok. By the way I have seen that the warnings of LaTeX are marked by "LaTeX Warning", I had never noticed it before. As well as the warning messages issued by every package.
And the LaTeX errors as well are marked as "LaTeX error".
It might be that the amsmath package is an exception; I have tested the \align command with a blank line, and it does not say that the error comes from amsmath, it just says
! Paragraph ended before \align was complete.
So I do not know whether there the message is issued by TeX or by amsmath. I suspect that it is issued by the latter (TeX does not know environments).