LATEX-L Archives

Mailing list for the LaTeX3 project

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 >>]

Print Reply
Magnus Erixon <[log in to unmask]>
Tue, 6 Aug 2002 15:44:11 +0200
text/plain (36 lines)
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

ATOM RSS1 RSS2