From 52c91dd191d7bd30d41aaf259480ee862160a251 Mon Sep 17 00:00:00 2001 From: Hans Hagen Date: Wed, 5 May 2021 20:33:15 +0200 Subject: 2021-05-05 19:24:00 --- tex/context/base/mkxl/mlib-pps.lmt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tex/context/base/mkxl/mlib-pps.lmt') diff --git a/tex/context/base/mkxl/mlib-pps.lmt b/tex/context/base/mkxl/mlib-pps.lmt index 01e0dbfcf..0d6beee00 100644 --- a/tex/context/base/mkxl/mlib-pps.lmt +++ b/tex/context/base/mkxl/mlib-pps.lmt @@ -28,7 +28,7 @@ local mpscannumeric = scan.numeric local injecttriplet = inject.triplet -local registerscript = metapost.registerscript +local registerdirect = metapost.registerdirect local implement = interfaces.implement local setmacro = interfaces.setmacro @@ -568,7 +568,7 @@ local function checkaskedfig(askedfig) -- return askedfig, wrappit end -- This one is called from the \TEX\ end so the specification is different --- from the specification to metapost,run cum suis! The definitions and +-- from the specification to metapost.run cum suis! The definitions and -- extension used to be handled here but are now delegated to the format -- initializers because we need to accumulate them for nested instances (a -- side effect of going single pass). @@ -866,8 +866,8 @@ local tx_reset, tx_process do mf_some_text(index,madetext,catcodes.numbers.ctxcatcodes) -- btex/etex .. end - registerscript("sometextext", function() mf_some_text(mpscannumeric(),mpscanstring(),mpscannumeric()) end) - registerscript("madetextext", function() mf_made_text(mpscannumeric()) end) + registerdirect("sometextext", function() mf_some_text(mpscannumeric(),mpscanstring(),mpscannumeric()) end) + registerdirect("madetextext", function() mf_made_text(mpscannumeric()) end) -- a label can be anything, also something mp doesn't like in strings -- so we return an index instead -- cgit v1.2.3