diff options
author | Hans Hagen <pragma@wxs.nl> | 2021-10-19 00:16:55 +0200 |
---|---|---|
committer | Context Git Mirror Bot <phg@phi-gamma.net> | 2021-10-19 00:16:55 +0200 |
commit | 9d2ad7dea5c20379f6679c57c3b16752b1af445a (patch) | |
tree | 45f39853be982c52f7386b968cf4f15f1f70ccce /tex/context/base/mkxl/grph-rul.lmt | |
parent | 6ca88e6f1f15cea89db047839c3126a501f39eea (diff) | |
download | context-9d2ad7dea5c20379f6679c57c3b16752b1af445a.tar.gz |
2021-10-18 23:13:00
Diffstat (limited to 'tex/context/base/mkxl/grph-rul.lmt')
-rw-r--r-- | tex/context/base/mkxl/grph-rul.lmt | 19 |
1 files changed, 8 insertions, 11 deletions
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", |