# All (La)TeX warnings and errors

For testing purposes, I am looking for a comprehensive list of all errors and warnings that TeX, and LaTeX can output. I don't mean errors and warnings produced by all packages, as this would give an ever-changing list, just TeX and LaTeX, which should be stable.

Has anyone ever produced such a list, e.g., for internationalization?

-
The way that messages are included in the LaTeX2e kernel means that internationalisation would be very tricky, so listing the messages would not be so helpful. The LaTeX3 approach is different, so in principal the text can be altered. –  Joseph Wright Jan 26 '13 at 16:57
@JosephWright Thanks. But i18n was just an example, one could also think of a helper script that detects the errors, and displays a more verbose explanation of the error. –  mafp Jan 26 '13 at 17:04
A quick sweep through latex.ltx reveals 32 occurrences of \@latex@warning and 84 of \@latex@error: probably a few too many for an answer! –  Joseph Wright Jan 26 '13 at 17:19
I just used strings which pdflatex  to get a list of all strings inside the pdflatex binary. There are the TeX error message included, but the list is 16k of lines, so I don't post it here ;-) –  Martin Scharrer Jan 26 '13 at 18:46
@MartinScharrer the problem with the string pool is that at least for the low level TeX errors they are fragmented within the string pool as they are constructed from bits and pieces –  Frank Mittelbach Jan 27 '13 at 9:49

As David remarked I had some fun documentation all LaTeX (kernel) errors plus some of the most common packages and the most relevant low-level TeX errors in Appendix B of The LaTeX Companion 2ed. This documentation also contains a lot of information on the most likely reasons why and when you would get each error (and sometimes it is really difficult to figure out when this could happen).

If you can read French: the French translation of the book doesn't have this appendix included because of size issues and so it was put online here as a pdf document (60 pages).

-
Whoa, I've never seen: You can now delete more, or insert, or whatever., I can't go on meeting you like this, One of your faux pas seems to have wounded me deeply..., Pretend that you're Hercule Poirot: Examine all clues,, and a whole lot more in this style. –  mafp Jan 26 '13 at 17:25