Tuesday, April 30, 2024
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 1622  / 2 Years ago, wed, october 26, 2022, 6:33:22

I am editing documents in Italian with GNU Emacs and I am used to spell-check my files with ispell. I have an Italian dictionary already installed (the iitalian package for ispell), but it doesn't recognize accented characters, such as "í". For Spanish and Catalan I have castellano8 and catala8 options which recognize accented characters, and also French dictionary works fine. Could anyone tell me how to obtain such an Italian dictionary for ispell?


More From » software-installation

 Answers
5

Finally, the solution I found is to tell Emacs to use aspell instead of ispell. This is an spellchecker that works in the same way as ispell. This can be accomplished by adding this line in the .emacs file:



(setq-default ispell-program-name "aspell")


To install the Italian dictionary I executed



sudo apt-get install aspell-it


and similarly for dictionaries for other languages. All these dictionaries recognize correctly accented characters and work fine.


[#24177] Thursday, October 27, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
leadprogres

Total Points: 298
Total Questions: 114
Total Answers: 139

Location: Samoa
Member since Mon, Nov 8, 2021
3 Years ago
;