Is there any package for texlive to check spelling and replace the right spelling in an interactive way? I can use command line 'aspell' or 'ispell' checker but these do not modify the .tex file only correct for the instant compilation.

  • Yo can use the open/libre office dictionaries in TeXmaker/TeXstudio also. But I'm not sure if this satisfy your needs. – Aradnix Sep 2 '14 at 16:32

In the terminal, you can use aspell as an independent program to spell-check TeX files, outside of any editor. The -t option tells the program to ignore the TeX commands.

 aspell -t check file.tex
  • I know that. As I mentioned for a long technical document writing this is not great as I have to do this after each editing of the tex file. I need something that will check and correct or replace permanently in the texfile. – rafi_sazzad Sep 2 '14 at 16:14
  • Aspell, when used as a separate program in the terminal, does change the .tex file. This is unrelated to the text editor you use. You would have to save the file in your text editor and then run this command separately. When you reopen the file, the misspelled words will be corrected as you directed aspell to do. – musarithmia Sep 2 '14 at 16:23
  • Oh may be I did not close it in the tex editor that's why the replacement had not taken place!! Thank you !! – rafi_sazzad Sep 2 '14 at 16:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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