summaryrefslogtreecommitdiff
path: root/tex/context/base/mult-cld.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/mult-cld.lua')
-rw-r--r--tex/context/base/mult-cld.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/tex/context/base/mult-cld.lua b/tex/context/base/mult-cld.lua
index 2ff0568c1..373300d69 100644
--- a/tex/context/base/mult-cld.lua
+++ b/tex/context/base/mult-cld.lua
@@ -345,6 +345,8 @@ function context.direct(first,...)
end
end
+-- todo: use flush directly
+
function context.char(k) -- todo: if catcode == letter or other then just the utf
if type(k) == "table" then
for i=1,#k do
@@ -355,6 +357,10 @@ function context.char(k) -- todo: if catcode == letter or other then just the ut
end
end
+function context.utfchar(k)
+ context(utfchar(k))
+end
+
function context.chardef(cs,u)
context(format([[\chardef\%s=%s\relax]],k))
end