0

I am new to the community and I have a question about the grammar check in TeXstudio. As we know, some words are not recognized by the grammar checker, e.g., binarization. I am not very comfortable when the red underlines keep popping up. Also, in this case, we might actually have misspelling problems.

My question is that if there is a way to ignore some specific words such that these underlines could disappear. Some people say I should find .ign file and add the words into the file. However, I could not find this file in the dictionaries.

12
  • Right click on the word, and "Add to dictionary"? As for the .ign file, it is in %appdata%/TeXstudio/dictionaries
    – Troy
    Commented Apr 22, 2018 at 6:46
  • (see step 2a in How to set up thesaurus in TexStudio? for a picture of where the dictionary files are.
    – Troy
    Commented Apr 22, 2018 at 6:52
  • @Troy The .ign should be there but it is not. I do not know why it is not there.
    – ZHUANG
    Commented Apr 23, 2018 at 2:26
  • Ok, what about my first suggestion? Did you try that?
    – Troy
    Commented Apr 23, 2018 at 7:03
  • The path is found. The .ign file is not there or it is somehow covered. I try showing the hidden files. It is still not there.
    – ZHUANG
    Commented Apr 23, 2018 at 9:04

1 Answer 1

4

There are two ways to achieve this:

  1. The most straightforward way is to right-click the wrong-grammar word, e.g. binarization, and select Add to dictionary in the context menu.

enter image description here

  1. The other thing you can do is to manually add the wrong-grammar word, e.g. binarization to the list of ignored words stored in the .ign file (should be in the folder %AppData%/Roaming/TeXstudio/dictionaries -- see step 2a in How to set up thesaurus in TexStudio? for more details).

    In your case, since you don't have an .ign file, you can just create one yourself. Start up a new text file (in Notepad, TeXstudio etc.), type in binarization, and then save as <language>.ign. For example, en_GB.ign. If you have more than 1 word to ignore, place each new word on a new line. Restart TXS and now the dictionary should ignore the words inside the .ign file.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .