summaryrefslogtreecommitdiff
path: root/tex/context/base/mkxl/spac-ali.lmt
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/mkxl/spac-ali.lmt')
-rw-r--r--tex/context/base/mkxl/spac-ali.lmt3
1 files changed, 2 insertions, 1 deletions
diff --git a/tex/context/base/mkxl/spac-ali.lmt b/tex/context/base/mkxl/spac-ali.lmt
index 02aaf9efd..05b517d3d 100644
--- a/tex/context/base/mkxl/spac-ali.lmt
+++ b/tex/context/base/mkxl/spac-ali.lmt
@@ -31,6 +31,7 @@ local nextlist = nuts.traversers.list
local new_stretch = nuts.pool.stretch
local a_realign = attributes.private("realign")
+local c_realpageno = tex.iscount("realpageno")
local texsetattribute = tex.setattribute
local texgetcount = tex.getcount
@@ -103,7 +104,7 @@ local function handler(head,leftpage,realpageno)
end
function alignments.handler(head)
- return handler(head,isleftpage(),texgetcount("realpageno"))
+ return handler(head,isleftpage(),texgetcount(c_realpageno))
end
local enabled = false