Menu

#1082 Error in LaTeX Error parsing

None
wont-fix
nobody
None
1
2014-08-31
2014-08-31
Anonymous
No

There seems to be a very subtle error in the way TeXStudio parses the Log File for errors to be displayed in the "Errors" Tab. If one tries to build the file in the attachment, TeXStudio reports the error:

\OML/cmm/m/it/10 S[]$ \T1/cmr/m/n/10 is not triv-ial by Lemma []0.0.1[]

However, there seems to be nothing wrong with the file and the error message is just the content of the LaTeX log at this point. If one comments in or out the lines indicated in the file, the error appears/dissappears according to the following pattern: If the LaTeX log contains the following sequence of characters

{Newline}{Exclamation mark}{Space}

the error is there, otherwise it's not. This is probably due to the fact that if there is a real Latex error, this is reported in the Log file as:

{Newline}{Exclamation mark}{Space}"LaTeX Error:"

I have the feeling that the routine that parses the Log file reports everything as an error that starts with the sequence {Newline}{Exclamation mark}{Space} even though this sequence can occur by accident (but apparently, this happens only rarely).

1 Attachments

Discussion

  • Tim Hoffmann

    Tim Hoffmann - 2014-08-31

    Thank you for the report. Actually {Newline}{Exclamation mark}{Space} is the most general sequence of an error. See http://en.wikibooks.org/wiki/LaTeX/Errors_and_Warnings#Error_messages

    Therefore we can't do anything about it and have to live with a few positive false matches.

     
  • Tim Hoffmann

    Tim Hoffmann - 2014-08-31
    • status: open --> wont-fix
    • Group: -->
     

Log in to post a comment.