summaryrefslogtreecommitdiff
path: root/tex/context/base/core-ctx.mkiv
blob: 0595d0897ca1066118cc45c24a4a1e418f005c5d (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
%D \module
%D   [       file=core-ctx,
%D        version=2006.08.16, % old stuff
%D          title=\CONTEXT\ Core Macros,
%D       subtitle=Job Control,
%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.

\writestatus{loading}{ConTeXt Core Macros / Job Control}

\unprotect

\setnewconstant\preprocessmethod\plustwo % always check in mkiv

\registerctxluafile{core-ctx}{1.000}

\def\loadctxpreplist{\ctxcommand{loadctxpreplist()}\global\let\loadctxpreplist\relax}

% \prependtoks\loadctxpreplist\to\everyjob

\appendtoks\loadctxpreplist\to\everystarttext % maybe too late but don't change it now

\protect \endinput