summaryrefslogtreecommitdiff
path: root/tex/context/base/anch-pgr.lua
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/anch-pgr.lua')
-rw-r--r--tex/context/base/anch-pgr.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/tex/context/base/anch-pgr.lua b/tex/context/base/anch-pgr.lua
index 278448e3a..c7f56a92b 100644
--- a/tex/context/base/anch-pgr.lua
+++ b/tex/context/base/anch-pgr.lua
@@ -681,12 +681,12 @@ end
function commands.doifelserangeonpage(first,last,page)
local collected = jobpositions.collected
local f = collected[first]
- if not f then
+ if not f or f.p == true then
doifelse(false)
return
end
local l = collected[last]
- if not l then
+ if not l or l.p == true then
doifelse(false)
return
end