[Tex/LaTex] Location of spelling dictionary in TeXShop on El Capitan

dictionariesmacspellingtexshop

I was doing a spell check in TeXShop 3.58 and accidentally clicked on "Learn" for a word that isn't a word ("subalfgebra", in case you're wondering). I'd like to fix this by editing the dictionary manually but cannot figure out where TeXShop keeps its word list. The fake word does not appear in ~/Library/Spelling/LocalDictionary, for example. I have not installed any additional spell checker such as Cocoaspell or Excalibur.

Best Answer

I discovered how to fix the problem. Restart AppleSpell, as follows:

  1. Remove the fake word from ~/Library/Spelling/LocalDictionary.
  2. Quit TeXShop (and any other apps that are using AppleSpell).
  3. Open a Terminal window and type killall AppleSpell
  4. Restart TexShop.

See also: Discussion on Apple Support Forums.