## LATEX-L@LISTSERV.UNI-HEIDELBERG.DE

 Options: Use Classic View Use Monospaced Font Show Text Part by Default Show All Mail Headers Topic: [<< First] [< Prev] [Next >] [Last >>]

 LaTeX Error: which file? Julius Smith <[log in to unmask]> Mon, 5 Aug 2002 23:21:16 -0700 text/plain (19 lines) When LaTeX encounters an error, we see something like the following:      ! LaTeX Error: \begin{itemize} on input line 21 ended by \end{document}. However, I typically have many "\input" statements, so it is often annoying to figure out which file contains the offending line. (In an emacs shell, I routinely type "\C-u\C-r([a-z]" to get back to the last opened file, but this is only right some of the time.) It seems it should not be hard to improve the error message to say instead    ! LaTeX Error: \begin{itemize} on input line 21 in foo.tex ended by \end{document}. As an optimization, if only one user file has been seen, "in foo.tex" could be suppressed. Thanks for your consideration, Julius