mathas_a@maths.su.oz.au (andrew) (05/27/90)
Some how to top of my posting didn't make it. Here it is: Some time ago some one was after a program to remove (La)TeX commands from a (La)TeX file. I wrote the following simple c program to deal with the problem. It has the advantage that it checks the spelling of macros like \def\meas{measuable} (ie. it would say that "measuable" is incorrectly spelt). The program doesn't cope with LaTeX array environments however, so you get spelling errors like "llrr" etc. So yes, the code can be improved and tidied up, but I'll leave that as an exercise.