How to input/type Romanized Pali and Sanskrit in Openoffice 3

How to input Romanized Pali and Sanskrit in Openoffice.org?

It works for both Opeonoffice 2.04 and Openoffice.org 3 (tested under Ubuntu 9.04, May. 15, 2009)

The easiest way is to use Alt key, for example, press Alt+a = ā
However, Openoffice does not allow you assign Alt key as a shortcut.

Use Alt key to input Pali

1). Download AltKeyHandler_Pali.odt and save it at your desktop.

2). Open Openoffice and import above macro file.

Screenshot1OpenOffice_org_Writer.png

enshot2-OpenOffice_org_Basic_Macro_Organizer.png

Screenshot3-Import_Libraries.png

3). do the following
1.Tools > Customize ... > Events
In the events list, select “Create Document” and click Assign macro
2.In the Macros list box: Click “My Macros”, futher click “AltKeyHandler”, then select “AltKeyHandler”.
4.In the listbox “Macro name”, select SetupAltKeyHandler.
5.Click OK

 

6.Repeat the same procedure for "Open Document" in the events list.

Just make sure you save it in OpenOffice.org. 

4) How to type Pali in Openoffice writer

Alt key + a =ā
Alt key + A=Ā
Alt key + s=ś
Alt key + S=Ś
Alt key + w=ṣ
Alt key + W=Ṣ
Alt key + m=ṃ
Alt key + M=ṁ
Alt key + j=ñ
Alt key + J=Ñ
Alt key + k=ṅ
Alt key + n=ṇ
Alt key + i=ī
Alt key + u=ū
Alt key + t=ṭ
Alt key + r=ṛ
Alt key + h=ḥ
Alt key + d=ḍ
Alt key + l=ḷ

4). In openoffice writer do the following and set any keys if you wish to change

Control + Alt + a

If the above method does not work for you, use this method

The easiest way to install the macro for Openoffice 2.*, just download the attached file: http://thanhsiang.org/faqing/files/user.tar_.gz

And extract the gz file
and move/merge the two folders to /home/user*/.openoffice.org2/user

For Openoffice 3, download

http://thanhsiang.org/faqing/files/user.zip

And extract the zip file and move/merge the two folders to /home/user*/.openoffice/3/user

How to use scim to input Pali

see here: http://thanhsiang.org/faqing/node/109

AttachmentSize
AltKeyHandler_Pali.odt37.43 KB
user.tar_.gz99.19 KB
user.zip153.06 KB

suggestion

isn't it a much better idea to set up a scim-based input method?

using m17n I have a created a "Romanised Indic" input method that allows me to type all the diacritics I need for Pāli and Sanskrit either using dead keys or using the itrans transliteration schema. Very convenient, and it works everywhere that scim does (i.e. - pretty much everywhere).

Just a suggestion!

It is a good idea to use scim

It is a good idea to use scim input. Can you provide a link where we can download the Romanised Indic?

SCIM and romanized pali

I just found

ubuntuforums.org/showthread.php?t=646207

getting 'scim-m17n' with apt-get/synaptic/....,

creating
sudo gedit /usr/share/m17n/sa-translit.mim
modifying
sudo gedit /usr/share/m17n/mdb.dir
and restarting 'scim'

as explained there works fine on my old Ubuntu 6.06 (Dapper Drake)

--xof
Liege, Belgium

Thank you Liege for the

Thank you Liege for the information.

Problems with Pali import into OO

I followed your directions I think but it did not work. I unzipped the folder that I downloaded and then followed the instructions. But when I hit the import command and selected the folder, it displays the nested subfolders and keeps asking to open each of these without my ever encountering a file that I can add to OO. Any suggestions?

You did not install Java.

You did not install Java. Just ignore these questions.

open office

AltkeyHandler_Pali work fine with open office 2. Thanks a lot

thank you so much for this

thank you so much for this help! truly a boon to students of sanskrit and pali. one question i have is how to select a long vocalic 'r' (i.e., with a dot below it and a macron above it)? thanks again!

Insert -> Special Characters

The letter is not often used. You can use Insert/Special Characters in Openoffice.