summaryrefslogtreecommitdiff
path: root/Build/source/utils/xindy/make-rules/alphabets/russian/translit-tex.xdy
blob: 3c6b60dfe115b88c69cabffd98a6cfa547a400c6 (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
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
;; Rules for xindy; generated by make-rules.pl
;; language: Russian

(define-letter-group "A" :prefixes (" "))
(define-letter-group "B" :after "A" :prefixes ("¤"))
(define-letter-group "C" :after "B" :prefixes ("¥"))
(define-letter-group "D" :after "C" :prefixes ("¬"))
(define-letter-group "E" :after "D" :prefixes ("²"))
(define-letter-group "F" :after "E" :prefixes ("¶"))
(define-letter-group "G" :after "F" :prefixes ("·"))
(define-letter-group "H" :after "G" :prefixes ("»"))
(define-letter-group "I" :after "H" :prefixes ("¿"))
(define-letter-group "J" :after "I" :prefixes ("Á"))
(define-letter-group "K" :after "J" :prefixes ("Ã"))
(define-letter-group "L" :after "K" :prefixes ("Å"))
(define-letter-group "M" :after "L" :prefixes ("Ê"))
(define-letter-group "N" :after "M" :prefixes ("Ë"))
(define-letter-group "O" :after "N" :prefixes ("Ñ"))
(define-letter-group "P" :after "O" :prefixes ("Ô"))
(define-letter-group "R" :after "P" :prefixes ("Ö"))
(define-letter-group "S" :after "R" :prefixes ("Ú"))
(define-letter-group "T" :after "S" :prefixes ("á"))
(define-letter-group "U" :after "T" :prefixes ("å"))
(define-letter-group "V" :after "U" :prefixes ("è"))
(define-letter-group "Y" :after "V" :prefixes ("ì"))
(define-letter-group "Z" :after "Y" :prefixes ("í"))

(define-rule-set "ru-alphabetize"

  :rules  (("\v c" "¥" :string)
           ("\v C" "¥" :string)
           ("\~"E" "²" :string)
           ("\~"e" "²" :string)
           ("\~"i" "¿" :string)
           ("\~"I" "¿" :string)
           ("\v s" "Ú" :string)
           ("\v S" "Ú" :string)
           ("\v z" "í" :string)
           ("\v Z" "í" :string)
           ("\.E" "²" :string)
           ("\.e" "²" :string)
           ("A" " " :string)
           ("a" " " :string)
           ("B" "¤" :string)
           ("b" "¤" :string)
           ("C" "¥" :string)
           ("c" "¥" :string)
           ("D" "¬" :string)
           ("d" "¬" :string)
           ("E" "²" :string)
           ("e" "²" :string)
           ("F" "¶" :string)
           ("f" "¶" :string)
           ("G" "·" :string)
           ("g" "·" :string)
           ("H" "»" :string)
           ("h" "»" :string)
           ("I" "¿" :string)
           ("i" "¿" :string)
           ("J" "Á" :string)
           ("j" "Á" :string)
           ("K" "Ã" :string)
           ("k" "Ã" :string)
           ("L" "Å" :string)
           ("l" "Å" :string)
           ("M" "Ê" :string)
           ("m" "Ê" :string)
           ("N" "Ë" :string)
           ("n" "Ë" :string)
           ("O" "Ñ" :string)
           ("o" "Ñ" :string)
           ("p" "Ô" :string)
           ("P" "Ô" :string)
           ("R" "Ö" :string)
           ("r" "Ö" :string)
           ("s" "Ú" :string)
           ("S" "Ú" :string)
           ("T" "á" :string)
           ("t" "á" :string)
           ("u" "å" :string)
           ("U" "å" :string)
           ("V" "è" :string)
           ("v" "è" :string)
           ("Y" "ì" :string)
           ("y" "ì" :string)
           ("Z" "í" :string)
           ("z" "í" :string)
           ))

(define-rule-set "ru-resolve-diacritics"

  :rules  (("\~"i" "£" :string)
           ("\v c" "£" :string)
           ("\v z" "£" :string)
           ("\v C" "£" :string)
           ("\v Z" "£" :string)
           ("\v S" "£" :string)
           ("\~"I" "£" :string)
           ("\v s" "£" :string)
           ("\~"E" "¤" :string)
           ("\~"e" "¤" :string)
           ("\.E" "£" :string)
           ("\.e" "£" :string)
           ("F" "¢" :string)
           ("G" "¢" :string)
           ("H" "¢" :string)
           ("I" "¢" :string)
           ("J" "¢" :string)
           ("K" "¢" :string)
           ("L" "¢" :string)
           ("M" "¢" :string)
           ("N" "¢" :string)
           ("O" "¢" :string)
           ("P" "¢" :string)
           ("R" "¢" :string)
           ("S" "¢" :string)
           ("T" "¢" :string)
           ("U" "¢" :string)
           ("V" "¢" :string)
           ("Z" "¢" :string)
           ("Y" "¢" :string)
           ("a" "¢" :string)
           ("b" "¢" :string)
           ("c" "¢" :string)
           ("d" "¢" :string)
           ("A" "¢" :string)
           ("B" "¢" :string)
           ("e" "¢" :string)
           ("f" "¢" :string)
           ("g" "¢" :string)
           ("h" "¢" :string)
           ("i" "¢" :string)
           ("j" "¢" :string)
           ("k" "¢" :string)
           ("C" "¢" :string)
           ("l" "¢" :string)
           ("m" "¢" :string)
           ("n" "¢" :string)
           ("o" "¢" :string)
           ("D" "¢" :string)
           ("p" "¢" :string)
           ("r" "¢" :string)
           ("s" "¢" :string)
           ("t" "¢" :string)
           ("u" "¢" :string)
           ("E" "¢" :string)
           ("v" "¢" :string)
           ("y" "¢" :string)
           ("z" "¢" :string)
           ))

(define-rule-set "ru-resolve-case"

  :rules  (("\~"E" "8" :string)
           ("\v S" "8" :string)
           ("\~"I" "8" :string)
           ("\v C" "8" :string)
           ("\v Z" "8" :string)
           ("\v c" "9" :string)
           ("\v s" "9" :string)
           ("\~"e" "9" :string)
           ("\~"i" "9" :string)
           ("\v z" "9" :string)
           ("\.E" "8" :string)
           ("\.e" "9" :string)
           ("F" "8" :string)
           ("G" "8" :string)
           ("H" "8" :string)
           ("I" "8" :string)
           ("J" "8" :string)
           ("K" "8" :string)
           ("L" "8" :string)
           ("M" "8" :string)
           ("N" "8" :string)
           ("O" "8" :string)
           ("P" "8" :string)
           ("R" "8" :string)
           ("S" "8" :string)
           ("T" "8" :string)
           ("U" "8" :string)
           ("V" "8" :string)
           ("Z" "8" :string)
           ("Y" "8" :string)
           ("A" "8" :string)
           ("B" "8" :string)
           ("C" "8" :string)
           ("D" "8" :string)
           ("E" "8" :string)
           ("b" "9" :string)
           ("e" "9" :string)
           ("f" "9" :string)
           ("g" "9" :string)
           ("h" "9" :string)
           ("i" "9" :string)
           ("j" "9" :string)
           ("k" "9" :string)
           ("c" "9" :string)
           ("l" "9" :string)
           ("m" "9" :string)
           ("n" "9" :string)
           ("o" "9" :string)
           ("d" "9" :string)
           ("p" "9" :string)
           ("r" "9" :string)
           ("s" "9" :string)
           ("t" "9" :string)
           ("u" "9" :string)
           ("a" "9" :string)
           ("v" "9" :string)
           ("y" "9" :string)
           ("z" "9" :string)
           ))

(define-rule-set "ru-ignore-special"

  :rules  (("$''$" "" :string)
           ("$'$" "" :string)
           ("!" "" :string)
           ("-" "" :string)
           ("." "" :string)
           ("?" "" :string)
           ))

(define-rule-set "ru-resolve-special"

  :rules  (("\~"E" "¤" :string)
           ("\v c" "¤" :string)
           ("\v z" "¤" :string)
           ("\~"i" "¤" :string)
           ("\v Z" "¤" :string)
           ("\v S" "¤" :string)
           ("\~"I" "¤" :string)
           ("\v s" "¤" :string)
           ("\~"e" "¤" :string)
           ("\v C" "¤" :string)
           ("$''$" "¥" :string)
           ("\.E" "¤" :string)
           ("\.e" "¤" :string)
           ("$'$" "¦" :string)
           ("?" "¡" :string)
           ("!" "¢" :string)
           ("." "£" :string)
           ("B" "¤" :string)
           ("C" "¤" :string)
           ("D" "¤" :string)
           ("E" "¤" :string)
           ("F" "¤" :string)
           ("G" "¤" :string)
           ("H" "¤" :string)
           ("I" "¤" :string)
           ("J" "¤" :string)
           ("K" "¤" :string)
           ("L" "¤" :string)
           ("M" "¤" :string)
           ("N" "¤" :string)
           ("O" "¤" :string)
           ("P" "¤" :string)
           ("a" "¤" :string)
           ("b" "¤" :string)
           ("c" "¤" :string)
           ("d" "¤" :string)
           ("Z" "¤" :string)
           ("Y" "¤" :string)
           ("e" "¤" :string)
           ("f" "¤" :string)
           ("g" "¤" :string)
           ("h" "¤" :string)
           ("i" "¤" :string)
           ("j" "¤" :string)
           ("k" "¤" :string)
           ("V" "¤" :string)
           ("l" "¤" :string)
           ("m" "¤" :string)
           ("n" "¤" :string)
           ("A" "¤" :string)
           ("o" "¤" :string)
           ("U" "¤" :string)
           ("p" "¤" :string)
           ("r" "¤" :string)
           ("s" "¤" :string)
           ("t" "¤" :string)
           ("u" "¤" :string)
           ("T" "¤" :string)
           ("S" "¤" :string)
           ("v" "¤" :string)
           ("y" "¤" :string)
           ("z" "¤" :string)
           ("R" "¤" :string)
           ("-" "§" :string)
           ))