1

I am using Hunspell with Emacs. In my init.el I set the dictionary list as follow:

(setq ispell-local-dictionary-alist
      '(
        (nil       "[A-Za-z]" "[^A-Za-z]" "" nil ("-d" "en_US") nil utf-8)
        ("english" "[A-Za-z]" "[^A-Za-z]" "" nil ("-d" "en_GB") nil utf-8)))

If I spell check this TeX file:

\documentclass {paper}

\begin{document}
The word i.e. and contracted words aren't accepted. 
\end{document}

% Local IspellDict: english
# LocalWords: 

the words "i.e." and "aren't" are not recognized, as every word containing dots or single quotes. Setting OTHERCHARS in the dictionary list to "['.]" does not help.

Anyway, if I change the dictionary "en_GB" to "en_US", it works.

So it seems that the problem is in my dictionary. I downloaded it from the link:
http://en-gb.pyxidium.co.uk/dictionary/en_GB.zip found on the site: http://wiki.openoffice.org/wiki/Dictionaries .

  • This doesn't seem to be a LaTeX problem at all. – Seamus Jan 23 '13 at 18:00
  • 1
    @Seamus: I could delete it, but I wonder, there are 184 questions concerned with using LaTeX with Emacs/AUCTeX, how is this one different from the others? And I should also note that there are 92 questions for TeXnicCenter, 47 for Texstudio, 54 for Winedt etc. Since TeX is system that doesn't come with an editor of its own, the community seems much interested to the editors through which one can produces the actual documents. – antonio Jan 23 '13 at 19:37
  • @antonio Good points! Perhaps we can discuss it on TeX - LaTeX Meta? – Stefan Kottwitz Jan 23 '13 at 21:12
  • @StefanKottwitz: I did: meta.tex.stackexchange.com/questions/3204/… – antonio Jan 23 '13 at 23:16
  • 2
    This issue has been around for years: you see the same in Firefox using the en-GB dictionary (see bugzilla.mozilla.org/show_bug.cgi?id=318040). Thus there is not much to say about it at the TeX end, I'm afraid. – Joseph Wright Jan 25 '13 at 14:22

Browse other questions tagged or ask your own question.