Open edwintorok opened 9 years ago
I'm aware of that syntax errors are obtuse, though fixing them may not be easy with the current Menhir-based parser. For this and other reasons, I'm seriously considering rewriting the Lambtex parser using a different technology...
I like the error messages from Lambtex more than the LaTeX ones already, and the highlighting is definetely useful, but here are a few things to make them even better:
Failed to process '%s': %d errors encountered, see '%s' for details
syntax error
. Please provide some hints in this case on what is wrong, for example:the bib block at line X requires \who, \what, and \where, but you didn't provide the \what command.
the command \picture is not valid inside a bib block, valid commands are: \who, \what, \where
you cannot start a block command in an inline context, inline context started by \subtitle at line X.
\begin{printout} \begin{source} abc \end{listing} \end{printout}
some more stuff EOF