diff options
author | Hans Hagen <pragma@wxs.nl> | 2021-05-05 20:33:15 +0200 |
---|---|---|
committer | Context Git Mirror Bot <phg@phi-gamma.net> | 2021-05-05 20:33:15 +0200 |
commit | 52c91dd191d7bd30d41aaf259480ee862160a251 (patch) | |
tree | 7cdc9225b4d764377857bad57acdccd2d5178f85 /tex/context/base/mkxl/mlib-pps.lmt | |
parent | 6addefa380c1008fbc164890e8e95dd855a361c5 (diff) | |
download | context-52c91dd191d7bd30d41aaf259480ee862160a251.tar.gz |
2021-05-05 19:24:00
Diffstat (limited to 'tex/context/base/mkxl/mlib-pps.lmt')
-rw-r--r-- | tex/context/base/mkxl/mlib-pps.lmt | 8 |
1 files changed, 4 insertions, 4 deletions
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 |