Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I use TeXworks to write my documents. The spell checker tool works nice, but I'd like to add some words to the dictionary, but I can't find a function for that.

So how can I do that?

share|improve this question
1  
You may want to use a spell checker on your title :-) –  Hendrik Vogt Feb 23 '11 at 16:05
    
@Hendrik Vogt: You are my spell checker ;) –  RoflcoptrException Feb 23 '11 at 16:10

2 Answers 2

up vote 12 down vote accepted

TeXworks uses a spell checker called Hunspell, an engine which is also used e.g. by OpenOffice:

Each dictionary consists of two files with the extensions .dic and .aff. Where these are located depends on your TeXworks installation, on my system (TeX Live 2010, Windows), they are in the directory

C:\Users\<user name>\.texlive2010\texmf-config\texworks\dictionaries

Adding words to the dictionary is quite simple: As the .dic file is a plain word list, you can just add new lines with your own words. If you want the system to recognize different word forms, too, you have to deal with the .aff file - see this explanation for more details. However, simply changing the word list should be enough in most cases.

share|improve this answer
3  
For MikTeX and Windows 7, the directory is C:\Users\<user name>\AppData\Local\MiKTeX\<MiKTeX version>\TeXworks\<TeXworks version>\dictionaries –  FEQ Oct 6 '11 at 1:09
1  
See also tex.stackexchange.com/questions/33139/… –  Stephen Feb 15 '12 at 19:13
1  
This solution is not so convenient. TeXworks should add this feature to their good editor. –  PHPst Jan 29 '13 at 9:13
1  
For MikTeX and Windows 7, actually, the directory is C:\Program Files (x86)\MiKTeX 2.9\hunspell\dicts –  Echeban Feb 27 '13 at 10:49
1  
As stated in TeXworks wiki > Obtaining dictionaries Windows To find the correct folder, use "Help -> Settings and Resources...", navigate to the "Resources" folder given there, and finally put the spelling dictionaries in the dictionaries folder (if it doesn't exist, create it). –  escalator Dec 11 '13 at 9:52

I managed to install the dictionary PT_EU as follows:

I opened the TeX works went to Help -> Settings and Features and clicked C:/Users/Abilio/AppData/Local/MiKTeX/2.9/TeXworks/0.4

After downloading the dictionary did PT_EU http://extensions.services.openoffice.org/en/dictionaries site, downloading a file. Otx. then open this file with 7-zip, and copied the folder "Dictionaries" folder to the 0.4.

Then I copied the entire folder TeXworks (C:/Users/Abilio/AppData/Local/MiKTeX/2.9/TeXworks/), to the following path C:/Users/ Abilio / AppData / Local /. Then I reopen the TeXworks, and the dictionary was already there and it worked.

I have windows Vista 32-bit.

share|improve this answer
    
Welcome to TeX.sx! Diabonas' answer already points to the need of installing the dictionary files in the first directory you mentioned. Why would you need to move the entire TeXworks folder? Doesn't it break the MikTeX tree (for updates and such)? –  henrique Oct 26 '12 at 1:43

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.