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

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

 Mime-Version: 1.0 Sender: Mailing list for the LaTeX3 project <[log in to unmask]> Subject: LaTeX Error: which file? From: Julius Smith <[log in to unmask]> Date: Mon, 5 Aug 2002 23:21:16 -0700 In-Reply-To: Content-Type: text/plain; charset="us-ascii"; format=flowed Reply-To: Mailing list for the LaTeX3 project <[log in to unmask]> Parts/Attachments: 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