[Tex/LaTex] LyX Install Not Recognizing Installed Spellcheck Dictionaries


I just installed LyX on my Windows 10 machine. I have Language Settings > Language > User Interface package set to "Default" (I have also tried English (UK)), package set to "Automatic" and there is \selectlanguage{$$lang} in "Command Start." The spellchecker engine is listed as "Hunspell." I also have en_US.dic, en_US.aff, en_UK.dic, and en_UK.aff installed in Resources > Dict.

When I spellcheck, there are no words in the dictionary. None of the misspellings are highlighted.

Is the Hunspell package installed automatically via the standard installation with LyX? I'm a bit LyX-phobic — I can't use the LyX command prompt. Is there a package I need to install in MiXTeX? What the — is going on, lol?

Thanks so much for your help!

Best Answer

Thanks Scott! Your answer about changing the Hunspell path in Tools > Preferences > Paths worked for me. I pointed the path to

"C:\Program Files (x86)\MiKTeX 2.9\hunspell\dicts"

Lastly, had to restart Lyx and the spell checking started working.

I tried pointing it to the dict files in the Lyx resources directory ("C:\Program Files (x86)\LyX 2.1\Resources\dicts"), but that didn't work. Mine was a clean install of Lyx 2.1.4 on Windows 10.

Scott, since you're working in the Lyx project, I think you should have them set the default Hunspell path on the Windows install to the correct one, instead of leaving it blank. I just clean installed it a few days ago, so I don't think I touched any of the settings to affect this.

Also note that at least for me, the dict files in the MikTex directory were a few years old, as opposed to the ones in the Lyx resources directory which were much newer.

(Sorry I'm replying this as an answer, but I just joined and I don't have enough reputation to comment.)