-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdeva.map
451 lines (370 loc) · 9.59 KB
/
deva.map
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
;;
;; This is file `deva.map',
;; generated with the docstrip utility.
;;
;; The original source files were:
;;
;; brahmic.dtx (with options: `deva,nukta')
;;
;; Copyright 2015 David M. Jones
;;
;; email: dmj@ams.org
;;
;; This work may be distributed and/or modified under the
;; conditions of the LaTeX Project Public License, either version 1.3c
;; of this license or (at your option) any later version.
;; The latest version of this license is in
;; http://www.latex-project.org/lppl.txt
;; and version 1.3c or later is part of all distributions of LaTeX
;; version 2005/12/01 or later.
;;
;; This work has the LPPL maintenance status `maintained'.
;;
;; The Current Maintainer of this work is David M. Jones.
LHSName "Unicode/ISO 15919"
RHSName "Unicode/Devanagari"
Version "0.01 beta"
Define a U+0061
Define ae U+00E6
Define b U+0062
Define c U+0063
Define d U+0064
Define e U+0065
Define f U+0066
Define g U+0067
Define h U+0068
Define i U+0069
Define j U+006A
Define k U+006B
Define l U+006C
Define m U+006D
Define n U+006E
Define o U+006F
Define p U+0070
Define q U+0071
Define r U+0072
Define s U+0073
Define t U+0074
Define u U+0075
Define v U+0076
Define w U+0077
; Define x U+0078
Define y U+0079
Define z U+007A
Define ri U+E000 ; PUA
Define lry U+E001 ; PUA
Define apos U+0027
; Define colon U+003A ; predefined
Define degree U+00B0
Define bar U+007C
Define lbrack U+005B
Define rbrack U+005D
Define grave U+0300
Define acute U+0301
Define circumflex U+0302
Define tildeabove U+0303
Define macronabove U+0304
Define breveabove U+0306
Define dotabove U+0307
Define dieresis U+0308
Define vert U+030D
Define CANDRABINDU U+0310
Define dotbelow U+0323
Define ringbelow U+0325
Define ccedilla U+0327
Define hookbelow U+0328
Define brevebelow U+032E
Define macronbelow U+0331
Define danda U+0964
Define dbldanda U+0965
Define zwnj U+200C ; ZERO WIDTH NON-JOINER
Define zwj U+200D ; ZERO WIDTH JOINER
Define hiatus U+0020 ; SPACE
Define nbsp U+00A0 ; NO-BREAK SPACE
Define NOTDEF U+FFFD
; Define altcandrabindu U+0900
Define candrabindu U+0901
Define anusvara U+0902
Define visarga U+0903
; Define ashort U+0904
Define asvara U+0905
Define Asvara U+0906
Define isvara U+0907
Define Isvara U+0908
Define usvara U+0909
Define Usvara U+090A
Define rsvara U+090B
Define lsvara U+090C
Define esvara U+090E
Define Esvara U+090F
Define ecandra U+090D
Define aisvara U+0910
Define osvara U+0912
Define Osvara U+0913
Define ocandra U+0911
Define ausvara U+0914
Define ka U+0915
Define kha U+0916
Define ga U+0917
Define gha U+0918
Define nga U+0919
Define ca U+091A
Define cha U+091B
Define ja U+091C
Define jha U+091D
Define nya U+091E
Define tta U+091F
Define ttha U+0920
Define dda U+0921
Define ddha U+0922
Define nna U+0923
Define ta U+0924
Define tha U+0925
Define da U+0926
Define dha U+0927
Define na U+0928
Define nnna U+0929
Define pa U+092A
Define pha U+092B
Define ba U+092C
Define bha U+092D
Define ma U+092E
Define ya U+092F
Define ra U+0930
Define rra U+0931
Define la U+0932
Define lla U+0933
Define llla U+0934
Define va U+0935
Define sha U+0936
Define ssa U+0937
Define sa U+0938
Define ha U+0939
; Define oematra U+093A
; Define OEmatra U+093B
Define nukta U+093C
Define avagraha U+093D
Define Amatra U+093E
Define imatra U+093F
Define Imatra U+0940
Define umatra U+0941
Define Umatra U+0942
Define rmatra U+0943
Define Rmatra U+0944
Define ematra U+0946
Define Ematra U+0947
Define ecandramatra U+0945
Define aimatra U+0948
Define omatra U+094A
Define Omatra U+094B
Define ocandramatra U+0949
Define aumatra U+094C
Define virama U+094D
; Define prishthamatra U+094E
; Define awmatra U+094F
; Define om U+0950
Define udatta U+0951
Define anudatta U+0952
; Define devgrave U+0953
; Define devacute U+0954
; Define Ecandra U+0955
; Define uematra U+0956
; Define UEmatra U+0957
Define qa U+0958
Define khha U+0959
Define ghha U+095A
Define za U+095B
Define dddha U+095C
Define rha U+095D
Define fa U+095E
Define yya U+095F
Define Rsvara U+0960
Define Lsvara U+0961
Define lmatra U+0962
Define Lmatra U+0963
Define zero U+0966
Define one U+0967
Define two U+0968
Define three U+0969
Define four U+096A
Define five U+096B
Define six U+096C
Define seven U+096D
Define eight U+096E
Define nine U+096F
Define abbrev U+0970
; Define devdot U+0971
; Define acandra U+0972
; Define oesvara U+0973
; Define OEsvara U+0974
; Define awsvara U+0975
; Define uesvara U+0976
; Define UEsvara U+0977
; Define ddamarwari U+0978
; Define zha U+0979
; Define jjya U+097a
; Define gga U+097b
; Define jja U+097c
; Define devglottal U+097d
; Define ddda U+097e
; Define bba U+097f
Define jihvamuliya U+1CF5
Define upadhmaniya U+1CF6
Define extravyanjana dddha fa ghha khha lla llla qa rha yya za
pass(NFD)
pass(Unicode)
UniClass[upper] = (U+0041 .. U+005A) ; A..Z
UniClass[lower] = (U+0061 .. U+007A) ; a..z
[upper] > [lower]
lbrack .* rbrack >
pass(Unicode)
l ringbelow > lry
r ringbelow > ri
i dieresis > zwnj i
u dieresis > zwnj u
macronbelow macronabove > macronabove macronbelow
macronbelow CANDRABINDU > CANDRABINDU macronbelow
pass(Unicode)
U+0030 > zero
U+0031 > one
U+0032 > two
U+0033 > three
U+0034 > four
U+0035 > five
U+0036 > six
U+0037 > seven
U+0038 > eight
U+0039 > nine
UniClass[short_in] = (a i u ri lry)
UniClass[short_out] = (asvara isvara usvara rsvara lsvara)
UniClass[long_out] = (Asvara Isvara Usvara Rsvara Lsvara)
[short_in] macronabove > [long_out]
[short_in] > [short_out]
u breveabove > usvara
e > esvara
e macronabove > Esvara
a i > aisvara
e circumflex > ecandra
o circumflex > ocandra
o > osvara
o macronabove > Osvara
a u > ausvara
h macronbelow > jihvamuliya
h brevebelow > upadhmaniya
apos > avagraha
vert > udatta
macronbelow > anudatta
grave >
acute >
tildeabove >
m dotabove > anusvara
h dotbelow > visarga
m dotbelow > anusvara
m CANDRABINDU > candrabindu
n CANDRABINDU > candrabindu
q <> qa
k macronbelow h macronbelow > khha
g dotabove > ghha
z > za
f > fa
k <> ka
k h <> kha
g <> ga
g h <> gha
n dotabove <> nga
c <> ca
c h <> cha
j <> ja
j h <> jha
n tildeabove <> nya
t dotbelow <> tta
t dotbelow h <> ttha
d dotbelow <> dda
d dotbelow h <> ddha
n dotbelow <> nna
r dotbelow > dddha
r dotbelow h > rha
t <> ta
t h <> tha
d <> da
d h <> dha
n <> na
p <> pa
p h <> pha
b <> ba
b h <> bha
m <> ma
r macronbelow <> rra
n macronbelow <> nnna
l macronbelow <> llla
y <> ya
y dotabove > yya
r breveabove > rra zwj
r <> ra
l <> la
v <> va
s acute <> sha
s dotbelow <> ssa
s <> sa
h <> ha
l dotbelow <> lla
degree <> abbrev
bar <> danda
bar bar <> dbldanda
UniClass[vyanjana] = (ka .. ha extravyanjana)
; colon / [vyanjana] _ [vyanjana] <> virama zwj
colon <> zwj
; pass(Unicode)
;
; UniClass[vyanjana] = (ka .. ha)
;
; lla / [vyanjana] _ > lsvara
; lla / # _ > lsvara
; lla / _ # > lsvara
pass(unicode)
UniClass[svaras] = (udatta anudatta)
UniClass[bindus] = (anusvara candrabindu)
[svaras]=v1 [bindus]=b1 > @b1 @v1
pass(Unicode)
UniClass[vyanjana] = (ka .. ha extravyanjana)
UniClass[svara] = ( Asvara \
isvara Isvara \
usvara Usvara \
rsvara Rsvara \
lsvara Lsvara \
ecandra esvara Esvara \
aisvara \
ocandra osvara Osvara \
ausvara)
UniClass[matra] = ( Amatra \
imatra Imatra \
umatra Umatra \
rmatra Rmatra \
lmatra Lmatra \
ecandramatra ematra Ematra \
aimatra \
ocandramatra omatra Omatra \
aumatra)
[svara] / [vyanjana] _ > [matra]
UniClass[combiners] = ([matra] \
candrabindu anusvara visarga \
udatta anudatta \
)
[combiners]=c1 / # _ > nbsp @c1
pass(Unicode)
UniClass[vyanjana] = (ka .. ha extravyanjana)
[vyanjana] / _ [vyanjana] > [vyanjana] virama
pass(Unicode)
UniClass[vyanjana] = (ka .. ha extravyanjana)
UniClass[novirama] = (asvara Amatra \
imatra Imatra \
umatra Umatra \
rmatra Rmatra \
lmatra Lmatra \
ematra Ematra ecandramatra aimatra \
omatra Omatra ocandramatra aumatra \
virama)
[vyanjana] / _ ^[novirama] <> [vyanjana] virama
pass(Unicode)
UniClass[vyanjana] = (ka .. ha extravyanjana)
[vyanjana] asvara <> [vyanjana]