summaryrefslogtreecommitdiff
path: root/tex/context/base/core-pos.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/core-pos.lua')
-rw-r--r--tex/context/base/core-pos.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/tex/context/base/core-pos.lua b/tex/context/base/core-pos.lua
index b1235a0dc..3bfb89a82 100644
--- a/tex/context/base/core-pos.lua
+++ b/tex/context/base/core-pos.lua
@@ -85,10 +85,10 @@ end
function job.MPplus(id,n,default)
local jpi = positions[id]
- texprint((jpi and jpi[n]) or default)
+ texprint((jpi and jpi[6+n]) or default)
end
function job.MPrest(id,default)
local jpi = positions[id]
- texprint((jpi and jpi[8]) or default) -- was 7, bugged
+ texprint((jpi and jpi[7] and concat(jpi,",",7,#jpi)) or default)
end