aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKenichi Handa2000-06-12 06:51:13 +0000
committerKenichi Handa2000-06-12 06:51:13 +0000
commit3e799ba149b82d18d9d2ab483d11aa00a46af8b6 (patch)
treef758c1380135f41de19cc5bbccfa092e9dbecfd3
parent7258f9caa46b374afecc1788dbc79a0412977308 (diff)
downloademacs-3e799ba149b82d18d9d2ab483d11aa00a46af8b6.tar.gz
emacs-3e799ba149b82d18d9d2ab483d11aa00a46af8b6.zip
(tibetan-composable-pattern): Fix previous change.
(tibetan-vowel-transcription-alist): More rules added. (tibetan-composite-vowel-alist): New variable. (tibetan-precomposition-rule-alist): More rules added.
-rw-r--r--lisp/language/tibetan.el48
1 files changed, 45 insertions, 3 deletions
diff --git a/lisp/language/tibetan.el b/lisp/language/tibetan.el
index 2cf3eb43dbb..f8d5992a59c 100644
--- a/lisp/language/tibetan.el
+++ b/lisp/language/tibetan.el
@@ -99,14 +99,19 @@
99 (features tibet-util) 99 (features tibet-util)
100 (documentation . t) 100 (documentation . t)
101 (sample-text . 101 (sample-text .
102"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"Q1#2#9"[!;4"Hx!"Rx!"Ur'"c0"H"A"U"c1!>(B"))) 102"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")))
103 103
104 104
105;; `$(7"A(B' is included in the pattern for subjoined consonants because we 105;; `$(7"A(B' is included in the pattern for subjoined consonants because we
106;; treat it specially in tibetan-add-components. 106;; treat it specially in tibetan-add-components.
107;; modified by Tomabechi 1999/12/10 107;; modified by Tomabechi 1999/12/10
108;; modified by Tomabechi 2000/06/08
109;; To allow infinite addition of vowels/modifiers
110;; as specified in Unicode v.3
111;; $(7"A(B is removed from the class of subjoined. Tomabechi 2000/06/08
112;; (for Unicode support)
108(defconst tibetan-composable-pattern 113(defconst tibetan-composable-pattern
109 "[$(7"!(B-$(7"J"K(B][$(7"A#!(B-$(7#J#K#L#M(B]*$(7"R(B?[$(7"Q"S(B-$(7"^"a"e(B]?[$(7"_"c"d"g(B-$(7"l!I!e!g(B]*" 114 "[$(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]*"
110 "Regexp matching a composable sequence of Tibetan characters.") 115 "Regexp matching a composable sequence of Tibetan characters.")
111 116
112;; Register a function to compose Tibetan characters. 117;; Register a function to compose Tibetan characters.
@@ -169,7 +174,19 @@
169 174
170 175
171(defconst tibetan-vowel-transcription-alist 176(defconst tibetan-vowel-transcription-alist
172 '(("ai" . "$(7"\(B") 177 '(
178 ;; Composite Vowels
179 ;; Added by Tomabechi 2000/06/08
180 ("frr" . "$(7"X(B")
181 ("fll" . "$(7"Z(B")
182 ("fa" . "$(7"R(B")
183 ("fi" . "$(7"T(B")
184 ("fu" . "$(7"V(B")
185 ("fr" . "$(7"W(B")
186 ("fl" . "$(7"Y(B")
187 ("fI" . "$(7"b(B")
188 ;; Normal Vowels
189 ("ai" . "$(7"\(B")
173 ("au" . "$(7"^(B") 190 ("au" . "$(7"^(B")
174 ("ee" . "$(7"\(B") 191 ("ee" . "$(7"\(B")
175 ("oo" . "$(7"^(B") 192 ("oo" . "$(7"^(B")
@@ -408,6 +425,30 @@
408 ;; Added by Tomabechi 1999/12/10 425 ;; Added by Tomabechi 1999/12/10
409 ("$(7"K(B" . "$(7#M(B") ;; Fixed form RA (224B->234D) 426 ("$(7"K(B" . "$(7#M(B") ;; Fixed form RA (224B->234D)
410 )) 427 ))
428
429;;; alist for Tibetan composite vowels (long i, vocalic r, etc.)
430;;; New varialble. created by Tomabechi 2000/06/08
431(defconst tibetan-composite-vowel-alist
432 '(;; LONG A
433 ;; ("$(7"R(B" . ((bc . tc) ?$(7"R(B))
434 ;; LONG I
435 ("$(7"T(B" . (?$(7"R(B (tc . bc) ?$(7"S(B))
436 ;; LONG U
437 ("$(7"V(B" . (?$(7"R(B (bc . tc) ?$(7"U(B))
438 ;; VOCALIC R
439 ("$(7"W(B" . (?$(7#C(B (tc . bc) ?$(7"a(B))
440 ;; LONG VOCALIC R
441 ("$(7"X(B" . (?$(7#C(B (bc . tc) ?$(7"R(B (tc . bc) ?$(7"a(B))
442 ;; VOCALIC L
443 ("$(7"Y(B" . (?$(7#D(B (tc . bc) ?$(7"a(B))
444 ;;$(7!;(BLONG VOCALIC L
445 ("$(7"Z(B" . (?$(7#D(B (bc . tc) ?$(7"R(B (tc . bc) ?$(7"a(B))
446 ;; LONG REVERSE I
447 ("$(7"b(B" . (?$(7"R(B (tc . bc) ?$(7"a(B))
448 ))
449
450
451
411;;; 452;;;
412;;; alist for Tibetan consonantic components <-> precomposed glyph conversion. 453;;; alist for Tibetan consonantic components <-> precomposed glyph conversion.
413;;; (includes some punctuation conversion rules) 454;;; (includes some punctuation conversion rules)
@@ -493,6 +534,7 @@
493 ("$(7"C#9(B" . "$(7%*(B") 534 ("$(7"C#9(B" . "$(7%*(B")
494 ("$(7"D#!(B" . "$(7%@(B") 535 ("$(7"D#!(B" . "$(7%@(B")
495 ("$(7"D##(B" . "$(7%A(B") 536 ("$(7"D##(B" . "$(7%A(B")
537 ("$(7"D#4(B" . "$(7!!(B") ; dummy 0x2121 added 2000/06/08 for transition l -> lng
496 ("$(7"D#&(B" . "$(7%C(B") 538 ("$(7"D#&(B" . "$(7%C(B")
497 ("$(7"D#((B" . "$(7%D(B") 539 ("$(7"D#((B" . "$(7%D(B")
498 ("$(7"D#0(B" . "$(7%E(B") 540 ("$(7"D#0(B" . "$(7%E(B")