diff options
Diffstat (limited to 'Master/texmf-dist/tex/context/modules/mkiv/x-asciimath.mkiv')
-rw-r--r-- | Master/texmf-dist/tex/context/modules/mkiv/x-asciimath.mkiv | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/context/modules/mkiv/x-asciimath.mkiv b/Master/texmf-dist/tex/context/modules/mkiv/x-asciimath.mkiv index 1b0567dbd0a..32eaf2af213 100644 --- a/Master/texmf-dist/tex/context/modules/mkiv/x-asciimath.mkiv +++ b/Master/texmf-dist/tex/context/modules/mkiv/x-asciimath.mkiv @@ -182,6 +182,23 @@ {\the\everyasciimath \clf_justasciimath{\detokenize\expandafter{\normalexpanded{#1}}}}} +% \unexpanded\def\xmlasciimath +% {\clf_xmlasciimath} + +\unexpanded\def\xmlasciimath + {\doifnextoptionalelse\xmlasciimath_yes\xmlasciimath_nop} + +\def\xmlasciimath_yes[#1]#2% + {\mathematics + [#1]% + {\the\everyasciimath% + \clf_xmlasciimath{#2}}} + +\def\xmlasciimath_nop#1% + {\mathematics + {\the\everyasciimath + \clf_xmlasciimath{#1}}} + \unexpanded\def\ctxmoduleasciimath#1% {\ctxlua{moduledata.asciimath.#1}} |