30 January 2022

Fixing the spellcheck error in TexMaker when using Ubuntu 20

Spellcheck is available in TexMaker in the Edit menu. However, running it throws up this error: "Error: Can't open the dictionary".

 

A bit of searching revealed that myspell is not available, but hunspell is. You'll find the en_US.aff and en_US.dic files in /usr/share/hunspell.

Now, in TexMaker's menu, go to Options > Configure TexMaker > Editor > Spelling Dictionary, and enter /usr/share/hunspell/en_US.dic.

Viola! Now when you run spellcheck, it'll work.

Tip: Instead of using TexMaker from the beginning, I'd recommend first writing the paper in Lyx (which makes it as easy as writing a paper in MS Word) and when you've written the paper you can export it to LaTeX and then use TexMaker.

Update 2026: It may be easier to use OpenAI's Prism

2 comments:

deepu said...

Thank you so much..

Nav said...

You are most welcome, Deepu.