rdong@klein.msri.org (Rui-Tao Dong ???) (02/05/91)
I have been using ispell in emacs for a while. It works great. However, I have problem w/ detex. Like every mathematician, I use TeX a lot. I would like to have emacs detex ( or delatex ) before it does ispell. I looked at the LISP codes in ispell.el (although I don't know any LISP.) and replaced "tr" by "detex". It works fine for TeX files, but causes trouble for non-tex file. Every time it encounters a "$", detex thinks it as the beginning of a mathemtical formula and looks for the match "$" at the end, which it can't find. My questions are: a) Is there a newer version of ispell.el which fixes this problem? b) If not, can some LISP experts on the net hack ispell.el and fix it. What I like to have is that when emacs is in TeX (or LaTeX) mode, it will switch on detex. Otherwise, it will do ispell directly. I have seen a LISP version of detex. I don't know if it's better than the unix detex. Thank! ------------------------------------------------------------------------- Rui - Tao Dong | (415) 237 - 7628 (H) 110 Lakeshore Court | (415) 643 - 6048 (O) Richmond, CA 94804 | rdong@borel.msri.org -- Regards, -------------------------------------------------------------------------