/tifinagh-tools

Tools for tifinagh input

Primary LanguageJavaScriptMIT LicenseMIT

Set of tools for input of ⵜⵉⴼⵉⵏⴰⵖ (tifinagh), and transliteration into latin alphabet.

Javascript script

The transliterator.js file is a javascript code for parsing the whole file searching for text written in tifinagh, and transliterate it to latin alphabet . It provides functions to add a tooltip for Bootstrap v4.1 with the generated transliteration.

Jekyll plugin

The tifinagh_tag.rb file is a plugin for Jekyll.

To use it, just place the .rb file inside your _plugins/ directory, then use it inside your markdown files with

{% tifinagh ⴰⵡⴰⵍ %}

Which will produce

<span data-toggle="tooltip" title="awal">ⴰⵡⴰⵍ</span>

"ⴰⵡⴰⵍ" will therefore be converted to "awal" and placed inside a tooltip. The markup integrates in a Bootstrapv4 theme.

Input method for Emacs

The file tifinagh.el provides an input method for the Emacs editor. To use it, load it inside Emacs.

(load-file "tifinagh.el")

Then type M-x set-input-method and select tifinagh.

Notes

The letter ⵄ (corresponding in arab to ع) in tifinagh is transliterated into "3" (character for number three).

TODO