summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/fonts/misc/xetex/fontmapping/arabxetex/arabtex-trans.map
blob: 03ef6e8f4775fa4dc41cb439f048457fac25e609 (plain)
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
;; LHSName  "ArabTeX-ZDMG"
LHSName  "ArabTeX-LOC"
;; LHSName  "ArabTeX-EI"
RHSName  "UNICODE"

Define a U+0061  ;a
Define b U+0062  ;b
Define c U+0063  ;c
Define d U+0064  ;d
Define e U+0065  ;e
Define f U+0066  ;f
Define g U+0067  ;g
Define h U+0068  ;h
Define i U+0069  ;i
Define j U+006A  ;j
Define k U+006B  ;k
Define l U+006C  ;l
Define m U+006D  ;m
Define n U+006E  ;n
Define o U+006F  ;o
Define p U+0070  ;p
Define q U+0071  ;q
Define r U+0072  ;r
Define s U+0073  ;s
Define t U+0074  ;t
Define u U+0075  ;u
Define v U+0076  ;v
Define w U+0077  ;w
Define x U+0078  ;x
Define y U+0079  ;y
Define z U+007A  ;z
Define A U+0041  ;A
Define B U+0042  ;B
Define E U+0045  ;E
Define G U+0047  ;G
Define I U+0049  ;I
Define N U+004E  ;N
Define O U+004F  ;O
Define T U+0054  ;T
Define U U+0055  ;U
Define Y U+0059  ;Y
Define C U+005E  ;^  << CARET
Define UL U+005F ;_  << UNDERLINE 
Define P U+002E  ;.  << DOT
Define V U+002C  ;,  << COMMA (_V_irgule)
Define CO U+003A ;:  << COLON
Define Ain U+0060 ;` 
Define H U+0027  ;'  << HAMZA 
Define Q U+0022  ;"  << QUOTE
Define Z U+002D  ;-  << HYPHEN
Define BAR U+007C ;|
Define LLAH U+006C U+006C U+005F U+0061 U+0068 

pass(Unicode)

Class [VWL]         = (U+0061  U+0065  U+0069  U+006F  U+0075) ;(a e i o u) 
Class [LTR]	    = (U+0061..U+007A U+0041 U+0045 U+0049 U+004F U+0055 U+0042 U+004E U+0054 U+0059 U+005E U+002E U+005F U+0022 U+0027 U+0060) ;a..z A E I O U B N T Y ^ . _ " "" `
Class [BRACKETS]    = (U+003C U+003E U+00AB U+00BB U+0028 U+0029 U+005B U+005D U+2018 U+2019 U+201C U+201D); < > () « » [ ] ‘ ’ “ ”

