From 9d2ad7dea5c20379f6679c57c3b16752b1af445a Mon Sep 17 00:00:00 2001 From: Hans Hagen Date: Tue, 19 Oct 2021 00:16:55 +0200 Subject: 2021-10-18 23:13:00 --- tex/context/base/mkxl/grph-rul.lmt | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) (limited to 'tex/context/base/mkxl/grph-rul.lmt') diff --git a/tex/context/base/mkxl/grph-rul.lmt b/tex/context/base/mkxl/grph-rul.lmt index d8da5f760..50a40155e 100644 --- a/tex/context/base/mkxl/grph-rul.lmt +++ b/tex/context/base/mkxl/grph-rul.lmt @@ -29,17 +29,14 @@ local a_colormodel = attributes.private('colormodel') local floor = math.floor local getrandom = utilities.randomizer.get -do - - local function unsupported() end - - ruleactions.mp = unsupported - ruleactions.fill = unsupported - ruleactions.draw = unsupported - ruleactions.stroke = unsupported - ruleactions.box = unsupported - -end +updaters.register("backends.injections.latebindings",function() + local codeinjections = backends.codeinjections + ruleactions.mp = codeinjections.ruleactionmp + ruleactions.fill = codeinjections.ruleactionfill + ruleactions.draw = codeinjections.ruleactiondraw + ruleactions.stroke = codeinjections.ruleactionstroke + ruleactions.box = codeinjections.ruleactionbox +end) interfaces.implement { name = "frule", -- cgit v1.2.3