GeneralDoes latex create a human-readable file with corrections?

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
gammapoint
Posts: 11
Joined: Fri Jul 24, 2009 11:07 pm

Does latex create a human-readable file with corrections?

Post by gammapoint »

So you know how when you get an error message in the compilation of a latex document, like the following:

Code: Select all

l.74 & \multicolumn{2}{c}{E_i \; \text{(eV)}}
                                              & \multicolumn{2}{c}{E_d \; \t...
I've inserted a begin-math/end-math symbol since I think
you left one out. Proceed, with fingers crossed.

Is there a way to see where latex inserted the begin-math and end-math symbols? Because I need this error to not appear, but I'm not sure where they placed them (i.e., I want to put them in manually so it doesn't do it).

Thanks!

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Re: Does latex create a human-readable file with corrections?

Post by localghost »

The log file is exactly what you mean. For every error it shows the according line where it occurs and a short but clear description.


Best regards and welcome to the board
Thorsten
gammapoint
Posts: 11
Joined: Fri Jul 24, 2009 11:07 pm

Re: Does latex create a human-readable file with corrections?

Post by gammapoint »

Perhaps I should have been more specific. I know in which line it occurs, but I'm guessing I can't tell where in the line the corrections have been made?
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Re: Does latex create a human-readable file with corrections?

Post by localghost »

This is also shown. The concerned line is displayed in the log file. At the exact place where the error occurs the line is interrupted, shifted to the next line and continued there. In your case this means that right before the alignment character "&" there is the cause for the error. The next lines explain what is to do for a correct result.
Post Reply