I'm compiling a paper that someone else started and I have to fix some error messages associated with text that I've never read before. When I compile the paper sometimes it gets to an error and I have to figure out where that is in the paper and how to fix it.
The warning messages give some information about what causes the warning, for example:
LaTeX Warning: Reference `label1' on page \thepage undefined on input line 74.
These have been helpful for me in figuring out where
pdflatex is in processing the file because the error messages are typically thigns like:
 ! LaTeX Error: Illegal character in array arg.
This is just an example of one the errors that I've gotten to and am trying to fix. I can Google for the error message and try to understand what is causing it. But my question is: is there an easy way to know what causes an error message to occur in latex?
Mostly I'd like to see something like the line number information that is provided for warnings, but for errors instead. I don't know if that feature exists or not but I thought it might be worth asking.