|
Edit Links |
Mac /
MacSpellingCategories: Spellchecking, Mac
Installing aspell on Mac OS XHere are instructions for installing aspell on Mac OS X. They apply, mutatis mutandis, to ispell, and hspell as well. Because you're getting the source files, you'll need to compile and install them. But it's really not hard. Note: You must follow these instructions from an administrative account on your Mac, and you must have the developer tools installed. (Apple's most recent developer tools can be downloaded here; it's a large download, and you may want to use your OS X install CDs to install them instead.) Download both aspell itself and the dictionaries you want from http://aspell.sourceforge.net/. (For a list of supported languages, go here. Make sure these files are decompressed. (If you don't see folders with the appopriate names, doubleclick on the .gz files (and, if that only leaves you with .tar files, on these as well) until you have the folders.) To avoid errors, make sure that the total path to these folders do not include any spaces (e.g. do not put them into "
You'll need to repeat steps 1-5 for each of the dictionaries you want to install. (You'll get separate folders for each.) That's it. Now from within LyX, select Tools > Reconfigure, restart LyX when it tells you to, double check that aspell is selected from LyX > Preferences > Spellchecker, and you should be good to go. Installing cocoAspellIf instead you download and install cocoAspell from http://cocoaspell.leuski.net/ you need to specify the exact path to the dictionary in LyX spellchecking preferences. For example paste the following line into the "Alternative language" field: /Library/Application Support/cocoAspell/aspell6-en-6.0-0/english This appears not to use the multiple dictionaries, as selected in the Spelling Preference Pane. To use multiple dictionaries, navigate to /Library/Application Support/cocoAspell/aspell6-en-6.0-0/ , then inspect the .multi files (e.g. using TextEdit). Find one which is most similar to the selection you are after. Make a copy, then edit it. Add line(s), using syntax similar to the existing lines, with the file name of the relevant dictionary (e.g. "add en-variant_1.rws"). Select this modified .multi file in the LyX preference, e.g.: /Library/Application Support/cocoAspell/aspell6-en-6.0-0/mynewselection.multi Some users have run into problems with not being able to save to the personal dictionary. A work-around is to edit the file at /usr/local/etc/aspell.conf and remove the line "home-dir $HOME/Library/Preferences/aspell". |