Received: from mail.proteosys.com ([62.225.9.49]) by nummer-3.proteosys with Microsoft SMTPSVC(5.0.2195.4905); Tue, 6 Aug 2002 16:11:44 +0200 Received: by mail.proteosys.com (8.12.2/8.12.2) with ESMTP id g76EAhVP023591 for ; Tue, 6 Aug 2002 16:10:44 +0200 Received: from listserv.uni-heidelberg.de (listserv.uni-heidelberg.de [129.206.100.27]) by relay.uni-heidelberg.de (8.12.4/8.12.4) with ESMTP id g76DsaU5028414; Tue, 6 Aug 2002 15:54:36 +0200 (MET DST) MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C23D53.3163D000" Received: from listserv (listserv.uni-heidelberg.de [129.206.100.27]) by listserv.uni-heidelberg.de (8.12.2/8.12.2/SuSE Linux 0.6) with ESMTP id g75M04Av004568; Tue, 6 Aug 2002 15:54:23 +0200 X-MimeOLE: Produced By Microsoft Exchange V6.5 Received: from LISTSERV.UNI-HEIDELBERG.DE by LISTSERV.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 1.8d) with spool id 4805 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Tue, 6 Aug 2002 15:54:23 +0200 Received: from relay.uni-heidelberg.de (relay.uni-heidelberg.de [129.206.100.212]) by listserv.uni-heidelberg.de (8.12.2/8.12.2/SuSE Linux 0.6) with ESMTP id g76DiMgS009637 for ; Tue, 6 Aug 2002 15:44:22 +0200 Received: from elixir.e.kth.se (elixir.e.kth.se [130.237.48.5]) by relay.uni-heidelberg.de (8.12.4/8.12.4) with ESMTP id g76DiCU5025833 for ; Tue, 6 Aug 2002 15:44:12 +0200 (MET DST) Received: from sloth.e.kth.se (sloth.e.kth.se [130.237.48.29]) by elixir.e.kth.se (8.12.3/8.12.3) with ESMTP id g76DiB7w490018 for ; Tue, 6 Aug 2002 15:44:11 +0200 (CEST) Received: from sloth.e.kth.se (erixon@localhost) by sloth.e.kth.se (8.11.6/8.9.3) with ESMTP id g76DiBj11924 for ; Tue, 6 Aug 2002 15:44:11 +0200 In-Reply-To: Your message of "Mon, 05 Aug 2002 23:21:16 PDT." <5.1.0.14.0.20020805230706.0352eec0@w3k.org> Return-Path: X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 X-OriginalArrivalTime: 06 Aug 2002 14:11:48.0254 (UTC) FILETIME=[33ECEBE0:01C23D53] X-Authentication-Warning: sloth.e.kth.se: erixon owned process doing -bs X-Scanned-By: MIMEDefang 2.6 (www dot roaringpenguin dot com slash mimedefang) Content-class: urn:content-classes:message Subject: Re: LaTeX Error: which file? Date: Tue, 6 Aug 2002 14:44:11 +0100 Message-ID: A<200208061344.g76DiBj11924@sloth.e.kth.se> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Re: LaTeX Error: which file? Thread-Index: AcI9UzQR09EBHFFPSNWnO1IMqV6h7g== From: "Magnus Erixon" To: Reply-To: "Mailing list for the LaTeX3 project" Status: R X-Status: X-Keywords: X-UID: 4350 This is a multi-part message in MIME format. ------_=_NextPart_001_01C23D53.3163D000 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi! If you check the log-file you get more information! It should be quite easy to find out where things got wrong. You could also make it a habit to always type the begin{itemize} and the end{itemize} at the same time, which should reduce the problem. You could also try to use the short commands in Emacs, which will probably type both parts at the same time. Yours, Magnus Erixon > 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 ------_=_NextPart_001_01C23D53.3163D000 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Re: LaTeX Error: which file?

Hi!

If you check the log-file you get more = information!
It should be quite easy to find out where things got = wrong.

You could also make it a habit to always type
the begin{itemize} and the end{itemize} at the same = time,
which should reduce the problem.

You could also try to use the short commands in = Emacs,
which will probably type both parts at the same = time.

Yours,
Magnus Erixon



> 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

------_=_NextPart_001_01C23D53.3163D000--