summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/context/base/mkxl/core-uti.mkxl
blob: b8d3bf7ebed9474003eb2d1a3baababa2233a376 (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
%D \module
%D   [       file=core-uti,
%D        version=1997.03.31, % 2006.09.19 mkiv
%D          title=\CONTEXT\ Core Macros,
%D       subtitle=Utility File Handling,
%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 / Utility File Handling}

\unprotect

\registerctxluafile{core-uti}{}

% savecurrentvalue#1#2% immediate, expanded, defined at lua end

\appendtoks
    \clf_setjobcomment
        file   {\jobname}%
        format {\contextformat}%
        stamp  {\contextversion}%
        escape {\!!bs\space...\space\!!es}%
    \relax
\to \everystarttext

\appendtoks
    \clf_initializejob
\to \everyjob

\protect \endinput