diff options
Diffstat (limited to 'Master/texmf-dist/tex/context/base/x-asciimath.mkiv')
-rw-r--r-- | Master/texmf-dist/tex/context/base/x-asciimath.mkiv | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/context/base/x-asciimath.mkiv b/Master/texmf-dist/tex/context/base/x-asciimath.mkiv index c9252408d83..fac3980a089 100644 --- a/Master/texmf-dist/tex/context/base/x-asciimath.mkiv +++ b/Master/texmf-dist/tex/context/base/x-asciimath.mkiv @@ -13,7 +13,9 @@ %D Lua code. -\ctxloadluafile{x-asciimath}{} +\registerctxluafile{x-asciimath}{} + +\def\ctxmoduleasciimath#1{\directlua\zerocount{moduledata.asciimath.#1}} %D The following code is not officially supported and is only meant %D for the Math4All project. @@ -62,13 +64,13 @@ \writestatus{asciimath}{beware, this is an experimental (m4all only) module} -\unexpanded\def\asciimath#1{\ctxlua{asciimath.convert(\!!bs\detokenize{#1}\!!es,true)}} +\unexpanded\def\asciimath#1{\ctxmoduleasciimath{convert(\!!bs\detokenize{#1}\!!es,true)}} \protect \doifnotmode{demo}{\endinput} -\enabletrackers[asciimath.mapping] +\enabletrackers[modules.asciimath.mapping] \starttext |