Define BEG  (#|Z|[BRACKETS])

; special ligatures
(a|A) l Z / _ LLAH > A ;; 'al-ll_ah' or 'Al-ll_ah'
U+0053 U+004C U+004D > U+1E63 U+0061 U+006C U+006C U+0101 U+0020 U+0041 U+006C U+006C U+0101 U+0068 U+0020 U+02BF U+0061 U+006C U+0061 U+0079 U+0068 U+0069 U+0020 U+0077 U+0061 U+002D U+0073 U+0061 U+006C U+006C U+0061 U+006D  ; 'SLM' : .sallY al-ll_ah `alayhi wa-sallam
U+0052 U+0049 U+0059 U+0041 U+004C > U+0072 U+0069 U+0079 U+0101 U+006C  ;; 'RIYAL' : Saudi currency sign
U+0053 U+0041 U+004C U+004C U+0041 U+0053 U+0054 U+004F U+0050 > ;; 'SALLASTOP' 
U+0051 U+0041 U+004C U+0041 > ;; 'QALA' 
U+0041 U+004B U+0042 U+0041 U+0052 > U+0041 U+006B U+0062 U+0061 U+0072  ;; 'AKBAR'
U+004D U+0055 U+0048 U+0041 U+004D U+004D U+0041 U+0044 > U+004D U+0075 U+1E25 U+0061 U+006D U+006D U+0061 U+0064  ;; 'MUHAMMAD'
U+0053 U+0041 U+004C U+0041 U+004D > U+0073 U+0061 U+006C U+0101 U+006D  ;; 'SALAM'
U+0052 U+0041 U+0053 U+004F ? U+0055 U+004C > U+0072 U+0061 U+0073 U+016B U+006C  ;; 'RASUL' (also unicode 'RASOUL)'
U+0041 U+004C U+0041 U+0059 U+0048 (U+0049|U+0045) > U+02BF U+0061 U+006C U+0061 U+0079 U+0068 U+0069  ;; 'ALAYHI' (also unicode 'ALAYHE)'
U+0057 U+0041 U+0053 U+0041 U+004C U+004C U+0041 U+004D > U+0077 U+0061 U+002D U+0073 U+0061 U+006C U+006C U+0061 U+006D  ;; 'WASALLAM' 
U+0053 U+0041 U+004C U+004C U+0041 > U+1E63 U+0061 U+006C U+006C U+0101  ;; 'SALLA'
U+004A U+0041 U+004C U+004C U+0041 > U+006A U+0061 U+006C U+006C U+0101  ;; 'JALLA' : 
U+0042 U+0041 U+0053 U+004D U+0041 U+004C U+0041 > U+0062 U+0069 U+0073 U+006D U+0069 U+0020 U+0041 U+006C U+006C U+0101 U+0068 U+0020 U+0061 U+006C U+002D U+0072 U+0061 U+1E25 U+006D U+0101 U+006E U+0020 U+0061 U+006C U+002D U+0072 U+0061 U+0068 U+012B U+006D  ;; 'BASMALA'
U+005E U+0053 U+004C U+0059 > ;; ^SLY
U+005E U+0051 U+004C U+0059 > ;; ^QLY
U+005E U+004D U+0049 U+004D > ;; ^MIM
U+005E U+004C U+0041 > ;; ^LA
U+005E U+004A U+0049 U+004D > ;; ^JIM
U+005E U+0044 U+004F U+0054 U+0053 > ;; ^DOTS
U+005E U+0053 U+0049 U+004E > ;; ^SIN
U+0048 U+0049 U+005A U+0042 > ;; HIZB
U+0043 U+0049 U+0052 U+0043 U+005A U+0045 U+0052 U+004F > ;; CIRCZERO
U+0052 U+0045 U+0043 U+0054 U+005A U+0045 U+0052 U+004F > ;; RECTZERO
U+0053 U+0041 U+004A U+0044 U+0041 > ;; SAJDA
U+0044 U+004F U+0054 U+0053 > ;; DOTS


; general

;persian
;; #P UL h w > U+1E2B  
;; #P U+0048 > h ; capital H > h
;;
;; #zdmg l Z [SUNCONS]=sc / (a | H) _ > @sc Z @sc ; 
;; #zdmg [VWL] / [VWL] BEG _ > U+2019  ; vowel at beg of word replaced by apostr when prec word end with vowel
;; #zdmg (A|Y|UL A) / _ (N|U|W) > ;

; problem of "T": It should be omitted when at end of word and when not
; the 1st member of a definite construct: al-madInaT al-`a.zImaT > al-madīna al-ʿaẓīma
; Only solution is to always transliterate to t, except when explicitly "quoted off":
T Q / _ # > ;
T > t
;;#U T > h
N > n 
U+0057 > w
(U|u u|UL u) > U+016B  
(A|a a|UL a|UL A) > U+0101  
(I|i i|UL i) > U+012B  
;;#U (E|a e) / _ # > H U+0113  
;;#T (E|e) e > e y ; pashto
(E|e e) > U+0113  
(O|o o) > U+014D  
C A > U+02BE U+0101 ; historical spelling
C U > U+02BE U+016B ; historical spelling : madda on waw
C I > U+02BE U+012B ; historical spelling : madda on ya
Q > ;

P z > U+1E93
V z > U+017A
;; #zdmg C z > U+017E  ;check
C z > z h ;check
V t > t U+0301
P t > U+1E6D
;; #zdmg UL t > U+1E6F  
UL t > t h
;; #zdmg C s > U+0161  
C s > s h
UL s > U+1E6F ; sindhi
V r > U+0155
P r > U+1E59; r with dot above 
P q > q ; ?
V n > U+0144
C n  > U+00F1  
P n > U+1E47 
CO n > n U+0324
C l  > l U+0303 ; l + combining tilde
CO g > g U+0324
V d > d U+0301
CO d > d U+0324
P d > U+1E0D
V s > U+015B
P s > U+1E63  
;; #zdmg (j|C g) > U+01E7  ;
(j|C g) > j ;
CO j > U+0237 U+0308
P h > U+1E25  
V h > h
;; #zdmg (UL h|x) > U+1E2B  
(UL h|x) > k h
G > g
P g > U+0121  
P f > f ; ?
;; #zdmg UL d > U+1E0F  
UL d > d h
;; #zdmg C c > U+010D   ;
C c > c h ;
CO b > b U+0324  
P b > x ; ? undotted (b,t,th,n,y) ... 

Y > U+0101 ;ā -> sometimes á : check


Ain	  > U+02BF 
Z H 	  > Z
H / # _   > ;
H         > U+02BE  
Z Z Z     > ;
Z Z       > ;
B         > ;
U+003C U+003C  > U+00AB ;<<
U+003E U+003E  > U+00BB ;>>
UL        >   ;_
U+003A U+003A > U+2234 ; '::' ??Arabic three dots transliterated by Therefore?? 
N         >   ;
C         >   ;^
Q BAR	  >   ;;
BAR       >   ;| 

pass(Unicode)

Class [LOWERCASE]    = ( U+0061..U+007A U+0101 U+0113 U+012B U+014D U+016B U+1E0D U+1E25 U+1E33 U+1E63 U+1E6D U+1E93 U+1E2B U+1E0F U+1E6F U+0121 U+01E7 )
Class [UPPERCASE]    = ( U+0041..U+005A U+0100 U+0112 U+012A U+014C U+016A U+1E0C U+1E24 U+1E32 U+1E62 U+1E6C U+1E92 U+1E2A U+1E0E U+1E6E U+0120 U+01E6 )

[LOWERCASE] / U+E000 _ > [UPPERCASE]
[LOWERCASE] / U+E000 a l Z _ > [UPPERCASE]

pass(Unicode)

U+E000 > ;

A l Z > a l Z