From 0d6665339ab61a4a8a0046937e00726d80ad8334 Mon Sep 17 00:00:00 2001 From: handa Date: Mon, 12 Sep 2011 00:25:36 +0000 Subject: [PATCH] New file. --- im/sa-iast.mim | 76 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 76 insertions(+) create mode 100644 im/sa-iast.mim diff --git a/im/sa-iast.mim b/im/sa-iast.mim new file mode 100644 index 0000000..156a99c --- /dev/null +++ b/im/sa-iast.mim @@ -0,0 +1,76 @@ +;; sa-iast.mim -- Input method for Romanized Sanskrit/Pali using the ITRANS/ISO 15919 scheme. +;; Copyright (C) 2011 William Giddings + +;; This file is part of the m17n contrib; a sub-part of the m17n +;; library. + +;; The m17n library is free software; you can redistribute it and/or +;; modify it under the terms of the GNU Lesser General Public License +;; as published by the Free Software Foundation; either version 2.1 of +;; the License, or (at your option) any later version. + +;; The m17n library is distributed in the hope that it will be useful, +;; but WITHOUT ANY WARRANTY; without even the implied warranty of +;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +;; Lesser General Public License for more details. + +;; You should have received a copy of the GNU Lesser General Public +;; License along with the m17n library; if not, write to the Free +;; Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +;; Boston, MA 02110-1301, USA. + +(input-method sa IAST ) + +(description "Romanized Sanskrit input method with IAST/ISO 15919 convention. +The table is based on + +") + +(title "ISO 15919") + +(map + (trans + ("aa" "ā") + ("AA" "Ā") + ("^a" "â") + ("^A" "Â") + ("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" "Ṣ") + ("ee" "ē") + ("oo" "ō") + (";m" "ṁ") + (",r" "r̥") + (",rr" "r̥̄") + )) + +(state + (init + (trans))) -- 1.7.10.4