Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

Is it possible to spell check PDF files? In Preview.app the "Edit > Spelling & Grammar > Check Document Now (⌘;)" is disabled. I'm working on a LaTeX document in Emacs and would like to use the OS X spell checker. A solution for accessing the built in spellchecking dictionary from Emacs would also be acceptable.

share|improve this question
add comment

1 Answer

up vote 1 down vote accepted

I would install aspell with a package manager like brew and then run that on the .tex file. Unless I'm mistaken emacs has support for aspell built-in.

You can also turn on spell checking in your terminal (iterm2) or emacs GUI.

share|improve this answer
    
That's a good list of options you are mentioning. Can you please add some details on how to install aspell and/or turn on spell checking in Terminal? –  patrix Sep 16 '12 at 9:09
    
This did not completely answer my question since it uses a custom dictionary file and not the OS X dictionary. But it is possible that this is still the best solution so I'll accept it for now :) –  Adam Bergmark Sep 16 '12 at 15:18
1  
@patrix I am on OS X and installed aspell with homebrew brew install aspell --lang=en. I then added this to my .emacs (setq ispell-program-name "/usr/local/bin/aspell") (setenv "ASPELL_CONF" nil) (autoload 'flyspell-babel-setup "flyspell-babel") (add-hook 'latex-mode-hook 'flyspell-babel-setup) Spell check an entire buffer with M-x flyspell-buffer and check a word for spellings with M-x ispell-word, choose an alternative from the numbers or add to your dictionary with i. I'm using Carbon Emacs. Other dists my need you to install emacs' aspell manually. –  Adam Bergmark Sep 16 '12 at 15:19
    
stackoverflow.com/a/19026248/240004 has good instructions on how to install emacs, aspell, and homebrew in a manner I prefer. –  ranman Dec 4 '13 at 19:44
add comment

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.