IPA

Filters ::: filter_ipa
Maintained by Kevin Wiliarty
The Moodle IPA Filter displays X-SAMPA as unicode IPA. The intent is to offer an easy and fast way to display the International Phonetic Alphabet in Moodle.

IPA v1.1.14 (Build: 2020111100)

Moodle 3.8, 3.9, 3.10
Released: Wednesday, November 11, 2020, 11:10 PM

Moodle IPA Filter

Build Status

Source URL

The Moodle IPA Filter displays X-SAMPA as unicode IPA. The intent is to offer an easy and fast way to display the International Phonetic Alphabet in Moodle.

Installing the filter

  1. Download the latest version of the Moodle IPA Filter and put the ipa folder in Moodle at /filter/ipa.
  2. OR... From your main Moodle directory: git clone https://github.com/kwiliarty/moodle-filter_ipa.git filter/ipa
  3. In Moodle go to Site administration > Notifications and install the filter
  4. Next go to Site Administration > Plugins > Filters > Manage Filters
  5. Enable the IPA filter (or set it to "Off but available")
  6. Test the filter by entering a string such as the following to the content of a label:

    -{D@ "fIlt@r Iz "w@rkIN}-

Fonts

In order to ensure that the IPA displays correctly -- especially the combining marks (diacritics) -- you will want to be loading at least one fully compatible web font. The Moodle IPA filter ships with two fonts that you can call, or you can use a carefully selected Google Web Font. In each case you will need to add a link to a particular style sheet in the HEAD area of Site administration > Appearance > Additional HTML.

Gentium

Gentium is the first font listed in the 'font-family' so it is the font that will display even if you call more than one. Gentium is a slightly fanciful serif font that is very readable even at smaller sizes -- important when you are using unusual glyphs. Sample

To use Gentium add something like this to your Additional HTML:

<link rel="stylesheet" href="URL_TO_YOUR_MOODLE/filter/ipa/gentium.css" type="text/css">

You will need to provide the URL to your own Moodle site as the first part of the href.

Doulos

Doulos is a somewhat compact serif font without unnecessary flourishes. Doulos is listed second in the 'font-family'. Sample

To use Doulos add a line like this to your Additional HTML:

<link rel="stylesheet" href="URL_TO_YOUR_MOODLE/filter/ipa/doulos.css" type="text/css">

Tinos

Tinos is a stylish serif font and one of only a couple Google Web Fonts that handles the spacing for the combining marks well. To use Tinos you would add a line like this to your Additional HTML:

<link rel="stylesheet" href="URL_TO_YOUR_MOODLE/filter/ipa/tinos.css" type="text/css">

Usage

Enclose X-SAMPA in curly braces with hyphens outermost: "-{" opens a stretch of X-SAMPA, and "}-" closes the stretch.

Version information

Version build number
2020111100
Version release name
v1.1.14 (Build: 2020111100)
Maturity
Stable version
MD5 Sum
2694cf651eff7bf89f6ffcd4278a2f78
Supported software
Moodle 3.8, Moodle 3.9, Moodle 3.10
  • Latest release for Moodle 3.8
  • Latest release for Moodle 3.9
  • Latest release for Moodle 3.10

Version control information

Version control system (VCS)
GIT
VCS repository URL
VCS tag
v1.1.14

Default installation instructions for plugins of the type Filters

  1. Make sure you have all the required versions.
  2. Download and unpack the filter plugin.
  3. Place the folder (eg "myfilter") in the "filter" subdirectory.
  4. Visit http://yoursite.com/admin to finish the installation