summaryrefslogtreecommitdiff
path: root/tex/context/base/mkiv/libs-imp-zint.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/mkiv/libs-imp-zint.lua')
-rw-r--r--tex/context/base/mkiv/libs-imp-zint.lua15
1 files changed, 14 insertions, 1 deletions
diff --git a/tex/context/base/mkiv/libs-imp-zint.lua b/tex/context/base/mkiv/libs-imp-zint.lua
index eef2cd605..2c346ae7d 100644
--- a/tex/context/base/mkiv/libs-imp-zint.lua
+++ b/tex/context/base/mkiv/libs-imp-zint.lua
@@ -78,7 +78,7 @@ local shown = false
----- f_rectangle = string.formatters["%sofill unitsquare xysized (%N,%N) shifted (%N,%N);"]
-function zint.execute(specification)
+local function execute(specification)
if okay() then
local code = specification.code
local text = specification.text
@@ -146,3 +146,16 @@ function zint.execute(specification)
end
end
end
+
+optional.loaded.zint = { execute = execute }
+
+interfaces.implement {
+ name = "zint",
+ actions = execute,
+ arguments = {
+ {
+ { "code" },
+ { "text" },
+ }
+ }
+}