Type Romanized Pali and Sanskrit in Ubuntu 9.10, Windows, and Openoffice.org 3.2
Linux, Tech, Theravada Study March 27th, 2010
1- Type Romanized Pali and Sanskrit in Ubuntu 9.10 or newer
This part was primary taken from this post, I just customize and add more details here.
Ubuntu 9.10 changed input method from scim to IBus. IBus is more flexible and powerful than scim.
Setp 1: Enable IBus
Form Menue, System –>Administration –>Lanuage Support
Under “Keyboard input methos system”, choose ibus.
Step 2: create a new input method file for Transliteration
Updated: from Ubuntu 10.10 the m17n input method was dropped, so you need to install ibus-m17n first. Then create the file Pali-Sanskrit-translit.mim as the next step.
sudo apt-get install ibus-m17nsudo gedit /usr/share/m17n/Pali-Sanskrit-translit.mim
Note: I renamed all of them to “Pali-Sanskrit-translit” for easily understanding it.
The following is the complete content of the file which can be easily copied and pasted and tweaked according to your taste. Save it, before closing the file:
;;; <li> Pali-Sanskrit-translit.mim
;;;
;;; Input method for Pali or Sanskrit transliteration using the ITRANS scheme.
(input-method t Pali-Sanskrit-translit)
(title "Pali-Sanskrit-translit")
(map
(trans
("aa" "ā")
("AA" "Ā")
("ii" "ī")
("II" "Ī")
("uu" "ū")
("UU" "Ū")
(".r" "ṛ")
(".R" "Ṛ")
(".rr" "ṝ")
(".RR" "Ṝ")
(".l" "ḷ")
(".L" "Ḷ")
(".ll" "ḹ")
(".LL" "Ḹ")
(".M" "ṁ")
(".m" "ṃ")
(".h" "ḥ")
(".H" "Ḥ")
(";n" "ṅ")
(";N" "Ṅ")
("~n" "ñ")
("~N" "Ñ")
(".t" "ṭ")
(".T" "Ṭ")
(".d" "ḍ")
(".D" "Ḍ")
(".n" "ṇ")
(".N" "Ṇ")
(";s" "ś")
(";S" "Ś")
(".s" "ṣ")
(".S" "Ṣ")
))
(state
(init
(trans)))
Step 3: Add Pali-Sanskrit-translit to IBus
Note: If you are already running Ibus, to see “Pali-Sanskrit-translit” in Other category, you may have to Restart Ibus again by simply Left_Click on Ibus icon on Panel, select Restart.
From menu, System –> Preferences –> IBus Preferences –> add input method: under the “Other” category, choose “Pali-Sanskrit-translit”, then click Add, and Close. Now restart Ibus (by Left-click on Ibus icon, select Restart) .
Again Left click on Ibus icon, you will see Other-Pali-Sanskrit-translit…, select it!
Now you should be able to type Romanized Pali, for example for the “PāḶi” word , we just type Paa.Li
See: ITRANS Method
aa = ā
AA = Ā
ii = ī
II = Ī
uu = ū
UU = Ū
.r = ṛ
.R = Ṛ
.rr = ṝ
.RR = Ṝ
.l = ḷ
.L = Ḷ
.ll = ḹ
.LL = Ḹ
.M = ṁ
.m = ṃ
.h = ḥ
.H = Ḥ
;n = ṅ
;N = Ṅ
~n = ñ
~N = Ñ
.t = ṭ
.T = Ṭ
.d = ḍ
.D = Ḍ
.n = ṇ
.N = Ṇ
;s = ś
;S = Ś
.s = ṣ
.S = Ṣ
For Devanagari Input:
From menu, System –> Preferences –> iBus Preferences,
under Sanskrit, choose “harvard kyoto” or under Hindi input, choose “hi-itrans”.
2- Type Romanized Pali and Sanskrit in OpenOffice.org 3.2 on Windows
Primary taken from. this Post
Download and install OpenOffice here http://download.openoffice.org/other.html
Fist use “Record Micros” to record your the diacritic letter (for example, ā); next, use “Customize Keyboards” to sign shortcut key for the recorded Micro(for example Alt +a for ā).
It is the best if we can use the following short keys:
Alt key + a=ā
Alt key + i=ī
Alt key + u=ū
Alt key + r=ṛ
Alt key + l=ḷ
Alt key + b=ṅ
Alt key + j=ñ
Alt key + t=ṭ
Alt key + d=ḍ
Alt key + n=ṇ
Alt key + s=ś
Alt key + w=ṣ
Alt key + m=ṃ
Alt key + h=ḥ
The easiest method
Just download the attached zip file and unzip to overwrite your user folder:
(this method also works on Linux (~/.openoffice.org/3/user), if you do not use iBus..).
Window:
C:\Users\cd\AppData\Roaming\OpenOffice.org\3\user
Then just open OpenOffice.org and press Alt+ a for ā…
Tags: Ibus, language, Openoffice, pali, Sanskrit


