The Lumber Room

"Consign them to dust and damp by way of preserving them"

A better keyboard layout for typing IAST on Mac OS X (based on EasyUnicode)

with 6 comments

To type IAST (English letters with diacritics, for Sanskrit transliteration) on Mac OS X, perhaps the easiest way, rather than to use transliteration tools, is to get a keyboard layout that does it. Just to be clear, this is the alphabet we want:

a ā i ī u ū ṛ ṝ ḷ ḹ e ai o au ṃ ḥ
k kh g gh ṅ
c ch j j ñ
ṭ ṭh ḍ ḍh ṇ
t t d dh n
p ph b bh m
y r l v ś ṣ s h

In other words, the special characters needed are:

  • Letters with macron above: ā ī ū ṝ ḹ plus it may be occasionally useful to have ē and ō as well
  • Letters with dot below: ṭ ḍ ṇ ṣ (the retroflex consonants), also the vowels ṛ ṝ ḷ ḹ, plus ṃ and ḥ (anusvāra)
  • Letters with other marks above: ṅ ñ ś

There is a keyboard layout that does this: It’s called “EasyUnicode”, created by Toshiya Unebe (Nagoya University), and is documented at http://ebmp.org/p_easyunicode.php (“EasyUnicode version 5″ it says) (PDF version), and you can download it from http://www.ebmp.org/p_dwnlds.php (EBMP) (=Early Buddhist Manuscripts Project, University of Washington) or also http://www.palitext.com/subpages/PC_Unicode.htm “Pali Fonts for PC and Unicode”. (Page in Japanese.)

This keyboard layout is just like the usual (US English) layout ordinarily, but when you hold down the Alt (Option) key and press a, you get ā, similarly Option+s gives ś, Option+n gives ñ and Option+g gives ṅ, etc. The full mapping is available along with other documentation in the download above.

This is very convenient. One issue with the layout is that also overrides a lot of keys for no apparent reason (Ctrl-A / Ctrl-E etc. stopped working for me), so I got Ukelele from SIL, and wrote my own keyboard layout. I’ve called it EasyIAST, and it is available here for now. I plan to add a README etc. and distribute it in some proper way later; for now you can use the instructions from EasyUnicode above. If you find it useful and/or make any improvements, please let me know as well.

If some time is available, it would be good to make a Devanagari keyboard layout along the same lines.

About these ads

Written by S

Tue, 2013-01-22 at 11:28:55 +05:30

Posted in sanskrit

Tagged with , ,

6 Responses

Subscribe to comments with RSS.

  1. Thanks for sharing this information. I was looking for layout information which is easier to get used to for long time.

    govindkanshi

    Thu, 2013-03-07 at 15:25:57 +05:30

    • Glad to have helped. If you try out either EasyUnicode or my EasyIAST above, and have any reactions, I’d be interested in knowing them. Regards,

      S

      Thu, 2013-03-07 at 22:52:56 +05:30

  2. [...] now have three input methods: US, EasyIAST (see earlier post), and MacUIM [...]

  3. Hi, I downloaded ukelele to see if I can create a keyboard font for siddhanta/chandas to be able to type vedic easily on the mac. Chandas has an inscript keyboard for windows and is one of the few fontsets that have a comprehensive list of symbols for vedic including some of the characters required for SYV. Just wanted to know how difficult/long it would take to create a keyboard layout and if you have any steps that document the process of using ukelele.

    Vidya

    Tue, 2014-07-08 at 20:36:02 +05:30

    • Hi Vidya,

      The keyboard layout inserts characters, which will get displayed in whatever font is available on your system. So it’s only a function of the (Unicode) characters in Vedic… Good luck and tell me how it goes.

      S

      Tue, 2014-07-08 at 21:45:33 +05:30

    • On re-reading this comment, it seems I may have misunderstood.

      To answer the last sentence: it doesn’t take very long to create a keyboard layout, probably about 15 minutes or so. Using Ukelele was mostly straightforward as I remember it, but if I ever use it again I’ll be sure to document the steps I took, and post here.

      Regards,

      S

      Tue, 2014-11-11 at 01:51:23 +05:30


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 75 other followers