pattern checking for common \defi* or \trefi* problems
I often write \trefi{foo}{bar}
and (less often) \trefiii{foo}{bar}
instead of \trefii{foo}{bar}
. It would be great to be able to check for that.
There are other problems as well: sdf. \trefi{foo}
should usually be sdf. \Trefi{foo}
, where the .
could be on a separate line or something like \begin{omtext}
or a new paragraph (double new line).
Not urgent, but would be very helpful.