core-uti.mkiv /size: 912 b    last modification: 2020-07-01 14:35
1%D \module
2%D   [       file=core-uti,
3%D        version=1997.03.31, % 2006.09.19 mkiv
4%D          title=\CONTEXT\ Core Macros,
5%D       subtitle=Utility File Handling,
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 Core Macros / Utility File Handling}
15
16\unprotect
17
18\registerctxluafile{core-uti}{}
19
20\def\savecurrentvalue#1#2% immediate, so not \unexpanded
21  {\clf_savevariable{\csstring#1}{#2}}
22
23\appendtoks
24    \clf_setjobcomment
25        file   {\jobname}%
26        format {\contextformat}%
27        stamp  {\contextversion}%
28        escape {\!!bs\space...\space\!!es}%
29    \relax
30\to \everystarttext
31
32\appendtoks
33    \clf_initializejob
34\to \everyjob
35
36\protect \endinput
37