summaryrefslogtreecommitdiff
path: root/tex/context/base/strc-lst.lua
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2014-07-25 12:57:00 +0200
committerHans Hagen <pragma@wxs.nl>2014-07-25 12:57:00 +0200
commit552aceb88e5e5e77a9263144180139a6ac95646c (patch)
tree33053ce46dd12e14505d457f42f29486f16890eb /tex/context/base/strc-lst.lua
parente80c75029084c0e8a80286f78150b5a2e320e63c (diff)
downloadcontext-552aceb88e5e5e77a9263144180139a6ac95646c.tar.gz
beta 2014.07.25 12:57
Diffstat (limited to 'tex/context/base/strc-lst.lua')
-rw-r--r--tex/context/base/strc-lst.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/tex/context/base/strc-lst.lua b/tex/context/base/strc-lst.lua
index 16160e273..6a2c07249 100644
--- a/tex/context/base/strc-lst.lua
+++ b/tex/context/base/strc-lst.lua
@@ -221,6 +221,8 @@ end
local enhanced = { }
+local synchronizepage = function(r) synchronizepage = references.synchronizepage return synchronizepage(r) end -- bah ... will move
+
function lists.enhance(n)
local l = cached[n]
if not l then
@@ -237,7 +239,7 @@ function lists.enhance(n)
-- save in the right order (happens at shipout)
lists.tobesaved[#lists.tobesaved+1] = l
-- default enhancer (cross referencing)
- references.realpage = texgetcount("realpageno")
+ synchronizepage(references)
-- tags
local kind = metadata.kind
local name = metadata.name