4 ms·
LaTeX errors are 'well defined', i.e. they have a set way they appear, so they can be parsed by a machine. They aren't really meant for you, as a user, but rat
by shakna 8y ago
LaTeX errors are 'well defined', i.e. they have a set way they appear, so they can be parsed by a machine.
They aren't really meant for you, as a user, but rather for whatever is calling LaTeX as a library. It's one of the reasons that an IDE is recommended rather than a text editor.
You can see a good breakdown here. [0]
[0] https://en.wikibooks.org/wiki/LaTeX/Errors_and_Warnings https://en.wikibooks.org/wiki/LaTeX/Errors_and_Warnings
- ISL 8y agoOne could make a similar argument for compilers, too, but can they not have great error messages?
- shakna 8y agoThe error messages from LaTeX are intended to be parsed by a machine. They aren't meant to be the first stop. If we want to compare it to other compilers, LaTeX outputs similar error messages to C++, that is, it gives you the error tree, not an error message. It's output isn't meant to be the final stop for the user. It's one stop short.
- ISL 8y agoIs there a LaTeX wrapper that gives comprehensible error messages? ("Sure looks like you left off a } on line 30")