Note: You are currently viewing documentation for Moodle 1.9. Up-to-date documentation for the latest stable version is available here: Configuring aspell on Mac OS X.

Configuring aspell on Mac OS X: Difference between revisions

From MoodleDocs
No edit summary
mNo edit summary
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
This procedure should get aspell up and running on Mac OS X:
This procedure should get aspell up and running on Mac OS X:
* Install the Xcode Tools from your OS X DVD. On the Tiger DVD, this the XCodeTools.mpkg file located in the XCode Tools folder. Earlier versions of OS X may have this on a separate disc.
* Install the Xcode Tools from your OS X DVD or from Apple's developer site.  (See MacPorts wiki: http://trac.macosforge.org/projects/macports/wiki). On the Tiger DVD, this is the XCodeTools.mpkg file located in the XCode Tools folder. Earlier versions of OS X may have this on a separate disc.
* Install DarwinPorts from http://darwinports.opendarwin.org/getdp/ if you don't already have it (DarwinPorts is a package system for configuring and installing Unix software on OS X).
* Install MacPorts from http://www.macports.org/ if you don't already have it (MacPorts is a package system for configuring and installing Unix software on OS X).
* Open a terminal window and enter:
* Open a terminal window and enter:
:sudo port install aspell
:sudo port install aspell
Line 7: Line 7:
* Next, enter:
* Next, enter:
: sudo port install aspell-dict-en
: sudo port install aspell-dict-en
*This above example installs the English dictionary (en).  There are [http://darwinports.opendarwin.org/ports/?by=name&substr=aspell&Search= several others available]. If you want to install one of those, replace aspell-dict-en with the appropriate file name.
*The above example installs the English dictionary (en).  There are [http://darwinports.opendarwin.org/ports/?by=name&substr=aspell&Search= several others available]. If you want to install one of those, replace aspell-dict-en with the appropriate file name.
* In your Moodle installation, go to Administration/Configuration/Editor settings. In the "aspellpath" field, enter:
* In your Moodle installation, go to Administration/Configuration/Editor settings. In the "aspellpath" field, enter:
:/opt/local/bin/aspell
:/opt/local/bin/aspell
Line 14: Line 14:
*Click Save changes again. That's it. :-)
*Click Save changes again. That's it. :-)
*The spell check button should now appear in the WYSIWYG HTML editor anywhere it's used in Moodle.
*The spell check button should now appear in the WYSIWYG HTML editor anywhere it's used in Moodle.
 
==See Also==
[[spell_check|Spell Check]]
[[Category:Administrator]]
[[Category:Administrator]]
[[Category:Installation]]
[[Category:Mac OS X]]
[[Category:Mac OS X]]

Latest revision as of 13:32, 30 November 2009

This procedure should get aspell up and running on Mac OS X:

  • Install the Xcode Tools from your OS X DVD or from Apple's developer site. (See MacPorts wiki: http://trac.macosforge.org/projects/macports/wiki). On the Tiger DVD, this is the XCodeTools.mpkg file located in the XCode Tools folder. Earlier versions of OS X may have this on a separate disc.
  • Install MacPorts from http://www.macports.org/ if you don't already have it (MacPorts is a package system for configuring and installing Unix software on OS X).
  • Open a terminal window and enter:
sudo port install aspell
  • When prompted, enter the administrator password. This will download, build, and install the aspell package. It may take quite some time to run, so don't lose patience.
  • Next, enter:
sudo port install aspell-dict-en
  • The above example installs the English dictionary (en). There are several others available. If you want to install one of those, replace aspell-dict-en with the appropriate file name.
  • In your Moodle installation, go to Administration/Configuration/Editor settings. In the "aspellpath" field, enter:
/opt/local/bin/aspell
  • Click "Save changes"
  • You should be now able to set "editorspelling" to Yes. Make sure the second field (the dictionary) is set to "en" for English (or the abbreviation for whatever other language you installed).
  • Click Save changes again. That's it. :-)
  • The spell check button should now appear in the WYSIWYG HTML editor anywhere it's used in Moodle.

See Also

Spell Check