Most modern spellers know about TeX commands and how to strip them off of a file before spelling them. For example, you can use
ispell -t filename.tex
but if you insist on using spell or have no access to other spellers, you can detex a file and pipe it through spell with the command:
detex filename.tex | spell
Last updated 7 July 2003