summaryrefslogtreecommitdiff
path: root/tex/context/base/mkiv/math-noa.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/mkiv/math-noa.lua')
-rw-r--r--tex/context/base/mkiv/math-noa.lua6
1 files changed, 4 insertions, 2 deletions
diff --git a/tex/context/base/mkiv/math-noa.lua b/tex/context/base/mkiv/math-noa.lua
index a00c94a52..4c1997a64 100644
--- a/tex/context/base/mkiv/math-noa.lua
+++ b/tex/context/base/mkiv/math-noa.lua
@@ -1116,8 +1116,8 @@ do
if list and next(list) then
local n, t = 0, { }
for k, v in sortedhash(list) do
- n = n + v
- t[#t+1] = formatters["%C"](k)
+ n = n + 1
+ t[n] = formatters["%C"](k)
end
return formatters["% t (n=%s)"](t,n)
end
@@ -1472,10 +1472,12 @@ do
end
setattr(pointer,a_mathitalics,correction)
setattr(parent,a_mathitalics,correction)
+ return -- so no reset later on
end
end
end
end
+ setattr(pointer,a_mathitalics,unsetvalue)
end
function handlers.italics(head,style,penalties)