On Wed, Feb 28, 2001 at 09:36:16AM +0100, José Alberto Lobo wrote: > I have a problem to set up an emacs-ispell connection which works > with Spanish for TeX/LaTeX files. There are two spanish dictionaries > in the emacs edit>spell menu --the second one suitable to check for > 8-bit characters. > > It appears that the flag -t is intended to cause ispell to pro- > perly interpret TeX/LaTeX commands and act accordingly. While this > works for English it does NOT fully work for Spanish. Thus for example > the command > > ispell -t -d castellano spanish_file.tex (1) > > issued from an xterm does not recognise TeX style accentuated char- > acters as parts of words. If the following is issued instead > > ispell -T TeX -d castellano spanish_file.tex (2)
I have the same problem with afrikaans (for which I developed my own ispell dictionary). ispell -T TeX is not working for me. ispell -T tex and ispell -t behaves identically which like this: On the word re\"enwolke it will select re as a word and nwolke as the next word which is not what I want. My solution is to convert my file with emacs' iso-tex2iso macro. Latex can compile that if you use \usepackage[latin1]{inputenc}. I then then use ispell with the -t -B options on that buffer. If you are in emacs in an X-window, click on Help|Customize|Apropos and search for dictionary which should result in: ------------------------------------------------------ Ispell Dictionary Alist: [Show] State: hidden, invoke "Show" in the previous line to show. An alist of dictionaries and their associated parameters. [More] Ispell Local Dictionary Alist: [Show] State: hidden, invoke "Show" in the previous line to show. Contains local or customized dictionary definitions. [More] Ispell Personal Dictionary: [Hide] nil [State]: this option has been set and saved. File name of your personal spelling dictionary, or nil. [More] ---------------------------------------------------------- Click on the first [Show], search for your dictionary and modify whatever you want. Remember to save it before you exit. Johann -- J.H. Spies - Tel. 082 782 0336. Posbus 4668, Tygervallei 7536 "The LORD is my shepherd; I shall not want. He maketh me to lie down in green pastures: he leadeth me beside the still waters, he restoreth my soul...Surely goodness and mercy shall follow me all the days of my life; and I will dwell in the house of the LORD for ever." Psalms 23:1,2,6