What to do if you find a bug

For a start, make entirely sure you have found a bug. Double-check with books about TeX, LaTeX, or whatever you’re using; compare what you’re seeing against the other answers above; ask every possible person you know who has any TeX-related expertise. The reasons for all this caution are various.

If you’ve found a bug in TeX itself, you’re a rare animal indeed. Don Knuth is so sure of the quality of his code that he offers real money prizes to finders of bugs; the cheques he writes are such rare items that they are seldom cashed. If you think you have found a genuine fault in TeX itself (or Metafont, or the CM fonts, or the TeXbook), don’t immediately write to Knuth, however. He only looks at bugs infrequently, and even then only after they are agreed as bugs by a small vetting team. In the first instance, contact Barbara Beeton at the AMS (bnb@ams.org), or contact TUG.

If you’ve found a bug in LaTeX2e, report it using mechanisms supplied by the LaTeX team. (Please be careful to ensure you’ve got a LaTeX bug, or a bug in one of the “required” packages distributed by the LaTeX team.)

If you’ve found a bug in a contributed LaTeX package, you could try contacting the author (if you can find a contact address). However, it’s generally best to treat any package as unsupported, in the first instance, and only try the author after mailing list/news group support has failed you.

If you’ve found a bug in LaTeX 2.09, or some other such unsupported software, you may find help or de facto support on a newsgroup such as comp.tex.tex or on a mailing list such as texhax@tug.org; be careful to include a code example of the failure, if relevant.

Failing all else, you may need to pay for help — TUG maintains a register of TeX consultants.