diff options
Diffstat (limited to 'Master/texmf-dist/tex/context/base/core-uti.mkiv')
-rw-r--r-- | Master/texmf-dist/tex/context/base/core-uti.mkiv | 39 |
1 files changed, 9 insertions, 30 deletions
diff --git a/Master/texmf-dist/tex/context/base/core-uti.mkiv b/Master/texmf-dist/tex/context/base/core-uti.mkiv index 6b2dae2c9c9..46a1e398af1 100644 --- a/Master/texmf-dist/tex/context/base/core-uti.mkiv +++ b/Master/texmf-dist/tex/context/base/core-uti.mkiv @@ -18,19 +18,7 @@ \registerctxluafile{core-uti}{1.001} \def\savecurrentvalue#1#2% - {\ctxlua{jobvariables.save("\strippedcsname#1","#2")}} - -\appendtoks - \ctxlua{storage.dump()}% will move to lua -\to \everydump - -\appendtoks - \ctxlua{storage.finalize()}% will move to lua -\to \everyfinalizeluacode - -\appendtoks - \ctxlua{nodes.cleanup_reserved()}% will move to lua -\to \everydump + {\ctxlua{job.variables.save("\strippedcsname#1","#2")}} \appendtoks \ctxlua { @@ -38,29 +26,20 @@ job.comment("format: \contextformat") job.comment("stamp: \contextversion") job.comment("escape: \!!bs\space...\space\!!es") - job.initialize("\jobname.tuc","\jobname.tua") }% \to \everystarttext -\def\notuccompression{\ctxlua{job.pack=false}} - -% cleaner, for the moment +\appendtoks + \ctxlua { + job.initialize("\jobname.tuc","\jobname.tua") + }% +\to \everyjob -% \appendtoks -% \ctxlua { -% os.remove("\jobname.tui") -% os.remove("\jobname.tuo") -% }% -% \to \everystarttext +\def\notuccompression{\ctxlua{job.pack=false}} %D Some styles might use these use these commands: -\newif \ifutilitydone -\let \checkutilities \relax -\let \currentutilityfilename \jobname -\def \installprogram {\dosingleempty\doinstallprogram} -\def \doinstallprogram [#1]{\gobbleoneargument} -\def \installedprogram [#1]{} -\let \installplugin \gobblethreearguments +\def\installprogram {\dosingleempty\doinstallprogram} +\def\doinstallprogram[#1]{\gobbleoneargument} \protect \endinput |