Using ispell -t on a .tex file generally does a good job of figuring out what is TeX and what isn't but it seems to find misspellings on commands that are generally going to be misspelled, i.e.
\includegraphics{myfig.jpg}
Gives a typo since myfig nor .jpg are in the dictionary. I think it would be silly to add them for every case. Is there a way to get ispell to ignore whatever is in a set of tags that I define?