lang-def.mkiv /size: 23 Kb    last modification: 2020-07-01 14:35
1
%D \module
2
%D [ file=lang-def,
3
%D version=2011.01.24, % merge of language files
4
%D title=\CONTEXT\ Language Macros,
5
%D subtitle=Languages Definitions,
6
%D author=Hans Hagen,
7
%D date=\currentdate,
8
%D copyright={PRAGMA ADE \& \CONTEXT\ Development Team}]
9
%C
10
%C This module is part of the \CONTEXT\ macro||package and is
11
%C therefore copyrighted by \PRAGMA. See mreadme.pdf for
12
%C details.
13 14
\writestatus
{
loading
}{
ConTeXt
Language
Macros
/
Definitions
}
15 16
%D See \type {lang-*.tex} for some historic notes.
17 18
\unprotect
19 20
% Germanic Languages: Danish, Faeroese, Icelandic, Norwegian,
21
% Swedish, German, Yiddish, Afrikaans, Dutch, English, Flemush,
22
% Frisian, Plattdeutsch
23 24
\installlanguage
25
[
\s!en
]
26
[
\c!spacing
=
\v!broad
,
27
\c!leftsentence
=
\emdash
,
28
\c!rightsentence
=
\emdash
,
29
\c!leftsubsentence
=
\emdash
,
30
\c!rightsubsentence
=
\emdash
,
31
\c!leftquote
=
\upperleftsinglesixquote
,
32
\c!rightquote
=
\upperrightsingleninequote
,
33
\c!leftquotation
=
\upperleftdoublesixquote
,
34
\c!rightquotation
=
\upperrightdoubleninequote
,
35
\c!date
=
{
\v!month
,
\space
,
\v!day
,
{
,
\space
}
,
\v!year
}
,
36
\s!patterns
=
\s!us
,
37
\s!lefthyphenmin
=
2
,
38
\s!righthyphenmin
=
3
]
39 40
\installlanguage
41
[
\s!nl
]
42
[
\c!spacing
=
\v!packed
,
43
\c!leftsentence
=
\emdash
,
44
\c!rightsentence
=
\emdash
,
45
\c!leftsubsentence
=
\emdash
,
46
\c!rightsubsentence
=
\emdash
,
47
\c!leftquote
=
\lowerleftsingleninequote
,
48
\c!rightquote
=
\upperrightsingleninequote
,
49
\c!leftquotation
=
\lowerleftdoubleninequote
,
50
\c!rightquotation
=
\upperrightdoubleninequote
,
51
\c!date
=
{
\v!day
,
\space
,
\v!month
,
\space
,
\v!year
}
]
52 53
\installlanguage
54
[
\s!de
]
55
[
\c!spacing
=
\v!packed
,
56
\s!lefthyphenmin
=
3
,
57
\s!righthyphenmin
=
3
,
58
\c!leftsentence
=
\hbox
{
\endash\space
}
,
59
\c!rightsentence
=
\hbox
{
\space
\endash
}
,
60
\c!leftsubsentence
=
\endash
,
61
\c!rightsubsentence
=
\endash
,
62
\c!leftquote
=
\lowerleftsingleninequote
,
63
\c!rightquote
=
\upperrightsinglesixquote
,
64
\c!leftquotation
=
\lowerleftdoubleninequote
,
65
\c!rightquotation
=
\upperrightdoublesixquote
,
66
\c!date
=
{
\v!day
,
{
.
\space
}
,
\v!month
,
\space
,
\v!year
}
]
67 68
\installlanguage
69
[
\s!da
]
70
[
\c!spacing
=
\v!packed
,
71
\c!leftsentence
=
{
\hbox
{
\endash\enskip
}}
,
72
\c!rightsentence
=
{
\hbox
{
\enskip\endash
}}
,
73
\c!leftsubsentence
=
\endash
,
74
\c!rightsubsentence
=
\endash
,
75
\c!leftquote
=
\lowerleftsingleninequote
,
76
\c!rightquote
=
\upperrightsinglesixquote
,
77
\c!leftquotation
=
\lowerleftdoubleninequote
,
78
\c!rightquotation
=
\upperrightdoublesixquote
,
79
\c!date
=
{
\v!day
,
{
.
\space
}
,
\v!month
,
\space
,
\v!year
}
]
80 81
\installlanguage
82
[
\s!sv
]
83
[
\c!spacing
=
\v!packed
,
84
\c!leftsentence
=
\hbox
{
\endash\space
}
,
85
\c!rightsentence
=
\hbox
{
\space
\endash
}
,
86
\c!leftsubsentence
=
\endash
,
87
\c!rightsubsentence
=
\endash
,
88
\c!leftquote
=
\upperrightsingleninequote
,
89
\c!rightquote
=
\upperrightsingleninequote
,
90
\c!leftquotation
=
\upperrightdoubleninequote
,
91
\c!rightquotation
=
\upperrightdoubleninequote
,
92
\c!date
=
{
\v!day
,
\space
,
\v!month
,
\space
,
\v!year
}
]
93 94
\installlanguage
95
[
\s!af
]
96
[
\c!spacing
=
\v!packed
,
97
\c!leftsentence
=
\emdash
,
98
\c!rightsentence
=
\emdash
,
99
\c!leftsubsentence
=
\emdash
,
100
\c!rightsubsentence
=
\emdash
,
101
\c!leftquote
=
\upperleftsinglesixquote
,
102
\c!rightquote
=
\upperrightsingleninequote
,
103
\c!leftquotation
=
\upperleftdoublesixquote
,
104
\c!rightquotation
=
\upperrightdoubleninequote
,
105
\c!date
=
{
\v!year
,
\space
,
\v!month
,
\space
,
\v!day
}
]
106 107
\installlanguage
108
[
\s!nb
]
109
[
\c!spacing
=
\v!packed
,
110
\s!lefthyphenmin
=
2
,
111
\s!righthyphenmin
=
2
,
112
\c!leftsentence
=
\emdash
,
113
\c!rightsentence
=
\emdash
,
114
\c!leftsubsentence
=
\emdash
,
115
\c!rightsubsentence
=
\emdash
,
116
\c!leftquote
=
\upperleftsinglesixquote
,
117
\c!rightquote
=
\upperrightsingleninequote
,
118
\c!leftquotation
=
\leftguillemot
,
119
\c!rightquotation
=
\rightguillemot
,
120
\c!date
=
{
\v!day
,
{
.
}
,
\space
,
\v!month
,
\space
,
\v!year
}
]
121 122
\installlanguage
123
[
\s!nn
]
124
[
\c!spacing
=
\v!packed
,
125
\s!lefthyphenmin
=
2
,
126
\s!righthyphenmin
=
2
,
127
\c!leftsentence
=
\emdash
,
128
\c!rightsentence
=
\emdash
,
129
\c!leftsubsentence
=
\emdash
,
130
\c!rightsubsentence
=
\emdash
,
131
\c!leftquote
=
\upperleftsinglesixquote
,
132
\c!rightquote
=
\upperrightsingleninequote
,
133
\c!leftquotation
=
\leftguillemot
,
134
\c!rightquotation
=
\rightguillemot
,
135
\c!date
=
{
\v!day
,
{
.
}
,
\space
,
\v!month
,
\space
,
\v!year
}
]
136 137
\installlanguage
[
\s!no
]
[
\s!nb
]
138
\installlanguage
[
\s!norwegian
]
[
\s!nb
]
139
\installlanguage
[
\s!bokmal
]
[
\s!nb
]
140
\installlanguage
[
\s!nynorsk
]
[
\s!nn
]
141 142
\installlanguage
% old german
143
[
deo
]
144
[
\c!spacing
=
\v!packed
,
145
\c!default
=
\s!de
]
146 147
\installlanguage
148
[
de
-
de
]
149
[
\c!spacing
=
\v!packed
,
150
\c!default
=
\s!de
]
151 152
\installlanguage
153
[
de
-
at
]
154
[
\c!spacing
=
\v!packed
,
155
\c!default
=
\s!de
,
156
\c!leftquote
=
\leftguillemot
,
157
\c!rightquote
=
\rightguillemot
,
158
\c!leftquotation
=
\leftguillemot
,
159
\c!rightquotation
=
\rightguillemot
]
160 161
\installlanguage
162
[
de
-
ch
]
163
[
\c!spacing
=
\v!packed
,
164
\c!default
=
\s!de
]
165 166
%D And some alternative (but very real) english patterns:
167 168
\installlanguage
169
[
en
-
gb
]
170
[
\c!default
=
\s!en
,
171
\s!patterns
=
\s!gb
,
172
\s!lefthyphenmin
=
3
,
173
\s!righthyphenmin
=
3
,
174
% the reverse of american (or maybe the american did it the reverse)
175
\c!leftquote
=
\upperleftdoublesixquote
,
176
\c!rightquote
=
\upperrightdoubleninequote
,
177
\c!leftquotation
=
\upperleftsinglesixquote
,
178
\c!rightquotation
=
\upperrightsingleninequote
]
179 180
\installlanguage
181
[
en
-
us
]
182
[
\c!default
=
\s!en
,
183
\s!patterns
=
\s!us
]
184 185
\installlanguage
[
\s!uk
]
[
\s!en
-
\s!gb
]
186
\installlanguage
[
\s!us
]
[
\s!en
-
\s!us
]
187 188
\installlanguage
[
usenglish
]
[
\s!en
-
\s!us
]
189
\installlanguage
[
ukenglish
]
[
\s!en
-
\s!gb
]
190
\installlanguage
[
english
]
[
\s!en
]
191
\installlanguage
[
dutch
]
[
\s!nl
]
192
\installlanguage
[
german
]
[
\s!de
]
193
\installlanguage
[
danish
]
[
\s!da
]
194
\installlanguage
[
swedish
]
[
\s!sv
]
195
\installlanguage
[
afrikaans
]
[
\s!af
]
196 197
% Slavic Languages: Belarussian, Russian, Ukrainian, Bulgarian,
198
% Macedonian, Serbian, Croatian, Slovenian, Czech, Kushubian,
199
% Lusatian/Sorbian/Wendish, Polish, Slovak, Albanian, Illyrian,
200
% Armenian
201 202
\installlanguage
203
[
\s!pl
]
204
[
\c!spacing
=
\v!packed
,
205
\c!leftsentence
=
\emdash
,
206
\c!rightsentence
=
\emdash
,
207
\c!leftsubsentence
=
\emdash
,
208
\c!rightsubsentence
=
\emdash
,
209
\c!leftquote
=
\lowerleftsingleninequote
,
210
\c!rightquote
=
\upperrightsingleninequote
,
211
\c!leftquotation
=
\lowerleftdoubleninequote
,
212
\c!rightquotation
=
\upperrightdoubleninequote
,
213
\c!date
=
{
\v!day
,
{
.
\space
}
,
\v!month
,
\space
,
\v!year
}
]
214 215
\installlanguage
216
[
\s!cs
]
217
[
\c!spacing
=
\v!packed
,
218
\c!leftsentence
=
{
\nobreakspace
\endash
\thickglue
\penalty
\zerocount
\relax
}
,
219
\c!rightsentence
=
\c!leftsentence
,
220
\c!leftsubsentence
=
\c!leftsentence
,
221
\c!rightsubsentence
=
\c!rightsentence
,
222
\c!leftquote
=
\lowerleftsingleninequote
,
223
\c!rightquote
=
\upperrightsinglesixquote
,
224
\c!leftquotation
=
\lowerleftdoubleninequote
,
225
\c!rightquotation
=
\upperrightdoublesixquote
,
226
\c!date
=
{
\v!day
,
{
.
\fourperemspace
}
,
\v!month
,
\space
,
\v!year
}
,
227
\s!lefthyphenmin
=
2
,
228
\s!righthyphenmin
=
3
]
229 230
\installlanguage
231
[
\s!sk
]
232
[
\c!spacing
=
\v!packed
,
233
\c!leftsentence
=
{
\nobreakspace
\endash
\thickglue
\penalty
\zerocount
\relax
}
,
234
\c!rightsentence
=
\c!leftsentence
,
235
\c!leftsubsentence
=
\c!leftsentence
,
236
\c!rightsubsentence
=
\c!rightsentence
,
237
\c!leftquote
=
\lowerleftsingleninequote
,
238
\c!rightquote
=
\upperrightsinglesixquote
,
239
\c!leftquotation
=
\lowerleftdoubleninequote
,
240
\c!rightquotation
=
\upperrightdoublesixquote
,
241
\c!date
=
{
\v!day
,
{
.
\fourperemspace
}
,
\v!month
,
\space
,
\v!year
}
,
242
\s!lefthyphenmin
=
2
,
243
\s!righthyphenmin
=
3
]
244 245
\installlanguage
246
[
\s!hr
]
247
[
\c!spacing
=
\v!packed
,
248
\c!leftsentence
=
\hbox
{
\endash\space
}
,
249
\c!rightsentence
=
\hbox
{
\space
\endash
}
,
250
\c!leftsubsentence
=
\endash
,
251
\c!rightsubsentence
=
\endash
,
252
\c!leftquote
=
\lowerleftsingleninequote
,
253
\c!rightquote
=
\upperrightsingleninequote
,
254
\c!leftquotation
=
\lowerleftdoubleninequote
,
255
\c!rightquotation
=
\upperrightdoubleninequote
,
256
\c!date
=
{
\v!day
,
{
.
}
,
\space
,
\v!month
,
\space
,
\v!year
}
]
257 258
\installlanguage
259
[
\s!sl
]
260
[
\c!spacing
=
\v!packed
,
261
\c!leftsentence
=
\hbox
{
\endash\space
}
,
262
\c!rightsentence
=
\hbox
{
\space
\endash
}
,
263
\c!leftsubsentence
=
\endash
,
264
\c!rightsubsentence
=
\endash
,
265
\c!leftquote
=
\guilsingleright
,
266
\c!rightquote
=
\guilsingleleft
,
267
\c!leftquotation
=
\rightguillemot
,
268
\c!rightquotation
=
\leftguillemot
,
269
\c!date
=
{
\v!day
,
{
.
}
,
\space
,
\v!month
,
\space
,
\v!year
}
]
270 271
\installlanguage
[
\s!polish
]
[
\s!pl
]
272
\installlanguage
[
\s!czech
]
[
\s!cs
]
273
\installlanguage
[
\s!slovak
]
[
\s!sk
]
274
\installlanguage
[
\s!croatian
]
[
\s!hr
]
275
\installlanguage
[
\s!slovenian
]
[
\s!sl
]
276
\installlanguage
[
slovene
]
[
\s!sl
]
% both possible (mojca: still needed?)
277 278
% Cyrillic Languages
279 280
\installlanguage
281
[
\s!ru
]
282
[
\s!lefthyphenmin
=
2
,
283
\s!righthyphenmin
=
2
,
284
\c!spacing
=
\v!packed
,
285
\c!leftsentence
=
\leftguillemot
,
286
\c!rightsentence
=
\rightguillemot
,
287
\c!leftsubsentence
=
\lowerleftdoubleninequote
,
288
\c!rightsubsentence
=
\upperrightdoubleninequote
,
289
\c!leftquote
=
\lowerleftdoubleninequote
,
290
\c!rightquote
=
\upperrightdoubleninequote
,
291
\c!leftquotation
=
\leftguillemot
,
292
\c!rightquotation
=
\rightguillemot
,
293
\c!date
=
{
\v!day
,
\space
,
\v!month
,
\space
,
\v!year
}
]
294 295
\installlanguage
296
[
\s!ua
]
297
[
\s!lefthyphenmin
=
2
,
298
\s!righthyphenmin
=
2
,
299
\c!spacing
=
\v!packed
,
300
\c!leftsentence
=
\leftguillemot
,
301
\c!rightsentence
=
\rightguillemot
,
302
\c!leftsubsentence
=
\lowerleftdoubleninequote
,
303
\c!rightsubsentence
=
\upperrightdoubleninequote
,
304
\c!leftquote
=
\lowerleftdoubleninequote
,
305
\c!rightquote
=
\upperrightdoubleninequote
,
306
\c!leftquotation
=
\leftguillemot
,
307
\c!rightquotation
=
\rightguillemot
,
308
\c!date
=
{
\v!day
,
\space
,
\v!month
,
\space
,
\v!year
}
,
309
\s!patterns
=
\s!uk
]
310 311
\installlanguage
[
\s!russian
]
[
\s!ru
]
312
\installlanguage
[
\s!ukrainian
]
[
\s!ua
]
313 314
% Uralic Languages: Cheremiss, Estonian, Finnish, Karelian, Laap,
315
% Mordvinian, Permian tongues, Hungarian, Ostyak, Vogul, Samoyed
316 317
\installlanguage
318
[
\s!fi
]
319
[
\c!spacing
=
\v!packed
,
320
\c!leftsentence
=
\emdash
,
321
\c!rightsentence
=
\emdash
,
322
\c!leftsubsentence
=
\emdash
,
323
\c!rightsubsentence
=
\emdash
,
324
\c!leftquote
=
\upperleftsinglesixquote
,
325
\c!rightquote
=
\upperrightsingleninequote
,
326
\c!leftquotation
=
\upperleftdoublesixquote
,
327
\c!rightquotation
=
\upperrightdoubleninequote
,
328
\c!date
=
{
\v!year
,
\space
,
\v!month
,
\space
,
\v!day
}
]
329 330
\installlanguage
331
[
\s!et
]
332
[
\c!default
=
\s!en
,
333
\c!spacing
=
\v!packed
,
334
\c!leftsentence
=
\emdash
,
335
\c!rightsentence
=
\emdash
,
336
\c!leftsubsentence
=
\emdash
,
337
\c!rightsubsentence
=
\emdash
,
338
\c!leftquote
=
\leftguillemot
,
339
\c!rightquote
=
\rightguillemot
,
340
\c!leftquotation
=
\lowerrightdoubleninequote
,
341
\c!rightquotation
=
\upperrightdoublesixquote
,
342
\c!time
=
{
h
,
{
.
}
,
m
}
,
343
\c!date
=
{
\v!day
,
.
,
\space
,
\v!month
,
\space
,
\v!year
}
,
344
\s!patterns
=
\s!et
]
345 346
\installlanguage
347
[
\s!hu
]
348
[
\c!spacing
=
\v!packed
,
349
\c!leftsentence
=
\emdash
,
350
\c!rightsentence
=
\emdash
,
351
\c!leftsubsentence
=
\emdash
,
352
\c!rightsubsentence
=
\emdash
,
353
\c!leftquote
=
\lowerleftsingleninequote
,
354
\c!rightquote
=
\upperrightsingleninequote
,
355
\c!leftquotation
=
\lowerleftdoubleninequote
,
356
\c!rightquotation
=
\upperrightdoubleninequote
,
357
\c!date
=
{
\v!year
,
.
,
\space
,
\v!month
,
\space
,
\v!day
,
.
}
]
358 359
\installlanguage
[
\s!finnish
]
[
\s!fi
]
360
\installlanguage
[
\s!estonian
]
[
\s!et
]
361
\installlanguage
[
\s!hungarian
]
[
\s!hu
]
362 363
% Altaic Languages: Uigur, Uzbek, Azeri/Azerbaijani, Chuvash,
364
% Turkish, Turkmen, Kazakh, Kazar, Kireghiz, Noghay, Talar,
365
% Buryat, Kalmuck, Khalkha
366 367
\installlanguage
368
[
\s!tr
]
369
[
\c!spacing
=
\v!packed
,
370
\c!leftsentence
=
\emdash
,
371
\c!rightsentence
=
\emdash
,
372
\c!leftsubsentence
=
\emdash
,
373
\c!rightsubsentence
=
\emdash
,
374
\c!leftquote
=
\upperleftsinglesixquote
,
375
\c!rightquote
=
\upperrightsingleninequote
,
376
\c!leftquotation
=
\upperleftdoublesixquote
,
377
\c!rightquotation
=
\upperrightdoubleninequote
,
378
\c!date
=
{
\v!year
,
\space
,
\v!month
,
\space
,
\v!day
}
]
379 380
\installlanguage
381
[
\s!tk
]
382
[
\c!spacing
=
\v!broad
,
383
\c!leftsentence
=
\emdash
,
384
\c!rightsentence
=
\emdash
,
385
\c!leftsubsentence
=
\emdash
,
386
\c!rightsubsentence
=
\emdash
,
387
\c!leftquote
=
\upperleftsinglesixquote
,
388
\c!rightquote
=
\upperrightsingleninequote
,
389
\c!leftquotation
=
\upperleftdoublesixquote
,
390
\c!rightquotation
=
\upperrightdoubleninequote
,
391
\c!date
=
{
\v!year
,
\space
,
\v!month
,
\space
,
\v!day
}
,
392
\s!patterns
=
\s!tk
,
393
\s!lefthyphenmin
=
1
,
394
\s!righthyphenmin
=
2
]
395 396
\installlanguage
[
\s!turkish
]
[
\s!tr
]
397
\installlanguage
[
\s!turkmen
]
[
\s!tk
]
398 399
% Anatolian Languages
400 401
% Hebrew
402 403
\installlanguage
% same as arabic now .. someone needs to fix this
404
[
\s!he
]
405
[
\c!spacing
=
\v!broad
,
406
\c!leftsentence
=
\emdash
,
407
\c!rightsentence
=
\emdash
,
408
\c!leftsubsentence
=
\emdash
,
409
\c!rightsubsentence
=
\emdash
,
410
\c!leftquote
=
\upperleftsinglesixquote
,
411
\c!rightquote
=
\upperrightsingleninequote
,
412
\c!leftquotation
=
\upperleftdoublesixquote
,
413
\c!rightquotation
=
\upperrightdoubleninequote
,
414
\c!date
=
{
\v!day
,
\space
,
\v!month
,
{
،
\space
}
,
\v!year
}
]
415 416
\installlanguage
% same as arabic now .. someone needs to fix this
417
[
\s!yi
]
418
[
\s!he
]
419 420
\installlanguage
[
\s!hebrew
]
[
\s!he
]
421
\installlanguage
[
\s!yiddish
]
[
\s!yi
]
422 423
% Arabic Languages
424 425
\installlanguage
426
[
\s!ar
]
427
[
\c!spacing
=
\v!broad
,
428
\c!leftsentence
=
\emdash
,
429
\c!rightsentence
=
\emdash
,
430
\c!leftsubsentence
=
\emdash
,
431
\c!rightsubsentence
=
\emdash
,
432
\c!leftquote
=
\upperleftsinglesixquote
,
433
\c!rightquote
=
\upperrightsingleninequote
,
434
\c!leftquotation
=
\upperleftdoublesixquote
,
435
\c!rightquotation
=
\upperrightdoubleninequote
,
436
\c!date
=
{
\v!day
,
\space
,
\v!month
,
{
،
\space
}
,
\v!year
}
]
437 438
\installlanguage
[
\s!arabic
]
[
\s!ar
]
439 440
\installlanguage
441
[
\s!pe
]
442
[
\c!spacing
=
\v!broad
,
443
\c!leftsentence
=
\emdash
,
444
\c!rightsentence
=
\emdash
,
445
\c!leftsubsentence
=
\emdash
,
446
\c!rightsubsentence
=
\emdash
,
447
\c!leftquote
=
\leftguillemot
,
448
\c!rightquote
=
\rightguillemot
,
449
\c!leftquotation
=
\leftguillemot
,
450
\c!rightquotation
=
\rightguillemot
,
451
\c!date
=
{
\v!day
,
\space
,
\v!month
,
\space
,
\v!year
}
]
452 453
\installlanguage
[
\s!persian
]
[
\s!pe
]
454
\installlanguage
[
\s!fa
]
[
\s!pe
]
% these two are redundant but sometimes might
455
\installlanguage
[
\s!farsi
]
[
\s!fa
]
% sound more natural .. best set labels to 'pe'
456 457
% Just aliases to "ar" for now
458 459
\installlanguage
[
\s!ar
-
ae
][
\c!default
=
\s!ar
]
% U.A.E.
460
\installlanguage
[
\s!ar
-
bh
][
\c!default
=
\s!ar
]
% Bahrain
461
\installlanguage
[
\s!ar
-
eg
][
\c!default
=
\s!ar
]
% Egypt
462
\installlanguage
[
\s!ar
-
in
][
\c!default
=
\s!ar
]
% India?
463
\installlanguage
[
\s!ar
-
kw
][
\c!default
=
\s!ar
]
% Kuwait
464
\installlanguage
[
\s!ar
-
ly
][
\c!default
=
\s!ar
]
% Libya
465
\installlanguage
[
\s!ar
-
om
][
\c!default
=
\s!ar
]
% Oman
466
\installlanguage
[
\s!ar
-
qa
][
\c!default
=
\s!ar
]
% Qatar
467
\installlanguage
[
\s!ar
-
sa
][
\c!default
=
\s!ar
]
% Saudi Arabia
468
\installlanguage
[
\s!ar
-
sd
][
\c!default
=
\s!ar
]
% Sudan
469
\installlanguage
[
\s!ar
-
tn
][
\c!default
=
\s!ar
]
% Tunisia
470
\installlanguage
[
\s!ar
-
ye
][
\c!default
=
\s!ar
]
% Yemen
471 472
% Farsi (Persian)
473 474
\installlanguage
[
\s!ar
-
ir
][
\c!default
=
\s!pe
]
475
%installlanguage[\s!pe-ir][\c!default=\s!pe]
476
%installlanguage[\s!fa-ir][\c!default=\s!fa]
477 478
% Syriac months
479 480
\installlanguage
[
\s!ar
-
sy
][
\c!default
=
\s!ar
]
% Syria
481
\installlanguage
[
\s!ar
-
iq
][
\c!default
=
\s!ar
-
sy
]
% Iraq
482
\installlanguage
[
\s!ar
-
jo
][
\c!default
=
\s!ar
-
sy
]
% Jordan
483
\installlanguage
[
\s!ar
-
lb
][
\c!default
=
\s!ar
-
sy
]
% Lebanon
484 485
% Maghribi months
486 487
\installlanguage
[
\s!ar
-
dz
][
\c!default
=
\s!ar
]
% Algeria
488
\installlanguage
[
\s!ar
-
ma
][
\c!default
=
\s!ar
]
% Morocco
489 490
% Artificial Languages: Esperanto
491 492
% Baltic Languages: Lettish/Latvian, Lietuvių/Lithuanian
493 494
\installlanguage
495
[
\s!lt
]
496
[
\c!spacing
=
\v!packed
,
497
\c!leftsentence
=
\emdash
,
498
\c!rightsentence
=
\emdash
,
499
\c!leftsubsentence
=
\emdash
,
500
\c!rightsubsentence
=
\emdash
,
501
\c!leftquote
=
\lowerleftdoubleninequote
,
502
\c!rightquote
=
\upperrightdoublesixquote
,
503
\c!leftquotation
=
\lowerleftdoubleninequote
,
504
\c!rightquotation
=
\upperrightdoublesixquote
,
505
\c!date
=
{
\v!year
,
~
m
.
,
\space
,
\v!month
,
\space
,
\v!day
,
~
d
.
}
,
506
\s!patterns
=
\s!lt
,
507
\s!lefthyphenmin
=
2
,
508
\s!righthyphenmin
=
2
]
509 510
\installlanguage
[
\s!lithuanian
]
[
\s!lt
]
511 512
% Celtic: Breton, Welsh, Irish, Manx, Scottish Gaelic
513 514
% CJK: Chinese, Japanese, Korean
515 516
\installlanguage
517
[
\s!cn
]
518
[
\c!leftsentence
=
——
,
519
\c!rightsentence
=
——
,
520
\c!leftsubsentence
=
——
,
521
\c!rightsubsentence
=
——
,
522
\c!leftquote
=
,
523
\c!rightquote
=
,
524
\c!leftquotation
=
,
525
\c!rightquotation
=
,
526
\c!date
=
{
\v!year
,
,
\space
,
\v!month
,
\v!day
,
}
]
527 528
\installlanguage
529
[
\s!ja
]
530
[
\c!leftsentence
=
——
,
531
\c!rightsentence
=
——
,
532
\c!leftsubsentence
=
——
,
533
\c!rightsubsentence
=
——
,
534
\c!leftquote
=
,
535
\c!rightquote
=
,
536
\c!leftquotation
=
,
537
\c!rightquotation
=
,
538
\c!date
=
{
西暦
,
\v!year
,
,
\v!month
,
,
\v!day
,
}
]
539 540
\installlanguage
541
[
\s!kr
]
542
[
\c!leftsentence
=
——
,
543
\c!rightsentence
=
——
,
544
\c!leftsubsentence
=
——
,
545
\c!rightsubsentence
=
——
,
546
\c!leftquote
=
,
547
\c!rightquote
=
,
548
\c!leftquotation
=
,
549
\c!rightquotation
=
,
550
% \c!date={서기,\space,\v!year,\labeltext{\v!year},\space,\v!month,\labeltext{\v!month},\space,\v!day,\labeltext{\v!day}}]
551
\c!date
=
{
\v!year
,
\labeltext
{
\v!year
}
,
\space
,
\v!month
,
\labeltext
{
\v!month
}
,
\space
,
\v!day
,
\labeltext
{
\v!day
}}
]
552 553
\installlanguage
[
\s!chinese
]
[
\s!cn
]
554
\installlanguage
[
\s!japanese
]
[
\s!ja
]
555
\installlanguage
[
\s!korean
]
[
\s!kr
]
556 557
% Greek
558 559
\installlanguage
560
[
\s!gr
]
561
[
\c!spacing
=
\v!packed
,
562
\c!leftsentence
=
\emdash
,
563
\c!rightsentence
=
\emdash
,
564
\c!leftsubsentence
=
\emdash
,
565
\c!rightsubsentence
=
\emdash
,
566
\c!leftquote
=
,
567
\c!rightquote
=
,
568
\c!leftquotation
=
«
,
569
\c!rightquotation
=
»
,
570
\c!date
=
{
\v!day
\space
\v!month
\space
\v!year
}
,
571
\s!patterns
=
\s!agr
]
% ok?
572 573
\installlanguage
[
\s!greek
]
[
\s!gr
]
574 575
\installlanguage
576
[
\s!agr
]
577
[
\s!default
=
\s!gr
,
578
\c!leftquote
=
\upperleftsinglesixquote
,
579
\c!rightquote
=
\upperrightsingleninequote
,
580
\c!leftquotation
=
\upperleftdoublesixquote
,
581
\c!rightquotation
=
\upperrightdoubleninequote
]
582 583
\installlanguage
[
\s!ancientgreek
]
[
\s!agr
]
584 585
% Indo-Iranian Languages: 34.
586 587
% Italic Languages: Latin, Italian, Rhaeto-Romanic, Rumanian,
588
% Sardian, Catalan, French, Ladino, Portuguese, Proven\c{c}al,
589
% Spanish
590 591
\ifdefined
\guillemotspace
\else
\let
\guillemotspace
\empty
\fi
592
\ifdefined
\sentencespace
\else
\let
\sentencespace
\empty
\fi
593 594
\installlanguage
595
[
\s!fr
]
596
[
\c!spacing
=
\v!packed
,
597
\c!leftsentence
=
\emdash
,
598
\c!rightsentence
=
\emdash
,
599
\c!leftsubsentence
=
\emdash
,
600
\c!rightsubsentence
=
\emdash
,
601
\c!leftquote
=
\leftguillemot
,
602
\c!rightquote
=
\rightguillemot
,
603
\c!leftquotation
=
\leftguillemot
,
604
\c!rightquotation
=
\rightguillemot
,
605
\c!time
=
{
h
,
{
\Uchar
1
0
4
}
,
m
}
,
% we need to cheat in order to get the h
606
\c!date
=
{
\v!day
:
mnem
,
\v!space
,
\v!month
,
\v!space
,
\v!year
}
]
607 608
\installlanguage
609
[
\s!es
]
610
[
\c!spacing
=
\v!packed
,
611
\c!leftsentence
=
\emdash
,
612
\c!rightsentence
=
\emdash
,
613
\c!leftsubsentence
=
\emdash
,
614
\c!rightsubsentence
=
\emdash
,
615
\c!leftquote
=
\upperleftsinglesixquote
,
616
\c!rightquote
=
\upperrightsingleninequote
,
617
\c!leftquotation
=
\upperleftdoublesixquote
,
618
\c!rightquotation
=
\upperrightdoubleninequote
,
619
\c!date
=
{
\v!day
,
{
de
}
,
\v!month
,
{
de
}
,
\v!year
}
]
620 621
\installlanguage
[
sp
]
[
\s!es
]
% old times context
622 623
\installlanguage
624
[
\s!ca
]
625
[
\c!spacing
=
\v!packed
,
626
\c!leftsentence
=
\emdash
,
627
\c!rightsentence
=
\emdash
,
628
\c!leftsubsentence
=
\emdash
,
629
\c!rightsubsentence
=
\emdash
,
630
\c!leftquote
=
\upperleftsinglesixquote
,
631
\c!rightquote
=
\upperrightsingleninequote
,
632
\c!leftquotation
=
\upperleftdoublesixquote
,
633
\c!rightquotation
=
\upperrightdoubleninequote
,
634
\c!date
=
{
\v!day
,
\space
,
\v!month
,
\space
,
\v!year
}
]
635 636
% Note GB left|/|right (sub)sentences are for \quote {incisi}.
637 638
\installlanguage
639
[
\s!it
]
640
[
\c!spacing
=
\v!packed
,
641
\c!leftsentence
=
\emdash
,
642
\c!rightsentence
=
\emdash
,
643
\c!leftsubsentence
=
\endash
,
644
\c!rightsubsentence
=
\endash
,
645
\c!leftquote
=
\upperleftsinglesixquote
,
646
\c!rightquote
=
\upperrightsingleninequote
,
647
\c!leftquotation
=
\upperleftdoublesixquote
,
648
\c!rightquotation
=
\upperrightdoubleninequote
,
649
\c!leftspeech
=
\leftguillemot
,
650
\c!middlespeech
=
\leftguillemot
,
651
\c!rightspeech
=
\rightguillemot
,
652
\c!date
=
{
\v!day
,
\space
,
\v!month
,
\space
,
\v!year
}
]
653 654
\installlanguage
% the same as italian
655
[
\s!la
]
656
[
\c!spacing
=
\v!packed
,
657
\c!leftsentence
=
\emdash
,
658
\c!rightsentence
=
\emdash
,
659
\c!leftsubsentence
=
\emdash
,
660
\c!rightsubsentence
=
\emdash
,
661
\c!leftquote
=
\upperleftsinglesixquote
,
662
\c!rightquote
=
\upperrightsingleninequote
,
663
\c!leftquotation
=
\upperleftdoublesixquote
,
664
\c!rightquotation
=
\upperrightdoubleninequote
,
665
\c!date
=
{
\v!day
,
\space
,
\v!month
,
\space
,
\v!year
}
]
666 667
\installlanguage
% ancient latin
668
[
\s!ala
]
669
[
\c!default
=
\s!la
]
670 671
\installlanguage
672
[
\s!pt
]
673
[
\c!spacing
=
\v!packed
,
674
\c!leftsentence
=
\emdash
,
675
\c!rightsentence
=
\emdash
,
676
\c!leftsubsentence
=
\emdash
,
677
\c!rightsubsentence
=
\emdash
,
678
\c!leftquote
=
\upperleftsinglesixquote
,
679
\c!rightquote
=
\upperrightsingleninequote
,
680
\c!leftquotation
=
\upperleftdoublesixquote
,
681
\c!rightquotation
=
\upperrightdoubleninequote
,
682
\c!date
=
{
\v!year
,
\space
,
\v!month
,
\space
,
\v!day
}
]
683 684
\installlanguage
[
\s!pt
-
br
][
\c!default
=
\s!pt
]
% Brazil
685
\installlanguage
[
\s!es
-
es
][
\c!default
=
\s!es
]
% Spain
686
\installlanguage
[
\s!es
-
la
][
\c!default
=
\s!es
]
% Latin America
687 688
\installlanguage
689
[
\s!ro
]
690
[
\c!spacing
=
\v!packed
,
691
\c!leftsentence
=
\emdash
,
692
\c!rightsentence
=
\emdash
,
693
\c!leftsubsentence
=
\emdash
,
694
\c!rightsubsentence
=
\emdash
,
695
\c!leftquote
=
\leftguillemot
,
696
\c!rightquote
=
\rightguillemot
,
697
\c!leftquotation
=
\lowerrightdoubleninequote
,
698
\c!rightquotation
=
\upperleftdoublesixquote
,
699
\c!date
=
{
\v!day
,
\space
,
\v!month
,
\space
,
\v!year
}
]
700 701
%D For compatibility reasons we also define:
702 703
\installlanguage
[
\s!french
]
[
\s!fr
]
704
\installlanguage
[
\s!spanish
]
[
\s!es
]
705
\installlanguage
[
\s!catalan
]
[
\s!ca
]
706
\installlanguage
[
\s!italian
]
[
\s!it
]
707
\installlanguage
[
\s!latin
]
[
\s!la
]
708
\installlanguage
[
\s!portuguese
]
[
\s!pt
]
709
\installlanguage
[
\s!romanian
]
[
\s!ro
]
710 711
% Vietnamese Language
712 713
\installlanguage
714
[
\s!vi
]
715
[
\c!spacing
=
\v!packed
,
716
\c!leftsentence
=
\emdash
,
717
\c!rightsentence
=
\emdash
,
718
\c!leftsubsentence
=
\emdash
,
719
\c!rightsubsentence
=
\emdash
,
720
\c!leftquote
=
\quoteleft
,
721
\c!rightquote
=
\quoteright
,
722
\c!leftquotation
=
\quotedblleft
,
723
\c!rightquotation
=
\quotedblright
,
724
\c!date
=
{{
}
,
dd
,
{
/
}
,
mm
,
{
/
}
,
yy
}
]
725 726
\installlanguage
[
\s!vietnamese
]
[
\s!vi
]
727 728
% Thai (teaser for Mojca)
729 730
\installlanguage
731
[
\s!th
]
732
[
\c!spacing
=
\v!broad
,
733
\c!leftsentence
=
\emdash
,
734
\c!rightsentence
=
\emdash
,
735
\c!leftsubsentence
=
\emdash
,
736
\c!rightsubsentence
=
\emdash
,
737
\c!leftquote
=
\upperleftsinglesixquote
,
738
\c!rightquote
=
\upperrightsingleninequote
,
739
\c!leftquotation
=
\upperleftdoublesixquote
,
740
\c!rightquotation
=
\upperrightdoubleninequote
,
741
\c!date
=
{
\v!month
,
\space
,
\v!day
,
{
,
\space
}
,
\v!year
}
,
742
\s!patterns
=
\s!th
,
743
\s!lefthyphenmin
=
2
,
744
\s!righthyphenmin
=
3
]
745 746
\installlanguage
[
\s!thai
]
[
\s!th
]
747 748
%D Malayalam (needs to be checked)
749 750
\installlanguage
751
[
\s!ml
]
752
[
\c!spacing
=
\v!broad
,
753
\c!leftsentence
=
\emdash
,
754
\c!rightsentence
=
\emdash
,
755
\c!leftsubsentence
=
\emdash
,
756
\c!rightsubsentence
=
\emdash
,
757
\c!leftquote
=
\upperleftsinglesixquote
,
758
\c!rightquote
=
\upperrightsingleninequote
,
759
\c!leftquotation
=
\upperleftdoublesixquote
,
760
\c!rightquotation
=
\upperrightdoubleninequote
,
761
\c!date
=
{
\v!month
,
\space
,
\v!day
,
{
,
\space
}
,
\v!year
}
,
762
\s!patterns
=
\s!ml
,
763
\s!lefthyphenmin
=
2
,
764
\s!righthyphenmin
=
3
]
765 766
\installlanguage
[
\s!malayalam
]
[
\s!ml
]
767 768
%D Todo: generate this one from languages.data
769 770
\installlanguage
[
nld
][
\s!nl
]
771
\installlanguage
[
deu
][
\s!de
]
772
\installlanguage
[
eng
][
\s!en
]
773
\installlanguage
[
fra
][
\s!fr
]
774
%installlanguage[grk][\s!agr]
775 776
%D This might go:
777 778
\installlanguage
[
cz
][
\s!cs
]
779
%installlanguage[fa][\s!fr] % for dutchies only
780 781
\protect
\endinput
782