Niklas Huldén <nhul...@...> writes: > In your program folder you have a program called "Textedit". Use that > program to open the file "/usr/local/etc/aspell.conf". > And as your earlier post said: > Remove the line "home-dir $HOME/Library/Preferences/aspell" (line 38 > including blanks), or disable it by adding a "#" sign at the begining. > > Save the file, exit Textedit and start LyX again
I finally figured out a way to do this. In Mac OS X you cannot simply open hidden files in TextEdit (or any other standard text editors). Here are the steps that finally allowed me to add words to my dictionary: (1) Start Terminal. Copy or type the following line: open /usr/local/etc/aspell.conf This will open the hidden file in your predefined text editor (most likely TextEdit, unless you have donwloaded some editor). (2) Go to line 38 or look for the line home-dir $HOME/Library/Preferences/aspel (3) Add a # in front of the line (4) Chose "File > Open" from the menu to view the file aspell.conf and click once on the file in the dialog box to select it (do not double click) (5) Apple + I (press the key with the Apple logo or command key and the "i" key together). This brings up the "About..." box. At the very bottom, click on the lock symbol to be able to make changes. It will ask you for your administrative password. Now you can change the file to "read and write" in all three instance (just above the lock symbol). (6) After you have made the changes in your text editor (see (2) and (3)), save the file (which you now can. If you haven't done step (4) and (5) you will get the notification "read only." (7) Make sure, that in Lyx you have left the path in "Preferences > Languages Settings > Spellchecker" empty. If you have installed Aspell through Cocoaspell, then make sure that you have /Library/Application Support/cocoAspell/aspell6-en-6.0-0/english.alias in your "Alternative Language" path. All the other paths need to be empty. (8) Restart Lyx. Try the spelling checker now and learn some words. Check the file again. For me, this did the trick. Hope it will too, for you!
