[Tex/LaTex] How to load dictionaries for the spell-checker in Texworks with texlive

dictionariesspellingtexlivetexworks

I am using TexLive and editing with TexWorks, on Arch. I would like to use the en_GB dictionary, but it is not available in the spellcheck dropdown menu (only the en_US is available). However, I have the dictionary installed:

[rmlopes@baltra]$ sudo find /usr | grep hunspell.en_GB
/usr/share/hunspell/en_GB.dic
/usr/share/hunspell/en_GB-large.dic
/usr/share/hunspell/en_GB.aff
/usr/share/hunspell/en_GB-large.aff

[rmlopes@baltra]$ sudo find /usr | grep hunspell.en_US
/usr/share/hunspell/en_US.aff
/usr/share/hunspell/en_US.dic

The /usr/share/myspell/dicts directory contains these dictionaries as well.

What could be wrong here? How can I force the detection of the dictionaries in TexWorks?

Best Answer

The answer lies in the comments of the texworks package in the AUR:

The list of dictionaries presented in TeXworks is accurate, as far as I can tell. In this screenshot, I have hunspell-en and hunspell-de installed: https://i.imgur.com/fNnmo9J.png

After installing the hunspell-en package, it may look like there are lots of different dictionaries in the /usr/share/myspell/dicts directory, but if you look at where those symlinks point to (/usr/share/hunspell), you'll see that most of them are actually just aliases for the en_GB dictionary. There are only three real dictionaries provided by the hunspell-en package, and TeXworks ends up displaying en_ZW for the en_GB dictionary because of the aliases.

The three english dictionaries that are real (not symlinked) are the American (en_US), Canadian (en_CA), and the large version of the British (en_GB-large).