I have a large .tex file, and when ran am receiving error messages about missing $
or extra delimiter/missing {
. It tells me in the log file where the error is "supposed" to be located, but it is not there. I believe it is somewhere else in the file though. My question, is there an automatic way of FINDING exactly where the syntax inconsistencies in your file are when the log file just provide a line number and even then sometimes it gives incorrect line number locations such as: having one brace {...
with no closing brace, or having one math delimiter $...
or \(...
, and missing the other. A small
snapshot is below of what was reported back after compilation.
And this is what my line 16
looks like below: Line 16
\(
in a caption. Delete the.lof
file and add\usepackage{fixltx2e}
and\(
will become robust.pdflatex
with the command line option-file-line-error
, you'll discover that the error is not at line 16 of the main file, but in the.lof
file.:p
-file-<...>-<...>
has other useful applications to it as well. I will look into this further.