How to type transliterated Sanskrit on the Mac easily

The easiest way to type transliterated Sanskrit I have found is to use the small app aText.

aText is a text expander app. It can replace or extend any text you typed. This will probably also work with other text expanders like TypeIt4Me, TextExpander and others. aText costs 5 Euro in the Mac App Store. I would recommend to buy it from the developers site (http://www.trankynam.com/atext/) though as that version is more capable as it is not restricted by the Mac sandboxing.

Once installed you find the aText symbol on the right hand side of the Finder’s menu bar.

Bildschirmfoto 2015-11-16 um 13.57.34

All you need to do now is to create a new group.

  1. Choose “Show aText” to open aText if it is not already open.
  2. Click on “New Group”.
  3. Give the group a name like “Sanskrit Transliteration”.
  4. Make sure the “Expand” pop up is set to “Immediately”.
  5. Choose “Any character” for the pop up “If abbreviation is placed after”.
    This is important as this makes sure you can type along without having to type a trigger key like space, tab or return, thus ensuring a normal typing.

Now you can set up the shortcut snippets.

  1. Make sure you have selected the Sanskrit Transliteration group you just created.
  2. Click on the + icon to create a new snippet.
  3. Type the abbreviation you want to use into the abbreviation field, for instance type t. to get a ṭ.
  4. Type the actual character the abbreviation should get replaced with, the ṭ.
  5. Continue to create new snippets until you have covered all special latin characters used.

Following screenshot shows you what snippets I use.

conversions

For any accent under a character the accent-indicator (dot, hypen, etc.) is used after the latin character.

For any accent above a character the accent-indicator is used before the character.

So a dot below a character is always written r. l. m. h. t. d. n.
This gets replaced then by ṛ ḷ ṃ ḥ ṭ ḍ ṇ

For a dot above, type the dot before the character like .m to get ṃ

For a macron type a hyphen before the characters: -a -i -u and -r. and -l.
You get ā ī ū ṝ ḹ

For ṝ and ḹ you will get a small pop up  from which you can select if it should be expanded to ṝ and ḹ or ṛ and ḷ

To get the ñ type ~n

To get the ś type ‘s

Use the systems character palette to insert the special characters ṭ ḍ and so on.

If you don’t need to write in Transliteration anymore, disable aText in its menu so you don’t get this replacements when typing in other languages.

Now you can write transliterated Sanskrit in all applications, at least all applications that behave properly and are using the standard Mac frameworks for programming their apps, which should be the vast majority.

Advertisements

About Bhusunda

My blogs: http://andersalsesscheint.wordpress.com http://bhusunda.wordpress.com https://sanskritstudiesblog.wordpress.com http://skripteditor.wordpress.com
This entry was posted in Sanskrit, Transliteration, Typing. Bookmark the permalink.

2 Responses to How to type transliterated Sanskrit on the Mac easily

  1. Kumara says:

    You can simply use LipikaIME as you have indicated in your previous post and choose Output Script to be either IPA or ISO-15919 and you will get Transliterated output. Is that not simpler?

    Liked by 1 person

  2. Bhusunda says:

    Oh, indeed, completely overlooked the fact that you can change the Input and output for typing!
    Thanks for making me aware of this. 🙂

    Like

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