I'm copy-editing a rather lengthy set theory book. One thing I'd like to check systematically is whether all left-right unambiguous delimiters (parentheses brackets curly, square and angle) are balanced.
I could write a Perl script to check for this, but was thinking that there might already be a LaTeX package which warns you about unbalanced delimiters. Is there such a thing?
\{
and see if it matches the number of\}
and so on. That would at least guarantee you have an even number of errors...