summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/context/base/mult-sys.mkiv
blob: cdf73b6121c41a2202934e5c6b54b7f183a134a4 (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
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
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
%D \module
%D   [       file=mult-sys,
%D        version=1996.06.01,
%D          title=\CONTEXT\ Multilingual Macros,
%D       subtitle=System,
%D         author=Hans Hagen,
%D           date=\currentdate,
%D      copyright={PRAGMA ADE \& \CONTEXT\ Development Team}]
%C
%C This module is part of the \CONTEXT\ macro||package and is
%C therefore copyrighted by \PRAGMA. See mreadme.pdf for
%C details.

%D In boring module we define a lot of obscure but useful
%D system constants. By doing so we save lots of memory while
%D at the same time we prevent ourself from typing errors.

\writestatus{loading}{ConTeXt Multilingual Macros / System}

\unprotect

%D This file is mostly the same as the \MKII\ variant but we
%D keep extending \MKIV, so it was bout time to have a dedicated
%D variant.
%D
%D The constants are grouped in such a way that there is a
%D minimal change of conflicts.
%D
%D \starttyping
%D \definesystemconstants {word}
%D \definemessageconstant {word}
%D \stoptyping
%D
%D This commands generate \type{\s!word} and \type{\m!word}.

\definesystemconstant {hans}
\definesystemconstant {taco}

%D First we define some system constants used for both the
%D multi||lingual interface and multi||linguag typesetting.

\definesystemconstant {afrikaans}    \definesystemconstant {af}
\definesystemconstant {arabic}       \definesystemconstant {ar}
\definesystemconstant {catalan}      \definesystemconstant {ca}
\definesystemconstant {chinese}      \definesystemconstant {cn}
\definesystemconstant {croatian}     \definesystemconstant {hr}
\definesystemconstant {czech}        \definesystemconstant {cs}
                                     \definesystemconstant {cz}
\definesystemconstant {danish}       \definesystemconstant {da}
\definesystemconstant {dutch}        \definesystemconstant {nl}
\definesystemconstant {english}      \definesystemconstant {en}
\definesystemconstant {finish}       \definesystemconstant {fi}
\definesystemconstant {french}       \definesystemconstant {fr}
\definesystemconstant {german}       \definesystemconstant {de}
\definesystemconstant {hungarian}    \definesystemconstant {hu}
\definesystemconstant {italian}      \definesystemconstant {it}
\definesystemconstant {latin}        \definesystemconstant {la}
\definesystemconstant {lithuanian}   \definesystemconstant {lt}
\definesystemconstant {bokmal}       \definesystemconstant {nb}
\definesystemconstant {norwegian}    \definesystemconstant {no}
\definesystemconstant {nynorsk}      \definesystemconstant {nn}
\definesystemconstant {polish}       \definesystemconstant {pl}
\definesystemconstant {persian}      \definesystemconstant {pe}
\definesystemconstant {portuguese}   \definesystemconstant {pt}
\definesystemconstant {romanian}     \definesystemconstant {ro}
\definesystemconstant {russian}      \definesystemconstant {ru}
\definesystemconstant {slovak}       \definesystemconstant {sk}
\definesystemconstant {slovenian}    \definesystemconstant {sl}
\definesystemconstant {slovene}      % obsolete
\definesystemconstant {spanish}      \definesystemconstant {es}
\definesystemconstant {swedish}      \definesystemconstant {sv}
\definesystemconstant {turkish}      \definesystemconstant {tr}
\definesystemconstant {turkmen}      \definesystemconstant {tk}
\definesystemconstant {gbenglish}    \definesystemconstant {gb}
\definesystemconstant {ukenglish}    \definesystemconstant {uk}
\definesystemconstant {usenglish}    \definesystemconstant {us}
\definesystemconstant {ukrainian}    \definesystemconstant {ua}
\definesystemconstant {greek}        \definesystemconstant {gr}
\definesystemconstant {ancientgreek} \definesystemconstant {agr}
\definesystemconstant {vietnamese}   \definesystemconstant {vi}
                                     \definesystemconstant {vn}
\definesystemconstant {chinese}      \definesystemconstant {cn}
\definesystemconstant {japanese}     \definesystemconstant {ja}
\definesystemconstant {korean}       \definesystemconstant {kr}

%D For proper \UNICODE\ support we need a few font related
%D constants.

\definesystemconstant {BoldItalic}
\definesystemconstant {BoldSlanted}
\definesystemconstant {Bold}
\definesystemconstant {Italic}
\definesystemconstant {Regular}
\definesystemconstant {Slanted}
\definesystemconstant {Unicode}

\definesystemconstant {Handwriting}
\definesystemconstant {Calligraphy}
\definesystemconstant {Casual}

\definesystemconstant {Regular}
\definesystemconstant {Support}
\definesystemconstant {Type}

\definesystemconstant {Math}
\definesystemconstant {MathBold}

\definesystemconstant {MathRoman}
\definesystemconstant {MathRomanBold}

\definesystemconstant {Serif}
\definesystemconstant {SerifBold}
\definesystemconstant {SerifItalic}
\definesystemconstant {SerifBoldItalic}
\definesystemconstant {SerifSlanted}
\definesystemconstant {SerifBoldSlanted}
\definesystemconstant {SerifCaps}
% \definesystemconstant {SerifCapsSlanted}

\definesystemconstant {Sans}
\definesystemconstant {SansBold}
\definesystemconstant {SansItalic}
\definesystemconstant {SansBoldItalic}
\definesystemconstant {SansSlanted}
\definesystemconstant {SansBoldSlanted}
\definesystemconstant {SansCaps}
% \definesystemconstant {SansCapsSlanted}

\definesystemconstant {Mono}
\definesystemconstant {MonoBold}
\definesystemconstant {MonoItalic}
\definesystemconstant {MonoBoldItalic}
\definesystemconstant {MonoSlanted}
\definesystemconstant {MonoBoldSlanted}
\definesystemconstant {MonoCaps}
% \definesystemconstant {MonoCapsSlanted}
% \definesystemconstant {MonoVariable}

\definesystemconstant {DefaultFont}

\definesystemconstant {Simple}
\definesystemconstant {Normal}
\definesystemconstant {Caps}

\definesystemconstant {serif}
\definesystemconstant {sans}
\definesystemconstant {mono}
\definesystemconstant {math}
\definesystemconstant {handwriting}
\definesystemconstant {calligraphy}
\definesystemconstant {casual}
\definesystemconstant {fax}

\definesystemconstant {fallback}

%definesystemconstant {mnem} % kind of generic short tag

\definesystemconstant {file}
\definesystemconstant {name}
\definesystemconstant {spec}

\definesystemconstant {both}

\definesystemconstant {attribute}

\definesystemconstant {none}
\definesystemconstant {auto}
\definesystemconstant {default}
\definesystemconstant {smallcaps}

\definesystemconstant {regular}
\definesystemconstant {script}
\definesystemconstant {fraktur}
\definesystemconstant {blackboard}

\definesystemconstant {tf}
\definesystemconstant {sl}
\definesystemconstant {it}
\definesystemconstant {bf}
\definesystemconstant {bs}
\definesystemconstant {bi}

\definesystemconstant {rm}
\definesystemconstant {ss}
\definesystemconstant {tt}
\definesystemconstant {hw}
\definesystemconstant {cg}
\definesystemconstant {mm}

\definesystemconstant {x}
\definesystemconstant {xx}
\definesystemconstant {em}

\definesystemconstant {a}
\definesystemconstant {b}
\definesystemconstant {c}
\definesystemconstant {d}
\definesystemconstant {e}
\definesystemconstant {f}

\definesystemconstant {mr}
\definesystemconstant {mb}
\definesystemconstant {mrlr}
\definesystemconstant {mrrl}
\definesystemconstant {mblr}
\definesystemconstant {mbrl}

\definesystemconstant {tf}
\definesystemconstant {bf}
\definesystemconstant {bs}
\definesystemconstant {bi}
\definesystemconstant {sl}
\definesystemconstant {it}
\definesystemconstant {sc}

\definesystemconstant {small}
\definesystemconstant {big}

\definesystemconstant {first}
\definesystemconstant {second}
\definesystemconstant {third}

%D Net come some \CONTEXT\ constants, used in the definition
%D of private commands:

\definesystemconstant  {tex}
\definesystemconstant  {xml}
\definesystemconstant  {lua}

\definesystemconstant  {next}
\definesystemconstant  {pickup}
\definesystemconstant  {ascii}
\definesystemconstant  {default}
\definesystemconstant  {unknown}
\definesystemconstant  {action}
\definesystemconstant  {compare}
\definesystemconstant  {do}
\definesystemconstant  {dodo}
\definesystemconstant  {complex}
\definesystemconstant  {simple}
\definesystemconstant  {start}
\definesystemconstant  {stop}
\definesystemconstant  {dummy}
\definesystemconstant  {local}
\definesystemconstant  {global}
\definesystemconstant  {done}
\definesystemconstant  {font}
\definesystemconstant  {link}
\definesystemconstant  {parent}
\definesystemconstant  {child}
\definesystemconstant  {clone}
\definesystemconstant  {section}
\definesystemconstant  {handler}
\definesystemconstant  {counter}
\definesystemconstant  {single}
\definesystemconstant  {multi}
\definesystemconstant  {indeed}

\definesystemconstant  {hasnumber}
\definesystemconstant  {hastitle}
\definesystemconstant  {hascaption}
\definesystemconstant  {haslevel}

\definesystemconstant  {mkiv}
\definesystemconstant  {mkii}

\definesystemconstant  {normal}
\definesystemconstant  {bold}
\definesystemconstant  {italic}
\definesystemconstant  {slanted}

\definesystemconstant  {default}
\definesystemconstant  {smallcaps}

\definesystemconstant  {run}

\definesystemconstant  {mode}
\definesystemconstant  {setup}
\definesystemconstant  {environment}
\definesystemconstant  {document}

%definesystemconstant  {fam}
\definesystemconstant  {text}
\definesystemconstant  {script}
\definesystemconstant  {scriptscript}

\definesystemconstant  {lefthyphenmin}
\definesystemconstant  {righthyphenmin}
\definesystemconstant  {lefthyphenchar}
\definesystemconstant  {righthyphenchar}

%definesystemconstant  {skewchar}
%definesystemconstant  {hyphenchar}
\definesystemconstant  {catcodes}
%definesystemconstant  {encoding}
%definesystemconstant  {entities}
%definesystemconstant  {resource}
%definesystemconstant  {mapping}
\definesystemconstant  {language}
\definesystemconstant  {patterns}
\definesystemconstant  {rname}
\definesystemconstant  {rscale}
%definesystemconstant  {handling}
\definesystemconstant  {features}
\definesystemconstant  {direction}
\definesystemconstant  {fallbacks}
\definesystemconstant  {goodies}
\definesystemconstant  {designsize}
%definesystemconstant  {background}
%definesystemconstant  {ucmap}

%definesystemconstant  {property}
%definesystemconstant  {overprint}
%definesystemconstant  {layer}
\definesystemconstant  {effect}                 % todo s
%definesystemconstant  {negative}
%definesystemconstant  {color}
%definesystemconstant  {transparency}

\definesystemconstant  {black}
\definesystemconstant  {white}

\definesystemconstant  {system} % not yet interfaces messages
\definesystemconstant  {user}
\definesystemconstant  {check}
\definesystemconstant  {reset}
\definesystemconstant  {set}
\definesystemconstant  {empty}

\definesystemconstant  {realpage}
\definesystemconstant  {userpage}
\definesystemconstant  {subpage}

\definesystemconstant  {page}
\definesystemconstant  {subpage}
\definesystemconstant  {leftpage}
\definesystemconstant  {rightpage}
\definesystemconstant  {somewhere}

\definesystemconstant  {userdata}
\definesystemconstant  {command}
\definesystemconstant  {simple}

\definesystemconstant  {full}
\definesystemconstant  {text}
\definesystemconstant  {paragraph}
\definesystemconstant  {margintext}
\definesystemconstant  {line}

\definesystemconstant  {number}
\definesystemconstant  {symbol}
\definesystemconstant  {format}
\definesystemconstant  {data}
\definesystemconstant  {float}
\definesystemconstant  {extensions}
\definesystemconstant  {initializations}

\definesystemconstant  {rgb}
\definesystemconstant  {cmyk}
\definesystemconstant  {gray}
\definesystemconstant  {spot}
\definesystemconstant  {all}
\definesystemconstant  {dtp}
\definesystemconstant  {none}

\definesystemconstant  {map}
\definesystemconstant  {special}
\definesystemconstant  {size}

\definesystemconstant  {depth}
\definesystemconstant  {nodepth}

%D Just to be complete we define the standard \TEX\ units.

\definesystemconstant  {cm}
\definesystemconstant  {em}
\definesystemconstant  {ex}
\definesystemconstant  {mm}
\definesystemconstant  {pt}
\definesystemconstant  {sp}
\definesystemconstant  {bp}
\definesystemconstant  {in}
\definesystemconstant  {pc}
\definesystemconstant  {cm}
\definesystemconstant  {dd}
\definesystemconstant  {cc}
\definesystemconstant  {nd}
\definesystemconstant  {nc}

%D As the name of their define command states, the next set of
%D constants is used in the message macro's.

\definemessageconstant {check}
\definemessageconstant {colors}
\definemessageconstant {columns}
\definemessageconstant {regimes}
\definemessageconstant {figures}
\definemessageconstant {fields}
\definemessageconstant {files}
\definemessageconstant {floatblocks}
\definemessageconstant {fonts}
\definemessageconstant {handlings}
\definemessageconstant {interactions}
\definemessageconstant {javascripts}
\definemessageconstant {layouts}
\definemessageconstant {languages}
\definemessageconstant {references}
\definemessageconstant {structures}
\definemessageconstant {symbols}
\definemessageconstant {system}
\definemessageconstant {lua}
\definemessageconstant {textblocks}
\definemessageconstant {verbatims}
\definemessageconstant {versions}
\definemessageconstant {metapost}
\definemessageconstant {chemicals}
\definemessageconstant {publications}

%D When we use numbers and dimensions the same applies as
%D with the keywords like \type{width} and \type{plus}
%D mentioned earlier.

\def\!!ten                   {10}
\def\!!twelve                {12}
\def\!!hundred              {100}
\def\!!thousand            {1000}
\def\!!tenthousand        {10000}
\def\!!maxcard            {65536}
\def\!!medcard            {32768}

\def\!!zeropoint            {0pt}
\def\!!onepoint             {1pt}
\def\!!twopoint             {2pt}
\def\!!threepoint           {3pt}
\def\!!fourpoint            {4pt}
\def\!!fivepoint            {5pt}
\def\!!sixpoint             {6pt}
\def\!!sevenpoint           {7pt}
\def\!!eightpoint           {8pt}
\def\!!ninepoint            {9pt}
\def\!!tenpoint            {10pt}
\def\!!elevenpoint         {11pt}
\def\!!twelvepoint         {12pt}
\def\!!fourteenpointfour {14.4pt}

\def\!!plustoken              {+}
\def\!!minustoken             {-}

\def\__unknown__    {\string\\//} % unlikely value

%D Variables are composed of a command specific tag and a user
%D supplied variable (system constant). The first tag \type{ag}
%D for instance is available as \type{\??ag} and expands to
%D \type{@@ag} in composed variables.

\definesystemvariable {ab}   % AlignedBoxes
\definesystemvariable {ac}   % ACcent
\definesystemvariable {ae}   % AttributEs
\definesystemvariable {al}   % ALinea's
\definesystemvariable {an}   % ANchor
\definesystemvariable {as}   % AlignmentSwitch
\definesystemvariable {bg}   % BleedinG
\definesystemvariable {bm}   % BookMark
\definesystemvariable {bp}   % BreakPoint
\definesystemvariable {bx}   % BackendExport
\definesystemvariable {cb}   % CollectBox
\definesystemvariable {cm}   % CheMical
\definesystemvariable {cp}   % CliP
\definesystemvariable {da}   % DAte
\definesystemvariable {db}   % Labels
\definesystemvariable {dd}   % DoorDefinieren
\definesystemvariable {de}   % DEel
\definesystemvariable {di}   % DIrections
\definesystemvariable {dl}   % DunneLijnen
\definesystemvariable {dn}   % DoorNummeren
\definesystemvariable {dm}   % DefineMeasure
\definesystemvariable {du}   % DUmmy
\definesystemvariable {ef}   % ExternFiguur
\definesystemvariable {en}   % ENvironments
%definesystemvariable {er}   % external resources
\definesystemvariable {et}   % EffecT
\definesystemvariable {ex}   % ExterneFiguren
\definesystemvariable {fc}   % FramedContent
\definesystemvariable {fi}   % FIle Once
\definesystemvariable {fo}   % xml FO (xtag)
\definesystemvariable {fu}   % FontSolution
\definesystemvariable {fw}   % simpleFonts by Wolfgang
\definesystemvariable {fx}   % FoXet
\definesystemvariable {gb}   % Graphic Bitmaps
\definesystemvariable {gv}   % Graphic Variable
\definesystemvariable {ha}   % HAng
\definesystemvariable {id}   % Index
\definesystemvariable {ih}   % InHoudsopgave
\definesystemvariable {il}   % stelInvulRegelsin
\definesystemvariable {ip}   % InsertPages
\definesystemvariable {is}   % Items
\definesystemvariable {it}   % stelInTerliniein
\definesystemvariable {iv}   % stelInvulLijnenin
\definesystemvariable {ka}   % KAntlijn
\definesystemvariable {kl}   % KoLommen
\definesystemvariable {km}   % KenMerk
\definesystemvariable {kp}   % KopPelteken
\definesystemvariable {ks}   % KolomSpan
\definesystemvariable {kt}   % KonTakten
\definesystemvariable {kw}   % KontaktWaarde
\definesystemvariable {le}   % LinetablE
\definesystemvariable {lf}   % LocalFigures
\definesystemvariable {lg}   % taal (LanGuage)
\definesystemvariable {lk}   % LinK
\definesystemvariable {ll}   % Layers
\definesystemvariable {lr}   % LayeR
\definesystemvariable {lu}   % LUacode
\definesystemvariable {lx}   % LayerteXt
\definesystemvariable {ma}   % MargeAchtergrond
\definesystemvariable {mc}   % MultiColumn
\definesystemvariable {mi}   % MultilingualInterface
\definesystemvariable {ml}   % MultilingualLabel
\definesystemvariable {mm}   % MultilingualMath
\definesystemvariable {mt}   % inline MaTh
\definesystemvariable {mt}   % multi column (!!! double usage)
\definesystemvariable {mo}   % Math Options
\definesystemvariable {mp}   % MetaPost
\definesystemvariable {nn}   % structurenumbering
\definesystemvariable {nm}   % Nummering
\definesystemvariable {np}   % NaastPlaatsen
\definesystemvariable {nr}   % Nummeren
\definesystemvariable {ob}   % OBjects
\definesystemvariable {oi}   % OmlijndInstellingen
\definesystemvariable {ol}   % OmLijnd
\definesystemvariable {od}   % Omlijnd Defaults (simple)
\definesystemvariable {ox}   % OffsetBox
\definesystemvariable {pb}   % PuBlication
\definesystemvariable {pc}   % PageComment
\definesystemvariable {ph}   % ParagrapH
\definesystemvariable {pn}   % PaginaNummer
\definesystemvariable {pr}   % PRogrammas
\definesystemvariable {ps}   % PoSitioneren
\definesystemvariable {px}   % Parallel
\definesystemvariable {py}   % PropertYs
\definesystemvariable {pv}   % PublicationVariable
\definesystemvariable {ql}   % catcode table let     % already defined
\definesystemvariable {qd}   % catcode table def     % already defined
\definesystemvariable {qu}   % catcode table ued     % already defined
\definesystemvariable {qm}   % catcode table meaning % already defined
\definesystemvariable {rf}   % ReFerencing
\definesystemvariable {rn}   % RegelNummer
\definesystemvariable {rs}   % RaSters
\definesystemvariable {rt}   % RoosTers
\definesystemvariable {rw}   % RenderingWindow
\definesystemvariable {sb}   % SectieBlok
\definesystemvariable {sd}   % SounD
\definesystemvariable {se}   % SEctie
\definesystemvariable {sh}   % ShapeText
\definesystemvariable {si}   % SplIt
\definesystemvariable {sp}   % SelecteerPapier
\definesystemvariable {st}   % STickers
\definesystemvariable {sx}   % Selector
\definesystemvariable {ta}   % TAb
\definesystemvariable {tb}   % TekstBlokken
\definesystemvariable {te}   % TEmplate
\definesystemvariable {ti}   % TabelInstellingen
\definesystemvariable {tl}   % TekstLijnen
\definesystemvariable {tt}   % TabulaTe
\definesystemvariable {tx}   % TeXtflow
\definesystemvariable {ur}   % URl
\definesystemvariable {vn}   % VoetNoten
\definesystemvariable {xf}   % XML File (xtag)
\definesystemvariable {xp}   % XML Processing (xtag, so still needed)
\definesystemvariable {za}   % layout adapt % ZetspiegelAanpassing
\definesystemvariable {zc}   % columns

% still used but defined locally

\definesystemvariable {cs}   % CharacterSpacing
\definesystemvariable {ts}   % TypeScript
\definesystemvariable {kk}   % Kapitalen

% obsolete but kept for a while (core-obs)

\definesystemvariable {fr}   % Division

%D Next we define some language independant one letter
%D variables and keywords. We can actually make these
%D system variables.

\defineinterfaceconstant {x} {x}
\defineinterfaceconstant {y} {y}
\defineinterfaceconstant {w} {w}
\defineinterfaceconstant {h} {h}
\defineinterfaceconstant {s} {s}
\defineinterfaceconstant {t} {t}

\defineinterfaceconstant {a} {a} % can go
\defineinterfaceconstant {b} {b} % can go
\defineinterfaceconstant {c} {c} % can go
\defineinterfaceconstant {d} {d} % can go
\defineinterfaceconstant {e} {e} % can go
\defineinterfaceconstant {f} {f} % can go

\defineinterfaceconstant {s} {s}
\defineinterfaceconstant {r} {r}
\defineinterfaceconstant {g} {g}
\defineinterfaceconstant {b} {b}
\defineinterfaceconstant {c} {c}
\defineinterfaceconstant {m} {m}
\defineinterfaceconstant {y} {y}
\defineinterfaceconstant {k} {k}
\defineinterfaceconstant {a} {a} % alternative
\defineinterfaceconstant {t} {t} % transparency
\defineinterfaceconstant {p} {p} % percentage
\defineinterfaceconstant {h} {h}
\defineinterfaceconstant {s} {s}
\defineinterfaceconstant {v} {v}

\defineinterfaceconstant {rgb}  {rgb}
\defineinterfaceconstant {cmyk} {cmyk}
\defineinterfaceconstant {mp}   {mp}

\defineinterfacevariable {rgb}  {rgb}
\defineinterfacevariable {cmyk} {cmyk}
\defineinterfacevariable {mp}   {mp}

\defineinterfacevariable {s} {s}

\defineinterfacevariable {a} {a}
\defineinterfacevariable {b} {b}
\defineinterfacevariable {c} {c}
\defineinterfacevariable {d} {d}

%D Special purpose variables:

\def\v!oddeven#1{\ifodd#1\v!odd\else\v!even\fi}

%D The names of files and their extensions are fixed.
%D \CONTEXT\ uses as less files as possible. Utility files can
%D be recognized by the first two characters of the extension:
%D \type{tu}.

%definefileconstant {utilityfilename}    {texutil}
%definefileconstant {blockextension}     {tub}
%definefileconstant {figureextension}    {tuf}
%definefileconstant {inputextension}     {tui}
%definefileconstant {outputextension}    {tuo} % tup for previous run
\definefileconstant {optionextension}    {top}
\definefileconstant {temporaryextension} {tmp}
%definefileconstant {patternsextension}  {pat}
%definefileconstant {hyphensextension}   {hyp}
%definefileconstant {fontmapextension}   {map}
\definefileconstant {bibextension}       {bbl}

%D These files are loaded at start||up. They may contain system
%D specific setups (or calls to other files), old macro's, to
%D garantee compatibility and new macro's noy yet present in
%D the format.

\definefileconstant {errfilename} {cont-err}
\definefileconstant {sysfilename} {cont-sys}
\definefileconstant {newfilename} {cont-new}
\definefileconstant {locfilename} {cont-loc}
\definefileconstant {expfilename} {cont-exp}

%D The setup files for the language, font, color and special
%D subsystems have a common prefix. This means that we have at
%D most three characters for unique filenames.

\definefileconstant {colorprefix}        {colo-}
%definefileconstant {encodingprefix}     {enco-}
%definefileconstant {filterprefix}       {filt-}
\definefileconstant {fontprefix}         {font-}
%definefileconstant {handlingprefix}     {hand-}
%definefileconstant {javascriptprefix}   {java-}
%definefileconstant {languageprefix}     {lang-}
%definefileconstant {mathprefix}         {math-}
%definefileconstant {metapostprefix}     {meta-}
%definefileconstant {regimeprefix}       {regi-}
%definefileconstant {specialprefix}      {spec-}
\definefileconstant {symbolprefix}       {symb-}
\definefileconstant {typeprefix}         {type-}
%definefileconstant {xtagprefix}         {xtag-}
%definefileconstant {propprefix}         {prop-}
%definefileconstant {unicprefix}         {unic-}
%definefileconstant {sortprefix}         {sort-}
%definefileconstant {prettyprefix}       {pret-}

%definefileconstant {moduleprefix}       {m-}
%definefileconstant {styleprefix}        {s-}
%definefileconstant {xstyleprefix}       {x-}
%definefileconstant {privateprefix}      {p-}
%definefileconstant {thirdprefix}        {t-}

%definefileconstant {beforeprefix}       {b-}
%definefileconstant {afterprefix}        {a-}

% for old times sake:

% \defineinterfaceconstant {x}  {x}
% \defineinterfaceconstant {xx} {xx}
% \defineinterfaceconstant {em} {em} % will go

% \defineinterfaceconstant {tf} {tf}
% \defineinterfaceconstant {bf} {bf}
% \defineinterfaceconstant {bs} {bs}
% \defineinterfaceconstant {bi} {bi}
% \defineinterfaceconstant {sl} {sl}
% \defineinterfaceconstant {it} {it}
% \defineinterfaceconstant {sc} {sc} % keep, used elsewhere (or define in mult-def)

%D For figure inclusion we need(ed):

%defineinterfaceconstant {tif}  {tif}
%defineinterfaceconstant {eps}  {eps}
%defineinterfaceconstant {mps}  {mps}
%defineinterfaceconstant {jpg}  {jpg}
%defineinterfaceconstant {pdf}  {pdf}
%defineinterfaceconstant {png}  {png}
%defineinterfaceconstant {avi}  {avi}
%defineinterfaceconstant {mov}  {mov}
%defineinterfaceconstant {svg}  {svg}
\defineinterfaceconstant {tex}  {tex} % Also gone?
%defineinterfaceconstant {tmp}  {tmp}
%defineinterfaceconstant {cld}  {cld}

%D A careful reader will have noticed that in the module
%D \type{mult-ini} we defined \type{\selectinterface}. We were
%D not yet able to actually select an interface, because we
%D still had to define the constants and variables. Now we've
%D done so, selection is permitted.

\selectinterface

%D Ok, here are some more, because we've got ouselves some
%D extensions to \CONTEXT.

\definemessageconstant {addresses}
\definemessageconstant {documents}

\protect

\endinput