summaryrefslogtreecommitdiff
path: root/tex/context/base/mkiv/math-noa.lua
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2018-02-14 16:43:07 +0100
committerContext Git Mirror Bot <phg42.2a@gmail.com>2018-02-14 16:43:07 +0100
commit71e0f049996013abcbfd549b516e594e019fb744 (patch)
treee3197e97a576cbe2e5353e04132a5b28f6d8179e /tex/context/base/mkiv/math-noa.lua
parente005748401471273a119724acf5e1567f2a04eee (diff)
downloadcontext-71e0f049996013abcbfd549b516e594e019fb744.tar.gz
2018-02-14 16:27:00
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)