TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In texmaker, though I have configured the dictionary, i cannot still check the spelling, any idea??

enter image description here

share|improve this question
1  
I use Texmaker as well. I sometimes tried the check spelling option. But for me it didn't work either. – Dave Mar 10 '13 at 16:29
2  
Depending on the Version of Texmaker you’re using (the current is 4.0), you might have to restart after switching the dictionary. If that doesn’t help, could you specify what the expected behavior is versus the behavior you’re getting? – doncherry Mar 10 '13 at 18:47
1  
i did it but getting the same error – Noor Mar 10 '13 at 20:53
    
@Noor Which error? (Don’t forget to @username other users when responding to their comments.) – doncherry Mar 11 '13 at 3:15
    
@Noor i have my dictionary at /usr/share/texmaker/en_US.dic its provided by TeXmaker and its working. – texenthusiast Mar 11 '13 at 3:19

/usr/share/hyphen are not the right directory for spelling dictionaries. The spelling dictionaries are in the /usr/share/myspell directory and spell dictionaries are in fact always composed of 2 files: the .dic (which must be selected) and the .aff file.

share|improve this answer

Inside /usr/share/myspell/dicts you should have links to both the .dic AND the .aff file of the language (e.g. en_US or en_GB).

/usr/share/myspell/dicts$ ls -og |  grep /en_US
lrwxrwxrwx 1 24 Jan 30 11:21 en_US.aff -> ../../hunspell/en_US.aff
lrwxrwxrwx 1 24 Nov  3 13:03 en_US.dic -> ../../hunspell/en_US.dic

Then from configuration, make TexMaker "Spelling dictionary" point to the .dic file:

/usr/share/myspell/dicts/en_US.dic

This is the description/explanation from MySpell Wikipedia entry:

The spell checking is done using the .aff file for the locale together with the .dic file. The .dic file is a list of words along with a group of letters which refer to the affixes found in the .aff file. This saves space because instead of having include all forms of a word, like jump (jumping, jumps, jumped), the .dic file will include the word once and the references to the affixes in the .aff file allow the construction of all the other forms.

If you don't have an .aff file, you can get one the en_US .dic/.aff for Hunspell from wordlist.sourceforge.net.

share|improve this answer

I had the same problem and in my case I had to give a new path /usr/share/hunspell/en_US.dic to the dictionary since /usr/share/hyphen/hyph_en_GB.dic was non existent (on my ubuntu 14.04).

share|improve this answer
    
This worked for me! Thank you – Juan David Jun 9 '15 at 14:40
    
Worked for me on Ubuntu 14.04. Thanks!! :) – dksahuji Dec 23 '15 at 11:31

I am using Texmaker 4.1 on Ubuntu 14.04, and faced a similar problem; turns out that myspell-en-gb was not installed. Simple fix: sudo apt-get install myspell-en-gb and make sure the dictionary path is correctly set as /usr/share/myspell/dicts/en_GB.dic in Texmaker's configuration window.

share|improve this answer

I had the same problem but the .dic files that I used didn't work.

Texmaker Error : Can’t open the dictionary

To solve this error you need to first install the spell-checker

Use:

sudo apt-get install myspell-de-de myspell-en-us

or use sudo apt-get install myspell-*

Then find the dictionary.

locate *.aff

In my computer there were two directories that contained dictionary files /usr/share/hunspell/ and /usr/share/myspell/. On my computer the hunspell dictionaries worked while only one of the myspell dictionaries worked. Probably the .dic file from myspell doesn’t work without a corresponding .aff...

now just chose the .aff file that you need and enter the path to that file into texmaker at options --> configure texmaker --> editor --> spelling dictionary and then click ok.

It should work now, just right click on your "code" and click on check spelling to make sure it's working..

Here are some good instructions: http://www.scaini.org/blog/texmaker-can-t-find-dictionary/

share|improve this answer

To configure the spell checker: "Configure Texmaker" -> "Editor" -> "Spelling dictionary" -> click on the button at the end of the line to select the dictionary with the file browser. From the list pick the required dictionary; for my case US-dic.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.