summaryrefslogtreecommitdiff
path: root/tex/context/base/lang-cyr.tex
blob: 20567e1e117a93269a3641ed7e99dcd4ceb64e37 (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
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
%D \module
%D   [       file=lang-cyr,
%D        version=2003.01.24,
%D          title=\CONTEXT\ Language Macros,
%D       subtitle=Cyrillic Languages,
%D         author=see below,
%D           date=\currentdate,
%D      copyright={PRAGMA / Hans Hagen \& Ton Otten}]
%C
%C This module is part of the \CONTEXT\ macro||package and is
%C therefore copyrighted by \PRAGMA. See mreadme.pdf for 
%C details. 

\writestatus{loading}{Cyrillic Languages}

%D The cyrillic languages always use a dedicated input regime.
%D Therefore we define the labels using symbolic names.
%D Support for cyrillic is initiated by Olga Briginets who
%D also layed the base for the language, encoding and font
%D definition. Later Alexander Bokovoy and Victor Figurnov 
%D improved things. I (Hans Hagen) mainly cleaned things up 
%D a bit. 

\unprotect

\installlanguage
  [\s!ru]
  [\s!lefthyphenmin=2,
   \s!righthyphenmin=2,
   \c!spatiering=\v!opelkaar,
   \c!leftsentence=\leftguillemot,
   \c!rightsentence=\rightguillemot,
   \c!leftsubsentence=\lowerleftdoubleninequote,
   \c!rightsubsentence=\upperrightdoubleninequote,
   \c!leftquote=\lowerleftdoubleninequote,
   \c!rightquote=\upperrightdoubleninequote,
   \c!leftquotation=\leftguillemot,
   \c!rightquotation=\rightguillemot,
   \c!datum={\v!dag,\ ,\v!maand,\ ,\v!jaar},
   \c!status=\v!stop]

\installlanguage
  [\s!ua]
  [\s!lefthyphenmin=2,
   \s!righthyphenmin=2,
   \c!spatiering=\v!opelkaar,
   \c!leftsentence=\leftguillemot,
   \c!rightsentence=\rightguillemot,
   \c!leftsubsentence=\lowerleftdoubleninequote,
   \c!rightsubsentence=\upperrightdoubleninequote,
   \c!leftquote=\lowerleftdoubleninequote,
   \c!rightquote=\upperrightdoubleninequote,
   \c!leftquotation=\leftguillemot,
   \c!rightquotation=\rightguillemot,
   \c!datum={\v!dag,\ ,\v!maand,\ ,\v!jaar},
   \c!status=\v!stop]

\installlanguage [russian]      [\s!ru]
\installlanguage [ukrainian]    [\s!ua]


%D Labels and header texts.

\setupheadtext [\s!ru]     [ \v!inhoud=\cyrillicS \cyrillico \cyrillicd
                                       \cyrillice \cyrillicr \cyrilliczh
                                       \cyrillica \cyrillicn \cyrillici
                                       \cyrillice]
\setupheadtext [\s!ua]      [\v!inhoud=\cyrillicZ \cyrillicm \cyrillicii
                                       \cyrillics \cyrillict]

\setupheadtext [\s!ru]    [\v!tabellen=\cyrillicS \cyrillicp \cyrillici
                                       \cyrillics \cyrillico \cyrillick
                                       \space     \cyrillict \cyrillica
                                       \cyrillicb \cyrillicl \cyrillici
                                       \cyrillicc]
\setupheadtext [\s!ua]    [\v!tabellen=\cyrillicP \cyrillice \cyrillicr
                                       \cyrillice \cyrillicl \cyrillicii
                                       \cyrillick \space     \cyrillict
                                       \cyrillica \cyrillicb \cyrillicl
                                       \cyrillici \cyrillicc \cyrillicsftsn]

\setupheadtext [\s!ru]     [\v!figuren=\cyrillicS \cyrillicp \cyrillici
                                       \cyrillics \cyrillico \cyrillick
                                       \space     \cyrillici \cyrillicl
                                       \cyrillicl \cyrillicyu\cyrillics
                                       \cyrillict \cyrillicr \cyrillica
                                       \cyrillicc \cyrillici \cyrillicishrt]
\setupheadtext [\s!ua]     [\v!figuren=\cyrillicP \cyrillice \cyrillicr
                                       \cyrillice \cyrillicl \cyrillicii
                                       \cyrillick \space     \cyrillicii
                                       \cyrillicl \cyrillicyu\cyrillics
                                       \cyrillict \cyrillicr \cyrillica
                                       \cyrillicc \cyrillicii\cyrillicishrt]

\setupheadtext [\s!ru]   [\v!grafieken=\cyrillicS \cyrillicp \cyrillici
                                       \cyrillics \cyrillico \cyrillick
                                       \space     \cyrillicg \cyrillicr
                                       \cyrillica \cyrillicf \cyrillici
                                       \cyrillick \cyrillico \cyrillicv]
\setupheadtext [\s!ua]   [\v!grafieken=\cyrillicP \cyrillice \cyrillicr
                                       \cyrillice \cyrillicl \cyrillicii
                                       \cyrillick \space     \cyrillicg
                                       \cyrillicr \cyrillica \cyrillicf
                                       \cyrillicii\cyrillick \cyrillico
                                       \cyrillicv]

\setupheadtext [\s!ru] [\v!intermezzos=\cyrillicS \cyrillicp \cyrillici
                                       \cyrillics \cyrillico \cyrillick
                                       \space     \cyrillicv \cyrillics
                                       \cyrillict \cyrillica \cyrillicv
                                       \cyrillico \cyrillick]
\setupheadtext [\s!ua] [\v!intermezzos=\cyrillicP \cyrillice \cyrillicr
                                       \cyrillice \cyrillicl \cyrillicii
                                       \cyrillick \space     \cyrillicv
                                       \cyrillics \cyrillict \cyrillica
                                       \cyrillicv \cyrillico \cyrillick]

\setupheadtext [\s!ru]       [\v!index=\cyrillicA \cyrillicl \cyrillicf
                                       \cyrillica \cyrillicv \cyrillici
                                       \cyrillict \cyrillicn \cyrillicery
                                       \cyrillicishrt \space \cyrillicu
                                       \cyrillick \cyrillica \cyrillicz
                                       \cyrillica \cyrillict \cyrillice
                                       \cyrillicl \cyrillicsftsn]
\setupheadtext [\s!ua]       [\v!index=\cyrillicP  \cyrillico \cyrillick
                                       \cyrillica  \cyrilliczh\cyrillicch
                                       \cyrillici  \cyrillick]

\setupheadtext [\s!ru] [\v!afkortingen=\cyrillicS \cyrillicp \cyrillici
                                       \cyrillics \cyrillico \cyrillick
                                       \space     \cyrillics \cyrillico
                                       \cyrillick \cyrillicr \cyrillica
                                       \cyrillicshch         \cyrillice
                                       \cyrillicn
                                       \cyrillici \cyrillicishrt]
\setupheadtext [\s!ua] [\v!afkortingen=\cyrillicP \cyrillice \cyrillicr
                                       \cyrillice \cyrillicl \cyrillicii
                                       \cyrillick \space     \cyrillics
                                       \cyrillick \cyrillico \cyrillicr
                                       \cyrillico \cyrillicch\cyrillice
                                       \cyrillicn \cyrillicsftsn]

\setupheadtext [\s!ru]       [\v!logos=\cyrillicL \cyrillico \cyrillicg
                                       \cyrillico \cyrillict \cyrillici
                                       \cyrillicp \cyrillicery]
\setupheadtext [\s!ua]       [\v!logos=\cyrillicL \cyrillico \cyrillicg
                                       \cyrillico \cyrillict \cyrillici
                                       \cyrillicp \cyrillici]

\setupheadtext [\s!ru]    [\v!eenheden=\cyrillicE \cyrillicd \cyrillici
                                       \cyrillicn \cyrillici \cyrillicc
                                       \cyrillicery \space   \cyrillici
                                       \cyrillicz \cyrillicm \cyrillice
                                       \cyrillicr \cyrillice \cyrillicn
                                       \cyrillici \cyrillicya]
\setupheadtext [\s!ua]    [\v!eenheden=\cyrillicO \cyrillicd \cyrillici
                                       \cyrillicn \cyrillici \cyrillicc
                                       \cyrillicii\space     \cyrillicv
                                       \cyrillici \cyrillicm \cyrillicii
                                       \cyrillicr \cyrillicu]

\setuplabeltext [\s!ru]      [\v!tabel=\cyrillicT \cyrillica \cyrillicb
                                       \cyrillicl \cyrillici \cyrillicc
                                       \cyrillica \space]
\setuplabeltext [\s!ua]      [\v!tabel=\cyrillicT \cyrillica \cyrillicb
                                       \cyrillicl \cyrillici \cyrillicc
                                       \cyrillicya\space]

\setuplabeltext [\s!ru]     [\v!figuur=\cyrillicR \cyrillici \cyrillics
                                       \cyrillicu \cyrillicn \cyrillico
                                       \cyrillick \space]
\setuplabeltext [\s!ua]     [\v!figuur=\cyrillicM \cyrillica \cyrillicl
                                       \cyrillicyu\cyrillicn \cyrillico
                                       \cyrillick \space]

\setuplabeltext [\s!ru] [\v!intermezzo=\cyrillicV \cyrillics \cyrillict
                                       \cyrillica \cyrillicv \cyrillick
                                       \cyrillica \space]
\setuplabeltext [\s!ua] [\v!intermezzo=\cyrillicV \cyrillics \cyrillict
                                       \cyrillica \cyrillicv \cyrillick
                                       \cyrillica \space]

\setuplabeltext [\s!ru]    [\v!grafiek=\cyrillicG \cyrillicr \cyrillica
                                       \cyrillicf \cyrillici \cyrillick
                                       \space]
\setuplabeltext [\s!ua]    [\v!grafiek=\cyrillicG \cyrillicr \cyrillica
                                       \cyrillicf \cyrillici \cyrillick
                                       \space]

\setuplabeltext [\s!ru]                    [\v!hoofdstuk=]
\setuplabeltext [\s!ua]                    [\v!hoofdstuk=]

\setuplabeltext [\s!ru]                    [\v!paragraaf=]
\setuplabeltext [\s!ua]                    [\v!paragraaf=]

\setuplabeltext [\s!ru]              [\v!sub\v!paragraaf=]
\setuplabeltext [\s!ua]              [\v!sub\v!paragraaf=]

\setuplabeltext [\s!ru]        [\v!sub\v!sub\v!paragraaf=]
\setuplabeltext [\s!ua]        [\v!sub\v!sub\v!paragraaf=]

\setuplabeltext [\s!ru]  [\v!sub\v!sub\v!sub\v!paragraaf=]
\setuplabeltext [\s!ua]  [\v!sub\v!sub\v!sub\v!paragraaf=]

\setuplabeltext [\s!ru]                      [\v!bijlage=]
\setuplabeltext [\s!ua]                      [\v!bijlage=]

\setuplabeltext [\s!ru]      [\v!deel=\cyrillicCH\cyrillica \cyrillics
                                      \cyrillict \cyrillicsftsn
                                      \space]
\setuplabeltext [\s!ua]      [\v!deel=\cyrillicCH\cyrillica \cyrillics
                                      \cyrillict \cyrillici \cyrillicn
                                      \cyrillica \space]

\setuplabeltext [\s!ru]     [\v!regel=\cyrillics \cyrillict \cyrillicr
                                      \cyrillico \cyrillick \cyrillica
                                      \space]
\setuplabeltext [\s!ua]     [\v!regel=\cyrillicr \cyrillicya\cyrillicd
                                      \cyrillico \cyrillick \space]

\setuplabeltext [\s!ru]    [\v!regels=\cyrillics \cyrillict \cyrillicr
                                      \cyrillico \cyrillick \cyrillici
                                      \space]
\setuplabeltext [\s!ua]    [\v!regels=\cyrillicr \cyrillicya\cyrillicd
                                      \cyrillick \cyrillici \space]

\setuplabeltext [\s!ru]    [\v!pagina=\cyrillics \cyrillict \cyrillicr
                                      \cyrillica \cyrillicn \cyrillici
                                      \cyrillicc \cyrillica \space]
\setuplabeltext [\s!ua]    [\v!pagina=\cyrillics \cyrillict \cyrillico
                                      \cyrillicr \cyrillicii\cyrillicn
                                      \cyrillick \cyrillica \space ]

\setuplabeltext [\s!ru]  [\v!oppagina=\cyrillicn \cyrillica \space
                                      \cyrillics \cyrillict \cyrillicr
                                      \cyrillica \cyrillicn \cyrillici
                                      \cyrillicc \cyrillice \space]
\setuplabeltext [\s!ua]  [\v!oppagina=\cyrillicn \cyrillica \space
                                      \cyrillics \cyrillict \cyrillico
                                      \cyrillicr \cyrillicii\cyrillicn
                                      \cyrillicc \cyrillicii\space ]

\setuplabeltext [\s!ru] [\v!hierboven=\cyrillics \cyrillicm.\space
                                      \cyrillicv \cyrillicery \cyrillicsh
                                      \cyrillice]
\setuplabeltext [\s!ua] [\v!hierboven=\cyrillicya\cyrillick \space
                                      \cyrillicp \cyrillico \cyrillick
                                      \cyrillica \cyrillicz \cyrillica
                                      \cyrillicn \cyrillico \space
                                      \cyrillicv \cyrillici \cyrillicshch
                                      \cyrillice]

\setuplabeltext [\s!ru] [\v!hieronder=\cyrillics \cyrillicm.\space
                                      \cyrillicn \cyrillici \cyrilliczh
                                      \cyrillice]
\setuplabeltext [\s!ua] [\v!hieronder=\cyrillicya\cyrillick \space
                                      \cyrillicp \cyrillico \cyrillick
                                      \cyrillica \cyrillicz \cyrillica
                                      \cyrillicn \cyrillico \space
                                      \cyrillicn \cyrillici \cyrilliczh
                                      \cyrillicch\cyrillice]

\setuplabeltext [\s!ru]       [\v!zie=\cyrillics \cyrillicm.\space]
\setuplabeltext [\s!ua]       [\v!zie=\cyrillicd \cyrillici 
                                      \cyrillicv.\space ]

\setuplabeltext [\s!ru]   [\v!january=\cyrillicya\cyrillicn \cyrillicv
                                      \cyrillica \cyrillicr \cyrillicya]
\setuplabeltext [\s!ru]  [\v!february=\cyrillicf \cyrillice \cyrillicv
                                      \cyrillicr \cyrillica \cyrillicl
                                      \cyrillicya]
\setuplabeltext [\s!ru]     [\v!march=\cyrillicm \cyrillica \cyrillicr
                                      \cyrillict \cyrillica]
\setuplabeltext [\s!ru]     [\v!april=\cyrillica \cyrillicp \cyrillicr
                                      \cyrillice \cyrillicl \cyrillicya]
\setuplabeltext [\s!ru]       [\v!may=\cyrillicm \cyrillica \cyrillicya]
\setuplabeltext [\s!ru]      [\v!june=\cyrillici \cyrillicyu\cyrillicn
                                      \cyrillicya]
\setuplabeltext [\s!ru]      [\v!july=\cyrillici \cyrillicyu\cyrillicl
                                      \cyrillicya]
\setuplabeltext [\s!ru]    [\v!august=\cyrillica \cyrillicv \cyrillicg
                                      \cyrillicu \cyrillics \cyrillict
                                      \cyrillica]
\setuplabeltext [\s!ru] [\v!september=\cyrillics \cyrillice \cyrillicn
                                      \cyrillict \cyrillicya\cyrillicb
                                      \cyrillicr \cyrillicya]
\setuplabeltext [\s!ru]   [\v!october=\cyrillico \cyrillick \cyrillict
                                      \cyrillicya\cyrillicb \cyrillicr
                                      \cyrillicya]
\setuplabeltext [\s!ru]  [\v!november=\cyrillicn \cyrillico \cyrillicya
                                      \cyrillicb \cyrillicr \cyrillicya]
\setuplabeltext [\s!ru]  [\v!december=\cyrillicd \cyrillice \cyrillick
                                      \cyrillica \cyrillicb \cyrillicr
                                      \cyrillicya]

\setuplabeltext [\s!ua]   [\v!january=\cyrillics \cyrillicii\cyrillicch
                                      \cyrillicn \cyrillicya]
\setuplabeltext [\s!ua]  [\v!february=\cyrillicl \cyrillicyu\cyrillict
                                      \cyrillico \cyrillicg \cyrillico]
\setuplabeltext [\s!ua]     [\v!march=\cyrillicb \cyrillice \cyrillicr
                                      \cyrillice \cyrillicz \cyrillicn
                                      \cyrillicya]
\setuplabeltext [\s!ua]     [\v!april=\cyrillick \cyrillicv \cyrillicii
                                      \cyrillict \cyrillicn \cyrillicya]
\setuplabeltext [\s!ua]       [\v!may=\cyrillict \cyrillicr \cyrillica
                                      \cyrillicv \cyrillicn \cyrillicya]
\setuplabeltext [\s!ua]      [\v!june=\cyrillicch\cyrillice \cyrillicr
                                      \cyrillicv \cyrillicn \cyrillicya]
\setuplabeltext [\s!ua]      [\v!july=\cyrillicl \cyrillici \cyrillicp
                                      \cyrillicn \cyrillicya]
\setuplabeltext [\s!ua]    [\v!august=\cyrillics \cyrillice \cyrillicr
                                      \cyrillicp \cyrillicn \cyrillicya]
\setuplabeltext [\s!ua] [\v!september=\cyrillicv \cyrillice \cyrillicr
                                      \cyrillice \cyrillics \cyrillicn
                                      \cyrillicya]
\setuplabeltext [\s!ua]   [\v!october=\cyrilliczh\cyrillico \cyrillicv
                                      \cyrillict \cyrillicn \cyrillicya]
\setuplabeltext [\s!ua]  [\v!november=\cyrillicl \cyrillici \cyrillics
                                      \cyrillict \cyrillico \cyrillicp
                                      \cyrillica \cyrillicd \cyrillica]
\setuplabeltext [\s!ua]  [\v!december=\cyrillicg \cyrillicr \cyrillicu
                                      \cyrillicd \cyrillicn \cyrillicya]

\setuplabeltext [\s!ru]    [\v!sunday=\cyrillicv \cyrillico \cyrillics
                                      \cyrillick \cyrillicr \cyrillice
                                      \cyrillics \cyrillice \cyrillicn
                                      \cyrillicsftsn        \cyrillice]
\setuplabeltext [\s!ru]    [\v!monday=\cyrillicp \cyrillico \cyrillicn
                                      \cyrillice \cyrillicd \cyrillice
                                      \cyrillicl \cyrillicsftsn
                                      \cyrillicn \cyrillici \cyrillick]
\setuplabeltext [\s!ru]   [\v!tuesday=\cyrillicv \cyrillict \cyrillico
                                      \cyrillicr \cyrillicn \cyrillici
                                      \cyrillick]
\setuplabeltext [\s!ru] [\v!wednesday=\cyrillics \cyrillicr \cyrillice
                                      \cyrillicd \cyrillica]
\setuplabeltext [\s!ru]  [\v!thursday=\cyrillicch\cyrillice \cyrillict
                                      \cyrillicv \cyrillice \cyrillicr
                                      \cyrillicg]
\setuplabeltext [\s!ru]    [\v!friday=\cyrillicp \cyrillicya\cyrillict
                                      \cyrillicn \cyrillici \cyrillicc
                                      \cyrillica]
\setuplabeltext [\s!ru]  [\v!saturday=\cyrillics \cyrillicu \cyrillicb
                                      \cyrillicb \cyrillico \cyrillict
                                      \cyrillica]

\setuplabeltext [\s!ua]    [\v!sunday=\cyrillicn \cyrillice \cyrillicd
                                      \cyrillicii\cyrillicl \cyrillicya]
\setuplabeltext [\s!ua]    [\v!monday=\cyrillicp \cyrillico \cyrillicn
                                      \cyrillice \cyrillicd \cyrillicii
                                      \cyrillicl \cyrillico \cyrillick]
\setuplabeltext [\s!ua]   [\v!tuesday=\cyrillicv \cyrillicii\cyrillicv
                                      \cyrillict \cyrillico \cyrillicr
                                      \cyrillico \cyrillick]
\setuplabeltext [\s!ua] [\v!wednesday=\cyrillics \cyrillice \cyrillicr
                                      \cyrillice \cyrillicd \cyrillica]
\setuplabeltext [\s!ua]  [\v!thursday=\cyrillicch\cyrillice \cyrillict
                                      \cyrillicv \cyrillice \cyrillicr]
\setuplabeltext [\s!ua]    [\v!friday=\cyrillicp'\cyrillicya\cyrillict
                                      \cyrillicn \cyrillici \cyrillicc
                                      \cyrillicya]
\setuplabeltext [\s!ua]  [\v!saturday=\cyrillics \cyrillicu \cyrillicb
                                      \cyrillico \cyrillict \cyrillica]

\protect \endinput