When I compile my project with pdflatex, I get to see at which line the error has occurred, but the file is it claims the error has occurred in is incorrect since it always just says that it has occurred in the main .tex file, while it really has occurred in some other file. Double clicking on the error, which normally takes you straight to the problematic code line, is therefore useless. Why does pdflatex behave like this? Does anyone have a suggestion for what I can do to find the line that actually has caused the error, so I can know what pdflatex is complaining about?
Tell me more
×
TeX - LaTeX Stack Exchange is a question and answer site for
users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.
It sounds like you're using some front-end application to compile. I can think of two possible ways to do some more error seeking: 1) Try only compiling the problem file. This may require temporary alteration of the preamble to make everything else work, but should still work after that. 2) What I would recommend: take it to the command line if you can. Trying running |
|||||||||
|
--file-line-erroroption? – Peter Grill Aug 15 '12 at 4:33