context.mkxl /size: 14 Kb    last modification: 2020-07-01 14:35
1
%D \module
2
%D [ file=context,
3
%D version=2019.07.24, % 2008.28.10, % 1995.10.10,
4
%D title=\CONTEXT,
5
%D subtitle=\CONTEXT\ Format Generation,
6
%D author=Hans Hagen, % ɦɑns ɦɑˈχən
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
% http://build.contextgarden.net/waterfall?tag=c/lua(meta)tex
15 16
%D Welcome to context, pronounced as kontekst (rather dutch) and not as conτεχt.
17 18
\catcode
`
\{
=
1
\catcode
`
\}
=
2
\catcode
`
\#
=
6
19 20
%D From the next string (which is set by the script that assembles the distribution)
21
%D later on we will calculate a number that can be used by use modules to identify
22
%D the feature level. Starting with version 2004.8.30 the low level interface is
23
%D english. Watch out and adapt your styles an modules.
24 25
% \everypar{\writestatus{!!!!}{some spurious input in line \the\inputlineno}\wait}
26 27
%D The order of loading will change when all modules have been cleaned up and the
28
%D dependencies are more consistent. Beware, the version number has to match \type
29
%D {YYYY.MM.DD HH:MM} format.
30 31
\edef
\contextformat
{
\jobname
}
32
\edef
\contextversion
{
2
0
2
0
.
0
6
.
3
0
1
7
:
3
0
}
33
\edef
\contextkind
{
beta
}
34 35
%D Kind of special:
36 37
\chardef
\contextlmtxmode
\directlua{
tex
.
print
(
CONTEXTLMTXMODE
or
0
)
}
\relax
38 39
%D For those who want to use this:
40 41
\let
\fmtname
\contextformat
42
\let
\fmtversion\contextversion
43 44
%D Loading:
45 46
\edef
\mksuffix
{
mkiv
}
47
\edef
\contextmark
{
MKIV
}
48 49
\ifx
\normalinput
\undefined
\let\normalinput\input
\fi
50 51
\def
\loadmarkfile
#
1
{
\normalinput
{
#
1
.
\mksuffix
}}
52
\def
\loadmkivfile
#
1
{
\normalinput
{
#
1
.
mkiv
}}
53
\def
\loadmkvifile
#
1
{
\normalinput
{
#
1
.
mkvi
}}
54
\def
\loadmkxlfile
#
1
{
\normalinput
{
#
1
.
mkxl
}}
55
\def
\loadmklxfile
#
1
{
\normalinput
{
#
1
.
mklx
}}
56 57
%D First we load the system modules. These implement a lot of manipulation macros.
58
%D We start with setting up some basic \TEX\ machinery.
59 60
\loadmkxlfile
{
syst
-
ini
}
% LMTX
61 62
%D We just quit if new functionality is expected.
63 64
\ifnum
\luatexversion
<
2
0
0
% also change message
65
\writestatus
{
!
!
!
!
}{
Your
luametatex
binary
is
too
old
,
you
need
at
least
version
2
.
0
0
!
}
66
\expandafter\end
67
\fi
68 69
%D Some checking (more primitives are now defined):
70 71
\ifdefined
\defaultinterface
\else
\def
\defaultinterface
{
english
}
\fi
72
%ifdefined\messageinterface \else \let\messageinterface \defaultinterface \fi
73
\ifdefined
\defaultlanguagetag
\else
\def
\defaultlanguagetag
{
en
}
\fi
74 75
%D There is only this way to pass the version info to \LUA\ (currently). Hm, we could
76
%D now put it into the environment.
77 78
\newtoks
\contextversiontoks
\contextversiontoks
\expandafter
{
\contextversion
}
79
\newtoks
\contextkindtoks
\contextkindtoks
\expandafter
{
\contextkind
}
80 81
% \normaleverypar{\wait} % uncomment for test of funny injections
82 83
%D Now the more fundamental code gets defined.
84 85
\loadmarkfile
{
norm
-
ctx
}
86
\loadmarkfile
{
syst
-
pln
}
87
\loadmarkfile
{
syst
-
mes
}
88 89
\loadmarkfile
{
luat
-
cod
}
90
\loadmarkfile
{
luat
-
bas
}
91
\loadmarkfile
{
luat
-
lib
}
92
\loadmarkfile
{
luat
-
soc
}
93 94
\loadmarkfile
{
catc
-
ini
}
95
\loadmarkfile
{
catc
-
act
}
96
\loadmarkfile
{
catc
-
def
}
97
\loadmarkfile
{
catc
-
ctx
}
98
\loadmarkfile
{
catc
-
sym
}
99 100
\loadmarkfile
{
toks
-
ini
}
101
\loadmarkfile
{
cldf
-
ini
}
102 103
% \tracecatcodetables
104 105
%D From here on we have \unexpanded being \normalprotected, as we already had
106
%D \type {\unexpanded} long before etex came around.
107 108
\loadmarkfile
{
luat
-
ini
}
109
\loadmarkfile
{
toks
-
scn
}
110 111
\loadmkxlfile
{
syst
-
aux
}
% LMTX
112
\loadmkxlfile
{
syst
-
lua
}
% LMTX
113
\loadmkxlfile
{
syst
-
con
}
% LMTX
114 115
\loadmarkfile
{
syst
-
fnt
}
116
\loadmarkfile
{
syst
-
rtp
}
117 118
\loadmarkfile
{
luat
-
usr
}
119 120
\loadmkvifile
{
file
-
ini
}
121
\loadmkvifile
{
file
-
res
}
122
\loadmkvifile
{
file
-
lib
}
123 124
\loadmkxlfile
{
core
-
lmt
}
% LMTX
125 126
%D This needs more checking for clashes:
127
%D
128
%D \starttyping
129
%D \doifelsefileexists{l-macro-imp-codes-luametatex.lua}{\registerctxluafile{l-macro-imp-codes-luametatex}{}}{}
130
%D \stoptyping
131 132
\loadmarkfile
{
supp
-
dir
}
133 134
\loadmarkfile
{
char
-
utf
}
% generic code (i.e. not much tex) ... could become unic-ini
135
\loadmarkfile
{
char
-
ini
}
% tex / context specific
136
\loadmarkfile
{
char
-
act
}
% even more specific
137 138
\loadmarkfile
{
mult
-
ini
}
139
\loadmarkfile
{
mult
-
sys
}
140
\loadmkxlfile
{
mult
-
aux
}
% LMTX
141
\loadmarkfile
{
mult
-
def
}
142
\loadmarkfile
{
mult
-
chk
}
143
\loadmkvifile
{
mult
-
dim
}
144 145
\loadmkxlfile
{
cldf
-
int
}
% interface
146 147
\loadmarkfile
{
trac
-
ctx
}
% maybe move up
148 149
% \loadmarkfile{luat-ini}
150 151
\loadmarkfile
{
toks
-
tra
}
152
\loadmarkfile
{
toks
-
aux
}
153
%loadmarkfile{toks-map} % obsolete, never used
154 155
\loadmarkfile
{
attr
-
ini
}
156 157
\loadmarkfile
{
core
-
ini
}
158
\loadmarkfile
{
core
-
env
}
159 160
\loadmarkfile
{
layo
-
ini
}
161 162
\loadmarkfile
{
node
-
ini
}
163 164
\loadmarkfile
{
cldf
-
bas
}
% basics / depends on nodes
165 166
\loadmkivfile
{
node
-
fin
}
167
\loadmarkfile
{
node
-
mig
}
168
%loadmarkfile{node-pag}
169 170
\loadmkxlfile
{
driv
-
ini
}
% LMTX
171 172
\loadmkxlfile
{
back
-
ini
}
% LMTX
173
\loadmarkfile
{
back
-
res
}
174
\loadmarkfile
{
back
-
trf
}
175
\loadmkxlfile
{
back
-
out
}
% LMTX
176 177
\loadmarkfile
{
attr
-
col
}
178
\loadmarkfile
{
attr
-
lay
}
179
\loadmarkfile
{
attr
-
neg
}
180
\loadmarkfile
{
attr
-
eff
}
181
\loadmarkfile
{
attr
-
mkr
}
182 183
\loadmarkfile
{
trac
-
tex
}
184
\loadmarkfile
{
trac
-
deb
}
% will move up
185 186
%loadmarkfile{blob-ini} % not to be used, we only use a helper
187 188
\loadmkxlfile
{
supp
-
box
}
% LMTX
189 190
\loadmarkfile
{
supp
-
ran
}
191
\loadmarkfile
{
supp
-
mat
}
192 193
\loadmarkfile
{
core
-
uti
}
194
\loadmkvifile
{
file
-
job
}
195 196
\loadmarkfile
{
anch
-
pos
}
197 198
\loadmarkfile
{
typo
-
ini
}
199
\loadmarkfile
{
typo
-
lin
}
200
\loadmarkfile
{
typo
-
bld
}
% par builders
201 202
\loadmarkfile
{
typo
-
inj
}
203 204
\loadmkvifile
{
file
-
syn
}
205
\loadmkvifile
{
file
-
mod
}
206 207
\loadmarkfile
{
core
-
sys
}
208
\loadmarkfile
{
core
-
con
}
209 210
\loadmarkfile
{
cont
-
fil
}
211 212
\loadmarkfile
{
regi
-
ini
}
213
\loadmarkfile
{
enco
-
ini
}
214
\loadmkxlfile
{
hand
-
ini
}
215 216
\loadmkxlfile
{
lang
-
ini
}
% LMTX
217
\loadmarkfile
{
lang
-
hyp
}
% also loads dis
218
\loadmkxlfile
{
lang
-
lab
}
% LMTX
219 220
\loadmarkfile
{
unic
-
ini
}
221 222
% \loadmarkfile{core-uti}
223
\loadmarkfile
{
core
-
two
}
224
\loadmarkfile
{
core
-
dat
}
225 226
\loadmkxlfile
{
colo
-
ini
}
% LMTX
227
\loadmarkfile
{
colo
-
grp
}
% optional
228
\loadmarkfile
{
colo
-
ext
}
229 230
\loadmarkfile
{
node
-
bck
}
% overloads anch-pgr (experimental and undocumented)
231 232
\loadmarkfile
{
pack
-
cut
}
233 234
\loadmkxlfile
{
lang
-
mis
}
% LMTX
235
\loadmarkfile
{
lang
-
url
}
236
\loadmarkfile
{
lang
-
def
}
237 238
% \loadmkvifile{file-job} % why so late?
239 240
\loadmarkfile
{
symb
-
ini
}
% brrr depends on fonts
241 242
\loadmarkfile
{
sort
-
ini
}
243 244
\loadmkvifile
{
pack
-
mis
}
245
\loadmkxlfile
{
pack
-
ori
}
% LMTX
246
\loadmkxlfile
{
pack
-
rul
}
% LMTX
247
\loadmarkfile
{
pack
-
mrl
}
248
\loadmkvifile
{
pack
-
bck
}
249
\loadmarkfile
{
pack
-
fen
}
250 251
\loadmarkfile
{
lxml
-
ini
}
252
\loadmarkfile
{
lxml
-
sor
}
253 254
\loadmkvifile
{
typo
-
prc
}
255 256
% \loadmarkfile{anch-pos}
257 258
\loadmkvifile
{
strc
-
ini
}
259
\loadmarkfile
{
strc
-
tag
}
260
\loadmarkfile
{
strc
-
doc
}
261
\loadmarkfile
{
strc
-
num
}
262
\loadmarkfile
{
strc
-
mar
}
263
\loadmarkfile
{
strc
-
sbe
}
264
\loadmkvifile
{
strc
-
lst
}
265
\loadmarkfile
{
strc
-
sec
}
266
\loadmarkfile
{
strc
-
pag
}
% hm, depends on core-num
267
\loadmarkfile
{
strc
-
ren
}
268
\loadmarkfile
{
strc
-
xml
}
269
\loadmarkfile
{
strc
-
def
}
% might happen later
270
\loadmkvifile
{
strc
-
ref
}
271
%loadmarkfile{strc-reg}
272
\loadmkvifile
{
strc
-
lev
}
% experiment
273 274
\loadmarkfile
{
spac
-
hor
}
275
\loadmarkfile
{
spac
-
ali
}
276
\loadmarkfile
{
spac
-
flr
}
277
\loadmkxlfile
{
spac
-
ver
}
% LMTX beware, hooks into strc-sec
278
\loadmarkfile
{
spac
-
lin
}
279
\loadmarkfile
{
spac
-
pag
}
280
\loadmarkfile
{
spac
-
par
}
281
\loadmarkfile
{
spac
-
def
}
282
\loadmkvifile
{
spac
-
prf
}
283
\loadmarkfile
{
spac
-
grd
}
284 285
%loadmarkfile{anch-pos}
286 287
\loadmkvifile
{
scrn
-
ini
}
288
\loadmkvifile
{
scrn
-
ref
}
289 290
\loadmarkfile
{
pack
-
obj
}
291 292
\loadmklxfile
{
strc
-
itm
}
% LMTX
293 294
\loadmkvifile
{
strc
-
con
}
295
\loadmkvifile
{
strc
-
des
}
296
\loadmkvifile
{
strc
-
enu
}
297 298
\loadmarkfile
{
strc
-
ind
}
299
\loadmarkfile
{
strc
-
lab
}
300
\loadmarkfile
{
strc
-
syn
}
301 302
% \loadmarkfile{core-sys}
303 304
\loadmarkfile
{
page
-
var
}
305
\loadmkvifile
{
page
-
otr
}
306
\loadmarkfile
{
page
-
ini
}
307
\loadmarkfile
{
page
-
ins
}
308
\loadmarkfile
{
page
-
fac
}
309
\loadmarkfile
{
page
-
brk
}
310
\loadmarkfile
{
page
-
col
}
311
\loadmarkfile
{
page
-
inf
}
312
\loadmarkfile
{
page
-
flt
}
313
\loadmarkfile
{
page
-
bck
}
314
\loadmarkfile
{
page
-
not
}
315
\loadmarkfile
{
page
-
one
}
316
\loadmarkfile
{
page
-
lay
}
317
\loadmkvifile
{
page
-
box
}
318
\loadmklxfile
{
page
-
txt
}
% LMTX
319
\loadmarkfile
{
page
-
sid
}
% when
320 321
\loadmkvifile
{
strc
-
flt
}
322 323
\loadmarkfile
{
page
-
pst
}
324
\loadmkvifile
{
page
-
mbk
}
325
%loadmarkfile{page-mul} % \usecolumns[old-multicolumns]
326
\loadmarkfile
{
page
-
mix
}
327
\loadmarkfile
{
page
-
smp
}
328
%loadmarkfile{page-set} % \usecolumns[old-columnsets]
329
\loadmarkfile
{
page
-
cst
}
330
\loadmarkfile
{
page
-
pcl
}
% new
331
\loadmkxlfile
{
pack
-
lyr
}
% LMTX
332
\loadmarkfile
{
pack
-
pos
}
333
\loadmkvifile
{
page
-
mak
}
334 335
\loadmarkfile
{
strc
-
reg
}
% uses mixed columns
336 337
\loadmkvifile
{
page
-
lin
}
338
\loadmarkfile
{
page
-
par
}
339
\loadmarkfile
{
typo
-
pag
}
340
\loadmarkfile
{
typo
-
mar
}
341
\loadmarkfile
{
typo
-
itm
}
342 343
\loadmarkfile
{
buff
-
ini
}
344
\loadmkxlfile
{
buff
-
ver
}
% LMTX
345
\loadmkvifile
{
buff
-
par
}
346 347
\loadmarkfile
{
buff
-
imp
-
tex
}
% optional as also runtime if not loaded
348
\loadmarkfile
{
buff
-
imp
-
mp
}
% optional as also runtime if not loaded
349
\loadmarkfile
{
buff
-
imp
-
lua
}
% optional as also runtime if not loaded
350
\loadmarkfile
{
buff
-
imp
-
xml
}
% optional as also runtime if not loaded
351 352
\loadmarkfile
{
buff
-
imp
-
parsed
-
xml
}
% optional
353
%loadmarkfile{buff-imp-parsed-lua} % optional
354 355
\loadmarkfile
{
strc
-
blk
}
356 357
\loadmarkfile
{
page
-
imp
}
358
\loadmkvifile
{
page
-
sel
}
% optional
359
\loadmkvifile
{
page
-
inj
}
% optional
360 361
\loadmkvifile
{
scrn
-
pag
}
362
\loadmkvifile
{
scrn
-
wid
}
363
\loadmkvifile
{
scrn
-
but
}
364
\loadmkvifile
{
scrn
-
bar
}
365 366
\loadmarkfile
{
page
-
com
}
% optional (after scrn-pag)
367 368
\loadmarkfile
{
strc
-
bkm
}
% bookmarks
369 370
\loadmarkfile
{
java
-
ini
}
371 372
\loadmkvifile
{
scrn
-
fld
}
373
\loadmkvifile
{
scrn
-
hlp
}
374 375
\loadmarkfile
{
char
-
enc
}
% will move up
376 377
\loadmkvifile
{
font
-
lib
}
% way too late but after language
378
\loadmklxfile
{
font
-
fil
}
% LMTX
379
\loadmkvifile
{
font
-
var
}
380
\loadmkvifile
{
font
-
fea
}
381
\loadmklxfile
{
font
-
mat
}
% LMTX
382
\loadmklxfile
{
font
-
ini
}
% LMTX
383
\loadmklxfile
{
font
-
sym
}
% LMTX
384
\loadmklxfile
{
font
-
sty
}
% LMTX
385
\loadmkvifile
{
font
-
set
}
386
\loadmklxfile
{
font
-
emp
}
% LMTX
387
\loadmarkfile
{
font
-
pre
}
388
\loadmarkfile
{
font
-
unk
}
389
\loadmarkfile
{
font
-
tra
}
390
\loadmarkfile
{
font
-
chk
}
391
\loadmarkfile
{
font
-
uni
}
392
\loadmkvifile
{
font
-
col
}
393
\loadmkvifile
{
font
-
gds
}
394
\loadmkvifile
{
font
-
aux
}
395
\loadmkvifile
{
font
-
sel
}
396 397
\loadmarkfile
{
typo
-
tal
}
398
\loadmarkfile
{
typo
-
par
}
% par builders (uses fonts)
399 400
\loadmarkfile
{
tabl
-
com
}
401
\loadmarkfile
{
tabl
-
pln
}
402 403
\loadmarkfile
{
tabl
-
tab
}
% thrd-tab stripped and merged
404 405
\loadmkxlfile
{
tabl
-
tbl
}
% LMTX
406
\loadmkxlfile
{
tabl
-
ntb
}
% LMTX
407
\loadmarkfile
{
tabl
-
nte
}
408
\loadmarkfile
{
tabl
-
ltb
}
409
\loadmarkfile
{
tabl
-
frm
}
410
\loadmarkfile
{
tabl
-
tsp
}
411
\loadmkvifile
{
tabl
-
xtb
}
412
\loadmarkfile
{
tabl
-
mis
}
413 414
\loadmarkfile
{
typo
-
lan
}
415 416
\loadmarkfile
{
lxml
-
css
}
417 418
\loadmarkfile
{
spac
-
chr
}
% depends on fonts
419 420
\loadmarkfile
{
blob
-
ini
}
% not to be used, we only use a helper
421 422
\loadmarkfile
{
trac
-
vis
}
423
\loadmarkfile
{
trac
-
jus
}
424 425
\loadmarkfile
{
typo
-
cln
}
426
\loadmarkfile
{
typo
-
wrp
}
427
\loadmarkfile
{
typo
-
spa
}
428
\loadmarkfile
{
typo
-
krn
}
429
\loadmkvifile
{
typo
-
itc
}
430
\loadmarkfile
{
typo
-
dir
}
431
\loadmarkfile
{
typo
-
brk
}
432
\loadmarkfile
{
typo
-
cap
}
433
\loadmarkfile
{
typo
-
dig
}
434
\loadmarkfile
{
typo
-
rep
}
435
\loadmkvifile
{
typo
-
txt
}
436
\loadmarkfile
{
typo
-
drp
}
437
\loadmarkfile
{
typo
-
fln
}
438
\loadmarkfile
{
typo
-
sus
}
439
\loadmarkfile
{
typo
-
lig
}
440
\loadmarkfile
{
typo
-
chr
}
441
\loadmarkfile
{
typo
-
rub
}
442
\loadmkivfile
{
typo
-
fkr
}
443
\loadmkivfile
{
typo
-
pnc
}
444 445
\loadmklxfile
{
type
-
ini
}
% LMTX
446
\loadmarkfile
{
type
-
set
}
447 448
\loadmarkfile
{
scrp
-
ini
}
449 450
\loadmarkfile
{
symb
-
emj
}
451 452
\loadmarkfile
{
lang
-
wrd
}
% can be optional (discussion with mm sideeffect)
453
\loadmarkfile
{
lang
-
rep
}
% can be optional (bt 2013 side effect)
454 455
\loadmarkfile
{
prop
-
ini
}
% only for downward compatibility
456 457
\loadmkxlfile
{
mlib
-
ctx
}
% LMTX % messy order
458 459
\loadmkxlfile
{
meta
-
ini
}
% LMTX
460
\loadmarkfile
{
meta
-
tex
}
461
\loadmarkfile
{
meta
-
fun
}
462
\loadmkxlfile
{
meta
-
pag
}
463
\loadmarkfile
{
meta
-
grd
}
464
\loadmarkfile
{
meta
-
fnt
}
465
\loadmarkfile
{
meta
-
nod
}
466
\loadmarkfile
{
meta
-
lua
}
467
\loadmkxlfile
{
meta
-
mac
}
% LMTX
468 469
\loadmarkfile
{
page
-
mrk
}
% depends on mp
470 471
\loadmarkfile
{
page
-
flw
}
472
\loadmarkfile
{
page
-
spr
}
473
\loadmarkfile
{
page
-
plg
}
474
\loadmarkfile
{
page
-
str
}
475 476
\loadmarkfile
{
anch
-
pgr
}
% can be moved up (nicer for dependencies)
477
\loadmkvifile
{
anch
-
bck
}
478
\loadmarkfile
{
anch
-
tab
}
% overloads tabl-tbl
479
\loadmarkfile
{
anch
-
bar
}
480
%loadmarkfile{anch-snc} % when needed this one will be redone
481 482
\loadmkxlfile
{
math
-
ini
}
% way after font-pre !
483
\loadmarkfile
{
math
-
pln
}
484
\loadmarkfile
{
math
-
for
}
485
\loadmarkfile
{
math
-
def
}
% also saves some meanings
486
\loadmarkfile
{
math
-
ali
}
487
%loadmarkfile{math-arr}
488
\loadmkvifile
{
math
-
stc
}
489
\loadmarkfile
{
math
-
frc
}
490
\loadmarkfile
{
math
-
mis
}
491
\loadmarkfile
{
math
-
scr
}
492
\loadmarkfile
{
math
-
int
}
493
\loadmarkfile
{
math
-
del
}
494
\loadmarkfile
{
math
-
fen
}
495
\loadmkvifile
{
math
-
acc
}
496
\loadmkvifile
{
math
-
rad
}
497
\loadmarkfile
{
math
-
inl
}
498
\loadmarkfile
{
math
-
dis
}
499
%loadmarkfile{math-lan}
500 501
%loadmarkfile{phys-dim} % moved to after typo-scr
502 503
\loadmarkfile
{
strc
-
mat
}
504 505
\loadmarkfile
{
chem
-
ini
}
506
\loadmarkfile
{
chem
-
str
}
507 508
\loadmarkfile
{
typo
-
scr
}
509
\loadmarkfile
{
phys
-
dim
}
510 511
\loadmarkfile
{
node
-
rul
}
% beware, defined \underbar so after math
512
\loadmkvifile
{
font
-
sol
}
% font solutions
513 514
\loadmkvifile
{
strc
-
not
}
515
\loadmkvifile
{
strc
-
lnt
}
516
\loadmkivfile
{
strc
-
tnt
}
517
\loadmkivfile
{
strc
-
usr
}
518 519
\loadmarkfile
{
pack
-
com
}
520
\loadmarkfile
{
typo
-
del
}
521 522
\loadmarkfile
{
grph
-
trf
}
523
\loadmarkfile
{
grph
-
inc
}
524
\loadmarkfile
{
grph
-
fig
}
525
\loadmarkfile
{
grph
-
raw
}
526
\loadmarkfile
{
grph
-
rul
}
527
\loadmarkfile
{
grph
-
pat
}
528 529
\loadmarkfile
{
pack
-
box
}
530
\loadmarkfile
{
pack
-
bar
}
531
\loadmarkfile
{
page
-
app
}
532
\loadmarkfile
{
meta
-
fig
}
533 534
\loadmarkfile
{
page
-
ffl
}
535 536
\loadmarkfile
{
lang
-
spa
}
% will become obsolete
537 538
\loadmarkfile
{
typo
-
ovl
}
% fuzzy project (tracing) code
539 540
% old bibtex support: (will be m-oldbibtex.mkiv)
541 542
% \loadmarkfile{bibl-bib}
543
% \loadmarkfile{bibl-tra}
544 545
% new bibtex support:
546 547
\loadmarkfile
{
publ
-
ini
}
548
\loadmarkfile
{
publ
-
tra
}
549
\loadmarkfile
{
publ
-
xml
}
550
\loadmarkfile
{
publ
-
old
}
551 552
%loadmarkfile{x-xtag} % no longer preloaded
553 554
\loadmarkfile
{
meta
-
xml
}
555 556
\loadmarkfile
{
cont
-
log
}
557 558
% \loadmarkfile{task-ini}
559 560
\loadmarkfile
{
cldf
-
ver
}
% verbatim, this can come late
561
\loadmarkfile
{
cldf
-
com
}
% commands, this can come late
562 563
\loadmarkfile
{
core
-
ctx
}
% this order might change but we need to check depedencies / move to another namespace
564 565
\loadmarkfile
{
core
-
def
}
566 567
%usemodule[x][res-04] % xml resource libraries
568
%usemodule[x][res-08] % rlx runtime conversion
569
%usemodule[x][res-12] % rli external indentification
570 571
% now we hook in backend code (needs checking)
572 573
\loadmkxlfile
{
driv
-
shp
}
% LMTX
574 575
\loadmarkfile
{
back
-
exp
}
576
\loadmkxlfile
{
back
-
pdf
}
% LMTX
577
\loadmkxlfile
{
back
-
mps
}
% LMTX
578
\loadmkxlfile
{
back
-
lua
}
% LMTX
579 580
\loadmkxlfile
{
mlib
-
pdf
}
% LMTX
581
\loadmarkfile
{
mlib
-
pps
}
582
\loadmarkfile
{
meta
-
pdf
}
583
\loadmarkfile
{
meta
-
blb
}
584
\loadmarkfile
{
grph
-
epd
}
585 586
\loadmarkfile
{
math
-
inc
}
% an experiment
587
\loadmarkfile
{
publ
-
inc
}
% an experiment
588 589
\loadmarkfile
{
task
-
ini
}
590 591
\loadmarkfile
{
syst
-
cmp
}
% compatibility stuff moved here
592 593
\loadmkxlfile
{
libs
-
ini
}
594 595
\loadmarkfile
{
cont
-
run
}
% the main runner (used in cont-yes.mkiv)
596 597
\setupcurrentlanguage
[
\defaultlanguagetag
]
598 599
\prependtoks
600
\ctxlua{
statistics
.
starttiming
(
statistics
)
}
%
601
\to
\everyjob
602 603
\appendtoks
604
\ctxlua{
statistics
.
stoptiming
(
statistics
)
}
%
605
\to
\everyjob
606 607
% \appendtoks
608
% \ctxlua{job.prepare()}%
609
% \to \everyjob
610 611
% \appendtoks
612
% \enabletrackers[*]%
613
% \to \everyjob
614 615
\appendtoks
616
\ctxlua{
statistics
.
savefmtstatus
(
"
\jobname
"
,
"
\contextversion
"
,
"
context.mkxl
"
,
"
\contextkind
"
,
"
\contextbanner
"
)
}
% can become automatic
617
\to
\everydump
618 619
\errorstopmode
\dump
\endinput
620