Maybe I don't understand the purpose of MathIMG, but I don't see any reason why you can't just replace, for example,
...you might write $IMGA on your paper when you meant $IMGB,
but that is actually incorrect.
... you might write on your paper when you meant , but that is actually incorrect.
Also, out of curiosity, why don't you want to use parserOrientation.pl?