annotate lisp/language/tibetan.el @ 33426:62b21497a99f

(flyspell-mode-on): Only output welcome message if interactive.
author Miles Bader <miles@gnu.org>
date Sun, 12 Nov 2000 13:23:23 +0000
parents 16e812e93e0d
children 6d966e8b4bbe
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
23158
5c0a4ed13900 Add coding: local variable, to avoid bootstrapping problem
Paul Eggert <eggert@twinsun.com>
parents: 22983
diff changeset
1 ;;; tibetan.el --- Support for Tibetan language -*- coding: iso-2022-7bit; -*-
17301
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
2
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
3 ;; Copyright (C) 1997 Electrotechnical Laboratory, JAPAN.
18377
8b4a66c66dd6 Change copyright notice.
Richard M. Stallman <rms@gnu.org>
parents: 18309
diff changeset
4 ;; Licensed to the Free Software Foundation.
17301
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
5
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
6 ;; Keywords: multilingual, Tibetan
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
7
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
8 ;; This file is part of GNU Emacs.
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
9
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
10 ;; GNU Emacs is free software; you can redistribute it and/or modify
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
11 ;; it under the terms of the GNU General Public License as published by
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
12 ;; the Free Software Foundation; either version 2, or (at your option)
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
13 ;; any later version.
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
14
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
15 ;; GNU Emacs is distributed in the hope that it will be useful,
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
16 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
17 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
18 ;; GNU General Public License for more details.
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
19
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
20 ;; You should have received a copy of the GNU General Public License
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
21 ;; along with GNU Emacs; see the file COPYING. If not, write to the
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
22 ;; Free Software Foundation, Inc., 59 Temple Place - Suite 330,
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
23 ;; Boston, MA 02111-1307, USA.
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
24
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
25 ;; Author: Toru TOMABECHI, <Toru.Tomabechi@orient.unil.ch>
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
26
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
27 ;; Created: Feb. 17. 1997
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
28
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
29 ;; History:
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
30 ;; 1997.03.13 Modification for special signs and punctuations.
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
31
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
32 ;;; Code:
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
33
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
34 ;;; Tibetan Character set.
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
35 ;;; \x2130 -- \x234a is a subset of Unicode v.2 \x0f00 - \x0fb9
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
36 ;;; with a slight modification. And there are some subjoined
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
37 ;;; consonants which are not specified in Unicode.
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
38 ;;; I hope I can add missing characters later.
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
39 ;;;
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
40 ;;; 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
29364
2891d66b723b (tibetan-composable-pattern): More
Kenichi Handa <handa@m17n.org>
parents: 26897
diff changeset
41 ;;;2120 // $(7!!(B $(7!"(B $(7!#(B $(7!$(B $(7!%(B $(7!&(B $(7!'(B $(7!((B $(7!)(B $(7!*(B $(7!+(B $(7!,(B $(7!-(B $(7!.(B $(7!/(B ; obsolete glyphs (2123-5)
17301
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
42 ;;;2130 $(7!0(B $(7!1(B $(7!2(B $(7!3(B $(7!4(B $(7!5(B $(7!6(B $(7!7(B $(7!8(B $(7!9(B $(7!:(B $(7!;(B $(7!<(B $(7!=(B $(7!>(B $(7!?(B ; Punctuations,
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
43 ;;;2140 $(7!@(B $(7!A(B $(7!B(B $(7!C(B $(7!D(B $(7!E(B $(7!F(B $(7!G(B $(7!H(B $(7!I(B $(7!J(B $(7!K(B $(7!L(B $(7!M(B $(7!N(B $(7!O(B ; Digits and
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
44 ;;;2150 $(7!P(B $(7!Q(B $(7!R(B $(7!S(B $(7!T(B $(7!U(B $(7!V(B $(7!W(B $(7!X(B $(7!Y(B $(7!Z(B $(7![(B $(7!\(B $(7!](B $(7!^(B $(7!_(B ; Special signs.
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
45 ;;;2160 $(7!`(B $(7!a(B $(7!b(B $(7!c(B $(7!d(B $(7!e(B $(7!f(B $(7!g(B $(7!h(B $(7!i(B $(7!j(B $(7!k(B $(7!l(B $(7!m(B $(7!n(B $(7!o(B ;
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
46 ;;;2170 $(7!p(B $(7!q(B $(7!r(B $(7!s(B $(7!t(B $(7!u(B $(7!v(B $(7!w(B $(7!x(B $(7!y(B $(7!z(B $(7!{(B $(7!|(B $(7!}(B $(7!~(B // ;
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
47 ;;;
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
48 ;;; 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
49 ;;;2220 // $(7"!(B $(7""(B $(7"#(B $(7"$(B $(7"%(B $(7"&(B $(7"'(B $(7"((B $(7")(B $(7"*(B $(7"+(B $(7",(B $(7"-(B $(7".(B $(7"/(B ; Base consonants
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
50 ;;;2230 $(7"0(B $(7"1(B $(7"2(B $(7"3(B $(7"4(B $(7"5(B $(7"6(B $(7"7(B $(7"8(B $(7"9(B $(7":(B $(7";(B $(7"<(B $(7"=(B $(7">(B $(7"?(B ; and
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
51 ;;;2240 $(7"@(B $(7"A(B $(7"B(B $(7"C(B $(7"D(B $(7"E(B $(7"F(B $(7"G(B $(7"H(B $(7"I(B $(7"J(B $(7"K(B $(7"L(B $(7"M(B $(7"N(B $(7"O(B ; Vowel signs.
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
52 ;;;2250 $(7"P(B $(7"Q(B $(7"R(B $(7"S(B $(7"T(B $(7"U(B $(7"V(B $(7"W(B $(7"X(B $(7"Y(B $(7"Z(B $(7"[(B $(7"\(B $(7"](B $(7"^(B $(7"_(B ; (\x2251 = vowel a)
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
53 ;;;2260 $(7"`(B $(7"a(B $(7"b(B $(7"c(B $(7"d(B $(7"e(B $(7"f(B $(7"g(B $(7"h(B $(7"i(B $(7"j(B $(7"k(B $(7"l(B $(7"m(B $(7"n(B $(7"o(B ; Long vowels and
29364
2891d66b723b (tibetan-composable-pattern): More
Kenichi Handa <handa@m17n.org>
parents: 26897
diff changeset
54 ;;;2270 $(7"p(B $(7"q(B $(7"r(B $(7"s(B $(7"t(B $(7"u(B $(7"v(B $(7"w(B $(7"x(B $(7"y(B $(7"z(B $(7"{(B $(7"|(B $(7"}(B $(7"~(B // ; vocalic r, l ARE
2891d66b723b (tibetan-composable-pattern): More
Kenichi Handa <handa@m17n.org>
parents: 26897
diff changeset
55 ;;; ; atomically
17301
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
56 ;;; ; encoded.
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
57 ;;; 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
58 ;;;2320 // $(7#!(B $(7#"(B $(7##(B $(7#$(B $(7#%(B $(7#&(B $(7#'(B $(7#((B $(7#)(B $(7#*(B $(7#+(B $(7#,(B $(7#-(B $(7#.(B $(7#/(B ; Subjoined consonants
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
59 ;;;2330 $(7#0(B $(7#1(B $(7#2(B $(7#3(B $(7#4(B $(7#5(B $(7#6(B $(7#7(B $(7#8(B $(7#9(B $(7#:(B $(7#;(B $(7#<(B $(7#=(B $(7#>(B $(7#?(B ;
29364
2891d66b723b (tibetan-composable-pattern): More
Kenichi Handa <handa@m17n.org>
parents: 26897
diff changeset
60 ;;;2340 $(7#@(B $(7#A(B $(7#B(B $(7#C(B $(7#D(B $(7#E(B $(7#F(B $(7#G(B $(7#H(B $(7#I(B $(7#J(B $(7#K(B $(7#L(B $(7#M(B $(7#N(B $(7#O(B ;
17301
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
61 ;;;2350 $(7#P(B $(7#Q(B $(7#R(B $(7#S(B $(7#T(B $(7#U(B $(7#V(B $(7#W(B $(7#X(B $(7#Y(B $(7#Z(B $(7#[(B $(7#\(B $(7#](B $(7#^(B $(7#_(B ; Hereafter, the chars
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
62 ;;;2360 $(7#`(B $(7#a(B $(7#b(B $(7#c(B $(7#d(B $(7#e(B $(7#f(B $(7#g(B $(7#h(B $(7#i(B $(7#j(B $(7#k(B $(7#l(B $(7#m(B $(7#n(B $(7#o(B ; are not specified
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
63 ;;;2370 $(7#p(B $(7#q(B $(7#r(B $(7#s(B $(7#t(B $(7#u(B $(7#v(B $(7#w(B $(7#x(B $(7#y(B $(7#z(B $(7#{(B $(7#|(B $(7#}(B $(7#~(B // ; in Unicode.
29364
2891d66b723b (tibetan-composable-pattern): More
Kenichi Handa <handa@m17n.org>
parents: 26897
diff changeset
64 ;;;
17301
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
65 ;;; 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
66 ;;;2420 // $(7$!(B $(7$"(B $(7$#(B $(7$$(B $(7$%(B $(7$&(B $(7$'(B $(7$((B $(7$)(B $(7$*(B $(7$+(B $(7$,(B $(7$-(B $(7$.(B $(7$/(B ; Precomposed
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
67 ;;;2430 $(7$0(B $(7$1(B $(7$2(B $(7$3(B $(7$4(B $(7$5(B $(7$6(B $(7$7(B $(7$8(B $(7$9(B $(7$:(B $(7$;(B $(7$<(B $(7$=(B $(7$>(B $(7$?(B ; consonants for
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
68 ;;;2440 $(7$@(B $(7$A(B $(7$B(B $(7$C(B $(7$D(B $(7$E(B $(7$F(B $(7$G(B $(7$H(B $(7$I(B $(7$J(B $(7$K(B $(7$L(B $(7$M(B $(7$N(B $(7$O(B ; ordinary Tibetan.
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
69 ;;;2450 $(7$P(B $(7$Q(B $(7$R(B $(7$S(B $(7$T(B $(7$U(B $(7$V(B $(7$W(B $(7$X(B $(7$Y(B $(7$Z(B $(7$[(B $(7$\(B $(7$](B $(7$^(B $(7$_(B ; They are decomposed
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
70 ;;;2460 $(7$`(B $(7$a(B $(7$b(B $(7$c(B $(7$d(B $(7$e(B $(7$f(B $(7$g(B $(7$h(B $(7$i(B $(7$j(B $(7$k(B $(7$l(B $(7$m(B $(7$n(B $(7$o(B ; into base and
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
71 ;;;2470 $(7$p(B $(7$q(B $(7$r(B $(7$s(B $(7$t(B $(7$u(B $(7$v(B $(7$w(B $(7$x(B $(7$y(B $(7$z(B $(7${(B $(7$|(B $(7$}(B $(7$~(B // ; subjoined consonants
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
72 ;;; ; when written on a
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
73 ;;; 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F ; file in Tibetan
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
74 ;;;2520 // $(7%!(B $(7%"(B $(7%#(B $(7%$(B $(7%%(B $(7%&(B $(7%'(B $(7%((B $(7%)(B $(7%*(B $(7%+(B $(7%,(B $(7%-(B $(7%.(B $(7%/(B ; coding system.
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
75 ;;;2530 $(7%0(B $(7%1(B $(7%2(B $(7%3(B $(7%4(B $(7%5(B $(7%6(B $(7%7(B $(7%8(B $(7%9(B $(7%:(B $(7%;(B $(7%<(B $(7%=(B $(7%>(B $(7%?(B ;
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
76 ;;;2540 $(7%@(B $(7%A(B $(7%B(B $(7%C(B $(7%D(B $(7%E(B $(7%F(B $(7%G(B $(7%H(B $(7%I(B $(7%J(B $(7%K(B $(7%L(B $(7%M(B $(7%N(B $(7%O(B ;
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
77 ;;;2550 $(7%P(B $(7%Q(B $(7%R(B $(7%S(B $(7%T(B $(7%U(B $(7%V(B $(7%W(B $(7%X(B $(7%Y(B $(7%Z(B $(7%[(B $(7%\(B $(7%](B $(7%^(B $(7%_(B ;
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
78 ;;;2560 $(7%`(B $(7%a(B $(7%b(B $(7%c(B $(7%d(B $(7%e(B $(7%f(B $(7%g(B $(7%h(B $(7%i(B $(7%j(B $(7%k(B $(7%l(B $(7%m(B $(7%n(B $(7%o(B ;
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
79 ;;;2570 $(7%p(B $(7%q(B $(7%r(B $(7%s(B $(7%t(B $(7%u(B $(7%v(B $(7%w(B $(7%x(B $(7%y(B $(7%z(B $(7%{(B $(7%|(B $(7%}(B $(7%~(B // ;
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
80 ;;;
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
81
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
82
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
83 (make-coding-system
20739
5f2c7f919bbf Adjusted for the change of make-coding-system. Register
Kenichi Handa <handa@m17n.org>
parents: 20159
diff changeset
84 'tibetan-iso-8bit 2 ?Q
18203
0745f30aec66 Adjusted for coding system name change.
Kenichi Handa <handa@m17n.org>
parents: 17993
diff changeset
85 "8-bit encoding for ASCII (MSB=0) and TIBETAN (MSB=1)"
20739
5f2c7f919bbf Adjusted for the change of make-coding-system. Register
Kenichi Handa <handa@m17n.org>
parents: 20159
diff changeset
86 '(ascii tibetan nil nil
5f2c7f919bbf Adjusted for the change of make-coding-system. Register
Kenichi Handa <handa@m17n.org>
parents: 20159
diff changeset
87 nil nil)
5f2c7f919bbf Adjusted for the change of make-coding-system. Register
Kenichi Handa <handa@m17n.org>
parents: 20159
diff changeset
88 '((safe-charsets ascii tibetan)
5f2c7f919bbf Adjusted for the change of make-coding-system. Register
Kenichi Handa <handa@m17n.org>
parents: 20159
diff changeset
89 (post-read-conversion . tibetan-post-read-conversion)
5f2c7f919bbf Adjusted for the change of make-coding-system. Register
Kenichi Handa <handa@m17n.org>
parents: 20159
diff changeset
90 (pre-write-conversion . tibetan-pre-write-conversion)))
17301
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
91
20739
5f2c7f919bbf Adjusted for the change of make-coding-system. Register
Kenichi Handa <handa@m17n.org>
parents: 20159
diff changeset
92 (define-coding-system-alias 'tibetan 'tibetan-iso-8bit)
17301
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
93
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
94 (set-language-info-alist
22983
7a010b8c0d99 ("LANUGAGE-ENVIRONMENT"): Delete property setup-function or change
Kenichi Handa <handa@m17n.org>
parents: 20739
diff changeset
95 "Tibetan" '((charset tibetan tibetan-1-column)
20739
5f2c7f919bbf Adjusted for the change of make-coding-system. Register
Kenichi Handa <handa@m17n.org>
parents: 20159
diff changeset
96 (coding-system tibetan-iso-8bit)
5f2c7f919bbf Adjusted for the change of make-coding-system. Register
Kenichi Handa <handa@m17n.org>
parents: 20159
diff changeset
97 (coding-priority iso-2022-7bit tibetan-iso-8bit)
22983
7a010b8c0d99 ("LANUGAGE-ENVIRONMENT"): Delete property setup-function or change
Kenichi Handa <handa@m17n.org>
parents: 20739
diff changeset
98 (input-method . "tibetan-wylie")
7a010b8c0d99 ("LANUGAGE-ENVIRONMENT"): Delete property setup-function or change
Kenichi Handa <handa@m17n.org>
parents: 20739
diff changeset
99 (features tibet-util)
17301
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
100 (documentation . t)
33224
16e812e93e0d ("Tibetan"): Set a lisp form that produces
Kenichi Handa <handa@m17n.org>
parents: 29597
diff changeset
101 (sample-text
16e812e93e0d ("Tibetan"): Set a lisp form that produces
Kenichi Handa <handa@m17n.org>
parents: 29597
diff changeset
102 . (tibetan-compose-string
16e812e93e0d ("Tibetan"): Set a lisp form that produces
Kenichi Handa <handa@m17n.org>
parents: 29597
diff changeset
103 (copy-sequence
16e812e93e0d ("Tibetan"): Set a lisp form that produces
Kenichi Handa <handa@m17n.org>
parents: 29597
diff changeset
104 "Tibetan (4$(7"7r'"]0"7"]14"20"21!;4%P0"G#!"Q14"20"21!;(B) $(7!4!5!5!>4"70"714$P0"!#C"Q1!;4"Er'"S0"E"S14"G0"G1!;4"70"714"2r'"[0"2"[1!;4"Dr'"[0"D"[14"#0"#14"G0"G1!>4"Ir'"]r'"_0"I"]"_1!;4"90"9"Q1!;4"/r'"S0"/"S1!;4"50"5"Q14#2x!#9r'"[0"2#9"[1!;4"Hx!"Rx!"Ur'"c0"H"A"U"c1!>(B")))))
26897
9895d3c3e7ce Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents: 23158
diff changeset
105
17301
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
106
26897
9895d3c3e7ce Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents: 23158
diff changeset
107 ;; `$(7"A(B' is included in the pattern for subjoined consonants because we
9895d3c3e7ce Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents: 23158
diff changeset
108 ;; treat it specially in tibetan-add-components.
29364
2891d66b723b (tibetan-composable-pattern): More
Kenichi Handa <handa@m17n.org>
parents: 26897
diff changeset
109 ;; modified by Tomabechi 1999/12/10
29597
79fb788042f3 (tibetan-composable-pattern): Fix previous change.
Kenichi Handa <handa@m17n.org>
parents: 29364
diff changeset
110 ;; modified by Tomabechi 2000/06/08
79fb788042f3 (tibetan-composable-pattern): Fix previous change.
Kenichi Handa <handa@m17n.org>
parents: 29364
diff changeset
111 ;; To allow infinite addition of vowels/modifiers
79fb788042f3 (tibetan-composable-pattern): Fix previous change.
Kenichi Handa <handa@m17n.org>
parents: 29364
diff changeset
112 ;; as specified in Unicode v.3
79fb788042f3 (tibetan-composable-pattern): Fix previous change.
Kenichi Handa <handa@m17n.org>
parents: 29364
diff changeset
113 ;; $(7"A(B is removed from the class of subjoined. Tomabechi 2000/06/08
79fb788042f3 (tibetan-composable-pattern): Fix previous change.
Kenichi Handa <handa@m17n.org>
parents: 29364
diff changeset
114 ;; (for Unicode support)
26897
9895d3c3e7ce Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents: 23158
diff changeset
115 (defconst tibetan-composable-pattern
29597
79fb788042f3 (tibetan-composable-pattern): Fix previous change.
Kenichi Handa <handa@m17n.org>
parents: 29364
diff changeset
116 "[$(7"!(B-$(7"J"K(B][$(7#!(B-$(7#J#K#L#M(B]*[$(7"Q"R"S(B-$(7"^"a"b"e(B]*[$(7"_"c"d"g(B-$(7"l!I!e!g(B]*"
26897
9895d3c3e7ce Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents: 23158
diff changeset
117 "Regexp matching a composable sequence of Tibetan characters.")
9895d3c3e7ce Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents: 23158
diff changeset
118
9895d3c3e7ce Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents: 23158
diff changeset
119 ;; Register a function to compose Tibetan characters.
9895d3c3e7ce Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents: 23158
diff changeset
120 (aset composition-function-table (make-char 'tibetan)
9895d3c3e7ce Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents: 23158
diff changeset
121 (list (cons tibetan-composable-pattern 'tibetan-composition-function)))
17301
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
122
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
123 ;;;
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
124 ;;; Definitions of conversion data.
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
125 ;;;
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
126
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
127
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
128 ;;; alists for tibetan char <-> transcription conversion
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
129 ;;; longer transcription should come first
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
130 (defconst tibetan-consonant-transcription-alist
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
131 '(("tsh" . "$(7";(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
132 ("dzh" . "$(7"=(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
133 ("kSH" . "$(7"J(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
134 ("kh" . "$(7""(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
135 ("gh" . "$(7"$(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
136 ("ng" . "$(7"%(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
137 ("ch" . "$(7"'(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
138 ("ny" . "$(7"*(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
139 ("TH" . "$(7",(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
140 ("DH" . "$(7".(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
141 ("th" . "$(7"1(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
142 ("dh" . "$(7"3(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
143 ("ph" . "$(7"6(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
144 ("bh" . "$(7"8(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
145 ("ts" . "$(7":(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
146 ("dz" . "$(7"<(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
147 ("zh" . "$(7"?(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
148 ("sh" . "$(7"E(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
149 ("SH" . "$(7"F(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
150 ("k" . "$(7"!(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
151 ("g" . "$(7"#(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
152 ("c" . "$(7"&(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
153 ("j" . "$(7"((B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
154 ("T" . "$(7"+(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
155 ("D" . "$(7"-(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
156 ("N" . "$(7"/(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
157 ("t" . "$(7"0(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
158 ("d" . "$(7"2(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
159 ("n" . "$(7"4(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
160 ("p" . "$(7"5(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
161 ("b" . "$(7"7(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
162 ("m" . "$(7"9(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
163 ("w" . "$(7">(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
164 ("z" . "$(7"@(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
165 ("'" . "$(7"A(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
166 ("y" . "$(7"B(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
167 ("r" . "$(7"C(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
168 ("l" . "$(7"D(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
169 ("s" . "$(7"G(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
170 ("h" . "$(7"H(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
171 ("H" . "$(7"H(B")
29364
2891d66b723b (tibetan-composable-pattern): More
Kenichi Handa <handa@m17n.org>
parents: 26897
diff changeset
172 ("A" . "$(7"I(B")
2891d66b723b (tibetan-composable-pattern): More
Kenichi Handa <handa@m17n.org>
parents: 26897
diff changeset
173 ;; Added by Tomabechi 1999/12/10
2891d66b723b (tibetan-composable-pattern): More
Kenichi Handa <handa@m17n.org>
parents: 26897
diff changeset
174 ("R" . "$(7"K(B") ;; fixed form RA
2891d66b723b (tibetan-composable-pattern): More
Kenichi Handa <handa@m17n.org>
parents: 26897
diff changeset
175 ))
17301
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
176
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
177
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
178 (defconst tibetan-vowel-transcription-alist
29597
79fb788042f3 (tibetan-composable-pattern): Fix previous change.
Kenichi Handa <handa@m17n.org>
parents: 29364
diff changeset
179 '(
79fb788042f3 (tibetan-composable-pattern): Fix previous change.
Kenichi Handa <handa@m17n.org>
parents: 29364
diff changeset
180 ;; Composite Vowels
79fb788042f3 (tibetan-composable-pattern): Fix previous change.
Kenichi Handa <handa@m17n.org>
parents: 29364
diff changeset
181 ;; Added by Tomabechi 2000/06/08
79fb788042f3 (tibetan-composable-pattern): Fix previous change.
Kenichi Handa <handa@m17n.org>
parents: 29364
diff changeset
182 ("frr" . "$(7"X(B")
79fb788042f3 (tibetan-composable-pattern): Fix previous change.
Kenichi Handa <handa@m17n.org>
parents: 29364
diff changeset
183 ("fll" . "$(7"Z(B")
79fb788042f3 (tibetan-composable-pattern): Fix previous change.
Kenichi Handa <handa@m17n.org>
parents: 29364
diff changeset
184 ("fa" . "$(7"R(B")
79fb788042f3 (tibetan-composable-pattern): Fix previous change.
Kenichi Handa <handa@m17n.org>
parents: 29364
diff changeset
185 ("fi" . "$(7"T(B")
79fb788042f3 (tibetan-composable-pattern): Fix previous change.
Kenichi Handa <handa@m17n.org>
parents: 29364
diff changeset
186 ("fu" . "$(7"V(B")
79fb788042f3 (tibetan-composable-pattern): Fix previous change.
Kenichi Handa <handa@m17n.org>
parents: 29364
diff changeset
187 ("fr" . "$(7"W(B")
79fb788042f3 (tibetan-composable-pattern): Fix previous change.
Kenichi Handa <handa@m17n.org>
parents: 29364
diff changeset
188 ("fl" . "$(7"Y(B")
79fb788042f3 (tibetan-composable-pattern): Fix previous change.
Kenichi Handa <handa@m17n.org>
parents: 29364
diff changeset
189 ("fI" . "$(7"b(B")
79fb788042f3 (tibetan-composable-pattern): Fix previous change.
Kenichi Handa <handa@m17n.org>
parents: 29364
diff changeset
190 ;; Normal Vowels
79fb788042f3 (tibetan-composable-pattern): Fix previous change.
Kenichi Handa <handa@m17n.org>
parents: 29364
diff changeset
191 ("ai" . "$(7"\(B")
17301
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
192 ("au" . "$(7"^(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
193 ("ee" . "$(7"\(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
194 ("oo" . "$(7"^(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
195 ("a" . "$(7"Q(B") ; invisible vowel sign (\x2251)
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
196 ("i" . "$(7"S(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
197 ("u" . "$(7"U(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
198 ("e" . "$(7"[(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
199 ("o" . "$(7"](B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
200 ("E" . "$(7"\(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
201 ("O" . "$(7"^(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
202 ("I" . "$(7"a(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
203 ("," . "$(7"e(B") ; idem.
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
204 ))
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
205
26897
9895d3c3e7ce Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents: 23158
diff changeset
206 (defconst tibetan-modifier-transcription-alist
9895d3c3e7ce Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents: 23158
diff changeset
207 '(("M" . "$(7"_(B")
9895d3c3e7ce Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents: 23158
diff changeset
208 ("~" . "$(7"c(B")
9895d3c3e7ce Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents: 23158
diff changeset
209 ("`" . "$(7"d(B")
9895d3c3e7ce Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents: 23158
diff changeset
210 ("x" . "$(7"i(B")
9895d3c3e7ce Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents: 23158
diff changeset
211 ("X" . "$(7"j(B")
9895d3c3e7ce Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents: 23158
diff changeset
212 ("v" . "$(7"g(B")
9895d3c3e7ce Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents: 23158
diff changeset
213 ("V" . "$(7"h(B")
9895d3c3e7ce Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents: 23158
diff changeset
214 ("q" . "$(7"k(B")
9895d3c3e7ce Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents: 23158
diff changeset
215 ("Q" . "$(7"l(B")
9895d3c3e7ce Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents: 23158
diff changeset
216 ("_/" . "$(7!I(B")
9895d3c3e7ce Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents: 23158
diff changeset
217 ("_o" . "$(7!g(B")
9895d3c3e7ce Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents: 23158
diff changeset
218 ("_O" . "$(7!e(B")))
9895d3c3e7ce Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents: 23158
diff changeset
219
17301
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
220 (defconst tibetan-precomposed-transcription-alist
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
221 '(("phyw" . "$(7$G(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
222 ("tshw" . "$(7$)(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
223 ("rtsw" . "$(7%.(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
224 ("khw" . "$(7$"(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
225 ("nyw" . "$(7$%(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
226 ("tsw" . "$(7$((B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
227 ("zhw" . "$(7$*(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
228 ("shw" . "$(7$.(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
229 ("khy" . "$(7$A(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
230 ("phy" . "$(7$D(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
231 ("khr" . "$(7$Q(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
232 ("thr" . "$(7$T(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
233 ("phr" . "$(7$W(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
234 ("shr" . "$(7$Z(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
235 ("dzr" . "$(7$^(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
236 ("grw" . "$(7$_(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
237 ("rng" . "$(7%#(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
238 ("rny" . "$(7%%(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
239 ("rts" . "$(7%+(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
240 ("rdz" . "$(7%,(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
241 ("rgw" . "$(7%-(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
242 ("rky" . "$(7%0(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
243 ("rgy" . "$(7%1(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
244 ("rmy" . "$(7%2(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
245 ("lng" . "$(7%B(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
246 ("sng" . "$(7%R(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
247 ("sny" . "$(7%S(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
248 ("sts" . "$(7%Z(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
249 ("sky" . "$(7%`(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
250 ("sgy" . "$(7%a(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
251 ("spy" . "$(7%b(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
252 ("sby" . "$(7%c(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
253 ("smy" . "$(7%d(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
254 ("skr" . "$(7%p(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
255 ("sgr" . "$(7%q(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
256 ("snr" . "$(7%r(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
257 ("spr" . "$(7%s(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
258 ("sbr" . "$(7%t(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
259 ("smr" . "$(7%u(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
260 ("kw" . "$(7$!(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
261 ("gw" . "$(7$#(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
262 ("cw" . "$(7$$(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
263 ("tw" . "$(7$&(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
264 ("dw" . "$(7$'(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
265 ("zw" . "$(7$+(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
266 ("rw" . "$(7$,(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
267 ("lw" . "$(7$-(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
268 ("sw" . "$(7$/(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
269 ("hw" . "$(7$0(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
270 ("ky" . "$(7$@(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
271 ("gy" . "$(7$B(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
272 ("py" . "$(7$C(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
273 ("by" . "$(7$E(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
274 ("my" . "$(7$F(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
275 ("kr" . "$(7$P(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
276 ("gr" . "$(7$R(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
277 ("tr" . "$(7$S(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
278 ("dr" . "$(7$U(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
279 ("pr" . "$(7$V(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
280 ("brk" . "$(7"7%!(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
281 ("brg" . "$(7"7%"(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
282 ("brng" . "$(7"7%#(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
283 ("brj" . "$(7"7%$(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
284 ("brny" . "$(7"7%%(B")
29364
2891d66b723b (tibetan-composable-pattern): More
Kenichi Handa <handa@m17n.org>
parents: 26897
diff changeset
285 ("brt" . "$(7"7%&(B")
17301
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
286 ("brd" . "$(7"7%'(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
287 ("brn" . "$(7"7%((B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
288 ("brts" . "$(7"7%+(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
289 ("brdz" . "$(7"7%,(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
290 ("brl" . "$(7"7$d(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
291 ("br" . "$(7$X(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
292 ("mr" . "$(7$Y(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
293 ("sr" . "$(7$[(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
294 ("hr" . "$(7$\(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
295 ("jr" . "$(7$](B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
296 ("kl" . "$(7$`(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
297 ("gl" . "$(7$a(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
298 ("blt" . "$(7"7%E(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
299 ("bld" . "$(7"7%F(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
300 ("bl" . "$(7$b(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
301 ("zl" . "$(7$c(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
302 ("rl" . "$(7$d(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
303 ("sl" . "$(7$e(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
304 ("rk" . "$(7%!(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
305 ("rg" . "$(7%"(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
306 ("rj" . "$(7%$(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
307 ("rt" . "$(7%&(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
308 ("rd" . "$(7%'(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
309 ("rn" . "$(7%((B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
310 ("rb" . "$(7%)(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
311 ("rm" . "$(7%*(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
312 ("lk" . "$(7%@(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
313 ("lg" . "$(7%A(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
314 ("lc" . "$(7%C(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
315 ("lj" . "$(7%D(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
316 ("lt" . "$(7%E(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
317 ("ld" . "$(7%F(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
318 ("ln" . "$(7!!(B") ; dummy \x2121
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
319 ("lp" . "$(7%G(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
320 ("lb" . "$(7%H(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
321 ("lh" . "$(7%I(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
322 ("sk" . "$(7%P(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
323 ("sg" . "$(7%Q(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
324 ("st" . "$(7%T(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
325 ("sd" . "$(7%U(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
326 ("sn" . "$(7%V(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
327 ("sp" . "$(7%W(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
328 ("sb" . "$(7%X(B")
29364
2891d66b723b (tibetan-composable-pattern): More
Kenichi Handa <handa@m17n.org>
parents: 26897
diff changeset
329 ("sm" . "$(7%Y(B"))
2891d66b723b (tibetan-composable-pattern): More
Kenichi Handa <handa@m17n.org>
parents: 26897
diff changeset
330 )
2891d66b723b (tibetan-composable-pattern): More
Kenichi Handa <handa@m17n.org>
parents: 26897
diff changeset
331
17301
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
332
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
333 (defconst tibetan-subjoined-transcription-alist
26897
9895d3c3e7ce Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents: 23158
diff changeset
334 (sort '(("+k" . "$(7#!(B")
9895d3c3e7ce Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents: 23158
diff changeset
335 ("+kh" . "$(7#"(B")
9895d3c3e7ce Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents: 23158
diff changeset
336 ("+g" . "$(7##(B")
9895d3c3e7ce Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents: 23158
diff changeset
337 ("+gh" . "$(7#$(B")
9895d3c3e7ce Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents: 23158
diff changeset
338 ("+ng" . "$(7#%(B")
9895d3c3e7ce Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents: 23158
diff changeset
339 ("+c" . "$(7#&(B")
9895d3c3e7ce Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents: 23158
diff changeset
340 ("+ch" . "$(7#'(B")
9895d3c3e7ce Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents: 23158
diff changeset
341 ("+j" . "$(7#((B")
9895d3c3e7ce Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents: 23158
diff changeset
342 ("+ny" . "$(7#*(B")
9895d3c3e7ce Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents: 23158
diff changeset
343 ("+T" . "$(7#+(B")
9895d3c3e7ce Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents: 23158
diff changeset
344 ("+TH" . "$(7#,(B")
9895d3c3e7ce Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents: 23158
diff changeset
345 ("+D" . "$(7#-(B")
9895d3c3e7ce Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents: 23158
diff changeset
346 ("+DH" . "$(7#.(B")
9895d3c3e7ce Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents: 23158
diff changeset
347 ("+N" . "$(7#/(B")
9895d3c3e7ce Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents: 23158
diff changeset
348 ("+t" . "$(7#0(B")
9895d3c3e7ce Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents: 23158
diff changeset
349 ("+th" . "$(7#1(B")
9895d3c3e7ce Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents: 23158
diff changeset
350 ("+d" . "$(7#2(B")
9895d3c3e7ce Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents: 23158
diff changeset
351 ("+dh" . "$(7#3(B")
9895d3c3e7ce Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents: 23158
diff changeset
352 ("+n" . "$(7#4(B")
9895d3c3e7ce Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents: 23158
diff changeset
353 ("+p" . "$(7#5(B")
9895d3c3e7ce Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents: 23158
diff changeset
354 ("+ph" . "$(7#6(B")
9895d3c3e7ce Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents: 23158
diff changeset
355 ("+b" . "$(7#7(B")
9895d3c3e7ce Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents: 23158
diff changeset
356 ("+bh" . "$(7#8(B")
9895d3c3e7ce Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents: 23158
diff changeset
357 ("+m" . "$(7#9(B")
9895d3c3e7ce Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents: 23158
diff changeset
358 ("+ts" . "$(7#:(B")
9895d3c3e7ce Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents: 23158
diff changeset
359 ("+tsh" . "$(7#;(B")
9895d3c3e7ce Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents: 23158
diff changeset
360 ("+dz" . "$(7#<(B")
9895d3c3e7ce Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents: 23158
diff changeset
361 ("+dzh" . "$(7#=(B")
9895d3c3e7ce Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents: 23158
diff changeset
362 ("+w" . "$(7#>(B")
9895d3c3e7ce Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents: 23158
diff changeset
363 ("+zh" . "$(7#?(B")
9895d3c3e7ce Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents: 23158
diff changeset
364 ("+z" . "$(7#@(B")
9895d3c3e7ce Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents: 23158
diff changeset
365 ("+'" . "$(7#A(B")
9895d3c3e7ce Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents: 23158
diff changeset
366 ("+y" . "$(7#B(B")
9895d3c3e7ce Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents: 23158
diff changeset
367 ("+r" . "$(7#C(B")
9895d3c3e7ce Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents: 23158
diff changeset
368 ("+l" . "$(7#D(B")
9895d3c3e7ce Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents: 23158
diff changeset
369 ("+sh" . "$(7#E(B")
9895d3c3e7ce Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents: 23158
diff changeset
370 ("+SH" . "$(7#F(B")
9895d3c3e7ce Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents: 23158
diff changeset
371 ("+s" . "$(7#G(B")
9895d3c3e7ce Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents: 23158
diff changeset
372 ("+h" . "$(7#H(B")
9895d3c3e7ce Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents: 23158
diff changeset
373 ("+A" . "$(7#I(B")
9895d3c3e7ce Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents: 23158
diff changeset
374 ("+kSH" . "$(7#J(B")
29364
2891d66b723b (tibetan-composable-pattern): More
Kenichi Handa <handa@m17n.org>
parents: 26897
diff changeset
375 ;; Added by Tomabechi 1999/12/10
2891d66b723b (tibetan-composable-pattern): More
Kenichi Handa <handa@m17n.org>
parents: 26897
diff changeset
376 ("+W" . "$(7#K(B") ;; fixed form subscribed WA
2891d66b723b (tibetan-composable-pattern): More
Kenichi Handa <handa@m17n.org>
parents: 26897
diff changeset
377 ("+Y" . "$(7#L(B") ;; fixed form subscribed YA
2891d66b723b (tibetan-composable-pattern): More
Kenichi Handa <handa@m17n.org>
parents: 26897
diff changeset
378 ("+R" . "$(7#M(B") ;; fixed form subscribed RA
2891d66b723b (tibetan-composable-pattern): More
Kenichi Handa <handa@m17n.org>
parents: 26897
diff changeset
379 )
26897
9895d3c3e7ce Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents: 23158
diff changeset
380 (lambda (x y) (> (length (car x)) (length (car y))))))
17301
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
381
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
382 ;;;
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
383 ;;; alist for Tibetan base consonant <-> subjoined consonant conversion.
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
384 ;;;
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
385 (defconst tibetan-base-to-subjoined-alist
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
386 '(("$(7"!(B" . "$(7#!(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
387 ("$(7""(B" . "$(7#"(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
388 ("$(7"#(B" . "$(7##(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
389 ("$(7"$(B" . "$(7#$(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
390 ("$(7"%(B" . "$(7#%(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
391 ("$(7"&(B" . "$(7#&(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
392 ("$(7"'(B" . "$(7#'(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
393 ("$(7"((B" . "$(7#((B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
394 ("$(7"*(B" . "$(7#*(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
395 ("$(7"+(B" . "$(7#+(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
396 ("$(7",(B" . "$(7#,(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
397 ("$(7"-(B" . "$(7#-(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
398 ("$(7".(B" . "$(7#.(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
399 ("$(7"/(B" . "$(7#/(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
400 ("$(7"0(B" . "$(7#0(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
401 ("$(7"1(B" . "$(7#1(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
402 ("$(7"2(B" . "$(7#2(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
403 ("$(7"3(B" . "$(7#3(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
404 ("$(7"4(B" . "$(7#4(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
405 ("$(7"5(B" . "$(7#5(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
406 ("$(7"6(B" . "$(7#6(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
407 ("$(7"7(B" . "$(7#7(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
408 ("$(7"8(B" . "$(7#8(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
409 ("$(7"9(B" . "$(7#9(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
410 ("$(7":(B" . "$(7#:(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
411 ("$(7";(B" . "$(7#;(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
412 ("$(7"<(B" . "$(7#<(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
413 ("$(7"=(B" . "$(7#=(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
414 ("$(7">(B" . "$(7#>(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
415 ("$(7"?(B" . "$(7#?(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
416 ("$(7"@(B" . "$(7#@(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
417 ("$(7"A(B" . "$(7#A(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
418 ("$(7"B(B" . "$(7#B(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
419 ("$(7"C(B" . "$(7#C(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
420 ("$(7"D(B" . "$(7#D(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
421 ("$(7"E(B" . "$(7#E(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
422 ("$(7"F(B" . "$(7#F(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
423 ("$(7"G(B" . "$(7#G(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
424 ("$(7"H(B" . "$(7#H(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
425 ("$(7"I(B" . "$(7#I(B")
29364
2891d66b723b (tibetan-composable-pattern): More
Kenichi Handa <handa@m17n.org>
parents: 26897
diff changeset
426 ("$(7"J(B" . "$(7#J(B")
2891d66b723b (tibetan-composable-pattern): More
Kenichi Handa <handa@m17n.org>
parents: 26897
diff changeset
427 ;; Added by Tomabechi 1999/12/10
2891d66b723b (tibetan-composable-pattern): More
Kenichi Handa <handa@m17n.org>
parents: 26897
diff changeset
428 ("$(7"K(B" . "$(7#M(B") ;; Fixed form RA (224B->234D)
2891d66b723b (tibetan-composable-pattern): More
Kenichi Handa <handa@m17n.org>
parents: 26897
diff changeset
429 ))
29597
79fb788042f3 (tibetan-composable-pattern): Fix previous change.
Kenichi Handa <handa@m17n.org>
parents: 29364
diff changeset
430
79fb788042f3 (tibetan-composable-pattern): Fix previous change.
Kenichi Handa <handa@m17n.org>
parents: 29364
diff changeset
431 ;;; alist for Tibetan composite vowels (long i, vocalic r, etc.)
79fb788042f3 (tibetan-composable-pattern): Fix previous change.
Kenichi Handa <handa@m17n.org>
parents: 29364
diff changeset
432 ;;; New varialble. created by Tomabechi 2000/06/08
79fb788042f3 (tibetan-composable-pattern): Fix previous change.
Kenichi Handa <handa@m17n.org>
parents: 29364
diff changeset
433 (defconst tibetan-composite-vowel-alist
79fb788042f3 (tibetan-composable-pattern): Fix previous change.
Kenichi Handa <handa@m17n.org>
parents: 29364
diff changeset
434 '(;; LONG A
79fb788042f3 (tibetan-composable-pattern): Fix previous change.
Kenichi Handa <handa@m17n.org>
parents: 29364
diff changeset
435 ;; ("$(7"R(B" . ((bc . tc) ?$(7"R(B))
79fb788042f3 (tibetan-composable-pattern): Fix previous change.
Kenichi Handa <handa@m17n.org>
parents: 29364
diff changeset
436 ;; LONG I
79fb788042f3 (tibetan-composable-pattern): Fix previous change.
Kenichi Handa <handa@m17n.org>
parents: 29364
diff changeset
437 ("$(7"T(B" . (?$(7"R(B (tc . bc) ?$(7"S(B))
79fb788042f3 (tibetan-composable-pattern): Fix previous change.
Kenichi Handa <handa@m17n.org>
parents: 29364
diff changeset
438 ;; LONG U
79fb788042f3 (tibetan-composable-pattern): Fix previous change.
Kenichi Handa <handa@m17n.org>
parents: 29364
diff changeset
439 ("$(7"V(B" . (?$(7"R(B (bc . tc) ?$(7"U(B))
79fb788042f3 (tibetan-composable-pattern): Fix previous change.
Kenichi Handa <handa@m17n.org>
parents: 29364
diff changeset
440 ;; VOCALIC R
79fb788042f3 (tibetan-composable-pattern): Fix previous change.
Kenichi Handa <handa@m17n.org>
parents: 29364
diff changeset
441 ("$(7"W(B" . (?$(7#C(B (tc . bc) ?$(7"a(B))
79fb788042f3 (tibetan-composable-pattern): Fix previous change.
Kenichi Handa <handa@m17n.org>
parents: 29364
diff changeset
442 ;; LONG VOCALIC R
79fb788042f3 (tibetan-composable-pattern): Fix previous change.
Kenichi Handa <handa@m17n.org>
parents: 29364
diff changeset
443 ("$(7"X(B" . (?$(7#C(B (bc . tc) ?$(7"R(B (tc . bc) ?$(7"a(B))
79fb788042f3 (tibetan-composable-pattern): Fix previous change.
Kenichi Handa <handa@m17n.org>
parents: 29364
diff changeset
444 ;; VOCALIC L
79fb788042f3 (tibetan-composable-pattern): Fix previous change.
Kenichi Handa <handa@m17n.org>
parents: 29364
diff changeset
445 ("$(7"Y(B" . (?$(7#D(B (tc . bc) ?$(7"a(B))
79fb788042f3 (tibetan-composable-pattern): Fix previous change.
Kenichi Handa <handa@m17n.org>
parents: 29364
diff changeset
446 ;;$(7!;(BLONG VOCALIC L
79fb788042f3 (tibetan-composable-pattern): Fix previous change.
Kenichi Handa <handa@m17n.org>
parents: 29364
diff changeset
447 ("$(7"Z(B" . (?$(7#D(B (bc . tc) ?$(7"R(B (tc . bc) ?$(7"a(B))
79fb788042f3 (tibetan-composable-pattern): Fix previous change.
Kenichi Handa <handa@m17n.org>
parents: 29364
diff changeset
448 ;; LONG REVERSE I
79fb788042f3 (tibetan-composable-pattern): Fix previous change.
Kenichi Handa <handa@m17n.org>
parents: 29364
diff changeset
449 ("$(7"b(B" . (?$(7"R(B (tc . bc) ?$(7"a(B))
79fb788042f3 (tibetan-composable-pattern): Fix previous change.
Kenichi Handa <handa@m17n.org>
parents: 29364
diff changeset
450 ))
79fb788042f3 (tibetan-composable-pattern): Fix previous change.
Kenichi Handa <handa@m17n.org>
parents: 29364
diff changeset
451
79fb788042f3 (tibetan-composable-pattern): Fix previous change.
Kenichi Handa <handa@m17n.org>
parents: 29364
diff changeset
452
79fb788042f3 (tibetan-composable-pattern): Fix previous change.
Kenichi Handa <handa@m17n.org>
parents: 29364
diff changeset
453
17301
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
454 ;;;
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
455 ;;; alist for Tibetan consonantic components <-> precomposed glyph conversion.
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
456 ;;; (includes some punctuation conversion rules)
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
457 ;;;
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
458 (defconst tibetan-precomposition-rule-alist
26897
9895d3c3e7ce Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents: 23158
diff changeset
459 `(("$(7"6#B#>(B" . "$(7$G(B")
17301
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
460 ("$(7"##C#>(B" . "$(7$_(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
461 ("$(7";#>(B" . "$(7$)(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
462 ("$(7"C#:#>(B" . "$(7%.(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
463 ("$(7"C###>(B" . "$(7%-(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
464 ("$(7"C#!#B(B" . "$(7%0(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
465 ("$(7"C###B(B" . "$(7%1(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
466 ("$(7"C#9#B(B" . "$(7%2(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
467 ("$(7"G#!#B(B" . "$(7%`(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
468 ("$(7"G###B(B" . "$(7%a(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
469 ("$(7"G#5#B(B" . "$(7%b(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
470 ("$(7"G#7#B(B" . "$(7%c(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
471 ("$(7"G#9#B(B" . "$(7%d(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
472 ("$(7"G#!#C(B" . "$(7%p(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
473 ("$(7"G###C(B" . "$(7%q(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
474 ("$(7"G#4#C(B" . "$(7%r(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
475 ("$(7"G#5#C(B" . "$(7%s(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
476 ("$(7"G#7#C(B" . "$(7%t(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
477 ("$(7"G#9#C(B" . "$(7%u(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
478 ("$(7""#>(B" . "$(7$"(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
479 ("$(7"*#>(B" . "$(7$%(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
480 ("$(7":#>(B" . "$(7$((B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
481 ("$(7"?#>(B" . "$(7$*(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
482 ("$(7"E#>(B" . "$(7$.(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
483 ("$(7""#B(B" . "$(7$A(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
484 ("$(7"6#B(B" . "$(7$D(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
485 ("$(7""#C(B" . "$(7$Q(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
486 ("$(7"1#C(B" . "$(7$T(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
487 ("$(7"6#C(B" . "$(7$W(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
488 ("$(7"E#C(B" . "$(7$Z(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
489 ("$(7"<#C(B" . "$(7$^(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
490 ("$(7"C#%(B" . "$(7%#(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
491 ("$(7"C#*(B" . "$(7%%(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
492 ("$(7"C#:(B" . "$(7%+(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
493 ("$(7"C#<(B" . "$(7%,(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
494 ("$(7"D#%(B" . "$(7%B(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
495 ("$(7"G#%(B" . "$(7%R(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
496 ("$(7"G#*(B" . "$(7%S(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
497 ("$(7"G#:(B" . "$(7%Z(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
498 ("$(7"!#>(B" . "$(7$!(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
499 ("$(7"##>(B" . "$(7$#(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
500 ("$(7"&#>(B" . "$(7$$(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
501 ("$(7"0#>(B" . "$(7$&(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
502 ("$(7"2#>(B" . "$(7$'(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
503 ("$(7"@#>(B" . "$(7$+(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
504 ("$(7"C#>(B" . "$(7$,(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
505 ("$(7"D#>(B" . "$(7$-(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
506 ("$(7"G#>(B" . "$(7$/(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
507 ("$(7"H#>(B" . "$(7$0(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
508 ("$(7"!#B(B" . "$(7$@(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
509 ("$(7"##B(B" . "$(7$B(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
510 ("$(7"5#B(B" . "$(7$C(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
511 ("$(7"7#B(B" . "$(7$E(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
512 ("$(7"9#B(B" . "$(7$F(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
513 ("$(7"!#C(B" . "$(7$P(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
514 ("$(7"##C(B" . "$(7$R(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
515 ("$(7"0#C(B" . "$(7$S(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
516 ("$(7"2#C(B" . "$(7$U(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
517 ("$(7"5#C(B" . "$(7$V(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
518 ("$(7"7#C(B" . "$(7$X(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
519 ("$(7"9#C(B" . "$(7$Y(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
520 ("$(7"G#C(B" . "$(7$[(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
521 ("$(7"H#C(B" . "$(7$\(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
522 ("$(7"(#C(B" . "$(7$](B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
523 ("$(7"!#D(B" . "$(7$`(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
524 ("$(7"##D(B" . "$(7$a(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
525 ("$(7"7#D(B" . "$(7$b(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
526 ("$(7"@#D(B" . "$(7$c(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
527 ("$(7"C#D(B" . "$(7$d(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
528 ("$(7"G#D(B" . "$(7$e(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
529 ("$(7"C#!(B" . "$(7%!(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
530 ("$(7"C##(B" . "$(7%"(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
531 ("$(7"C#((B" . "$(7%$(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
532 ("$(7"C#0(B" . "$(7%&(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
533 ("$(7"C#2(B" . "$(7%'(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
534 ("$(7"C#4(B" . "$(7%((B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
535 ("$(7"C#7(B" . "$(7%)(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
536 ("$(7"C#9(B" . "$(7%*(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
537 ("$(7"D#!(B" . "$(7%@(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
538 ("$(7"D##(B" . "$(7%A(B")
29597
79fb788042f3 (tibetan-composable-pattern): Fix previous change.
Kenichi Handa <handa@m17n.org>
parents: 29364
diff changeset
539 ("$(7"D#4(B" . "$(7!!(B") ; dummy 0x2121 added 2000/06/08 for transition l -> lng
17301
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
540 ("$(7"D#&(B" . "$(7%C(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
541 ("$(7"D#((B" . "$(7%D(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
542 ("$(7"D#0(B" . "$(7%E(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
543 ("$(7"D#2(B" . "$(7%F(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
544 ("$(7"D#5(B" . "$(7%G(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
545 ("$(7"D#7(B" . "$(7%H(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
546 ("$(7"D#H(B" . "$(7%I(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
547 ("$(7"G#!(B" . "$(7%P(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
548 ("$(7"G##(B" . "$(7%Q(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
549 ("$(7"G#0(B" . "$(7%T(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
550 ("$(7"G#2(B" . "$(7%U(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
551 ("$(7"G#4(B" . "$(7%V(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
552 ("$(7"G#5(B" . "$(7%W(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
553 ("$(7"G#7(B" . "$(7%X(B")
26897
9895d3c3e7ce Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents: 23158
diff changeset
554 ("$(7"G#9(B" . "$(7%Y(B")))
9895d3c3e7ce Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents: 23158
diff changeset
555
9895d3c3e7ce Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents: 23158
diff changeset
556 (defconst tibetan-obsolete-glyphs
9895d3c3e7ce Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents: 23158
diff changeset
557 `(("$(7!=(B" . "$(8!=(B") ; 2 col <-> 1 col
17301
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
558 ("$(7!?(B" . "$(8!?(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
559 ("$(7!@(B" . "$(8!@(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
560 ("$(7!A(B" . "$(8!A(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
561 ("$(7"`(B" . "$(8"`(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
562 ("$(7!;(B" . "$(8!;(B")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
563 ("$(7!D(B" . "$(8!D(B")
26897
9895d3c3e7ce Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents: 23158
diff changeset
564 ;; Yes these are dirty. But ...
9895d3c3e7ce Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents: 23158
diff changeset
565 ("$(7!>(B $(7!>(B" . ,(compose-string "$(7!>(B $(7!>(B" 0 3 [?$(7!>(B (Br . Bl) ? (Br . Bl) ?$(7!>(B]))
9895d3c3e7ce Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents: 23158
diff changeset
566 ("$(7!4!5!5(B" . ,(compose-string
9895d3c3e7ce Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents: 23158
diff changeset
567 "$(7#R#S#S#S(B" 0 4
9895d3c3e7ce Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents: 23158
diff changeset
568 [?$(7#R(B (Br . Bl) ?$(7#S(B (Br . Bl) ?$(7#S(B (Br . Bl) ?$(7#S(B]))
9895d3c3e7ce Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents: 23158
diff changeset
569 ("$(7!4!5(B" . ,(compose-string "$(7#R#S#S(B" 0 3 [?$(7#R(B (Br . Bl) ?$(7#S(B (Br . Bl) ?$(7#S(B]))
9895d3c3e7ce Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents: 23158
diff changeset
570 ("$(7!6(B" . ,(compose-string "$(7#R#S!I(B" 0 3 [?$(7#R(B (Br . Bl) ?$(7#S(B (br . tr) ?$(7!I(B]))
9895d3c3e7ce Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents: 23158
diff changeset
571 ("$(7!4(B" . ,(compose-string "$(7#R#S(B" 0 2 [?$(7#R(B (Br . Bl) ?$(7#S(B]))))
17301
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
572
26897
9895d3c3e7ce Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents: 23158
diff changeset
573 (defconst tibetan-regexp
9895d3c3e7ce Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents: 23158
diff changeset
574 (let ((l (list tibetan-precomposed-transcription-alist
9895d3c3e7ce Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents: 23158
diff changeset
575 tibetan-consonant-transcription-alist
9895d3c3e7ce Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents: 23158
diff changeset
576 tibetan-vowel-transcription-alist
9895d3c3e7ce Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents: 23158
diff changeset
577 tibetan-modifier-transcription-alist
9895d3c3e7ce Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents: 23158
diff changeset
578 tibetan-subjoined-transcription-alist))
9895d3c3e7ce Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents: 23158
diff changeset
579 (separator "\\|")
9895d3c3e7ce Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents: 23158
diff changeset
580 tail pattern)
17301
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
581 (while l
26897
9895d3c3e7ce Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents: 23158
diff changeset
582 (setq tail (car l) l (cdr l))
9895d3c3e7ce Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents: 23158
diff changeset
583 (while tail
9895d3c3e7ce Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents: 23158
diff changeset
584 (setq pattern (cons separator (cons (car (car tail)) pattern))
9895d3c3e7ce Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents: 23158
diff changeset
585 tail (cdr tail))))
9895d3c3e7ce Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents: 23158
diff changeset
586 (apply 'concat (nreverse (cdr pattern))))
9895d3c3e7ce Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents: 23158
diff changeset
587 "Regexp matching a Tibetan transcription of a composable Tibetan sequence.
9895d3c3e7ce Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents: 23158
diff changeset
588 The result of matching is to be used for indexing alists at conversion
9895d3c3e7ce Register tibetan-composition-function in
Kenichi Handa <handa@m17n.org>
parents: 23158
diff changeset
589 from a roman transcription to the corresponding Tibetan character.")
17301
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
590
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
591 (defvar tibetan-precomposed-regexp
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
592 (let ((l tibetan-precomposed-transcription-alist)
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
593 temp)
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
594 (setq temp "^\\(")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
595 (setq temp
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
596 (concat temp (car (car l))))
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
597 (setq l (cdr l))
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
598 (while l
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
599 (setq temp
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
600 (concat temp "\\|" (car (car l))))
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
601 (setq l (cdr l)))
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
602 (concat temp "\\)"))
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
603 "Regexp string to match a romanized Tibetan complex consonant.
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
604 The result of matching is to be used for indexing alists when the input key
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
605 from an input method is converted to the corresponding precomposed glyph.")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
606
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
607 (defvar tibetan-precomposition-rule-regexp
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
608 (let ((l tibetan-precomposition-rule-alist)
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
609 temp)
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
610 (setq temp "\\(")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
611 (setq temp (concat temp (car (car l))))
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
612 (setq l (cdr l))
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
613 (while l
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
614 (setq temp (concat temp "\\|" (car (car l))))
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
615 (setq l (cdr l)))
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
616 (concat temp "\\)"))
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
617 "Regexp string to match a sequence of Tibetan consonantic components, i.e.,
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
618 one base consonant and one or more subjoined consonants.
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
619 The result of matching is to be used for indexing alist when the component
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
620 sequence is converted to the corresponding precomposed glyph.
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
621 This also matches some punctuation characters which need conversion.")
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
622
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
623 (defvar tibetan-decomposed nil)
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
624 (defvar tibetan-decomposed-temp nil)
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
625
0b94fe381355 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
626 ;;; language/tibetan.el ends here