This question already has an answer here:

I have a question concerning problems that can arise when compiling a modular document (multifile document). If during the compilation I get an error, how do I get the file to which the error belongs?

Thanks in advance for any feedback.

marked as duplicate by egreg, Troy, Stefan Pinnow, TeXnician, Mensch Dec 19 '17 at 15:28

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • Thanks a lot for pointing this out. I searched but I could not find anything: my fault. – Kolmin Dec 19 '17 at 14:32

The classic way is to match (...) in the log file to see the currently open file, but simpler is to use the commandline option --file-line-error so that error messages are prefixed with the filename.

Not the answer you're looking for? Browse other questions tagged or ask your own question.