summaryrefslogtreecommitdiff
path: root/tex/context/base/mkxl/cldf-lmt.lmt
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/mkxl/cldf-lmt.lmt')
-rw-r--r--tex/context/base/mkxl/cldf-lmt.lmt18
1 files changed, 18 insertions, 0 deletions
diff --git a/tex/context/base/mkxl/cldf-lmt.lmt b/tex/context/base/mkxl/cldf-lmt.lmt
index e6c046763..aba3dacda 100644
--- a/tex/context/base/mkxl/cldf-lmt.lmt
+++ b/tex/context/base/mkxl/cldf-lmt.lmt
@@ -1024,3 +1024,21 @@ do
}
end
+
+-- for now here:
+
+do
+
+ local runstring = tex.runstring
+ local ctxcatcodes = tex.ctxcatcodes
+ local formatters = string.formatters
+
+ function context.runstring(fmt,str,...)
+ if str then
+ runstring(ctxcatcodes,formatters[fmt](str,...))
+ elseif fmt then
+ runstring(ctxcatcodes,fmt)
+ end
+ end
+
+end