summaryrefslogtreecommitdiff
path: root/tex/context/base/x-asciimath.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/x-asciimath.lua')
-rw-r--r--tex/context/base/x-asciimath.lua8
1 files changed, 7 insertions, 1 deletions
diff --git a/tex/context/base/x-asciimath.lua b/tex/context/base/x-asciimath.lua
index c9c787d84..4d29e8d31 100644
--- a/tex/context/base/x-asciimath.lua
+++ b/tex/context/base/x-asciimath.lua
@@ -29,6 +29,8 @@ local asciimath = { }
local moduledata = moduledata or { }
moduledata.asciimath = asciimath
+local implement = interfaces.implement
+
if not characters then
require("char-def")
require("char-ini")
@@ -1794,7 +1796,11 @@ local function convert(str)
end
end
-commands.asciimath = convert
+implement {
+ name = "asciimath", -- module_asciimath_convert
+ actions = convert,
+ arguments = "string"
+}
local context = context