summaryrefslogtreecommitdiff
path: root/tex/context/base/mkiv/anch-pgr.mkiv
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/mkiv/anch-pgr.mkiv')
-rw-r--r--tex/context/base/mkiv/anch-pgr.mkiv6
1 files changed, 5 insertions, 1 deletions
diff --git a/tex/context/base/mkiv/anch-pgr.mkiv b/tex/context/base/mkiv/anch-pgr.mkiv
index 1a583142e..4a86671a4 100644
--- a/tex/context/base/mkiv/anch-pgr.mkiv
+++ b/tex/context/base/mkiv/anch-pgr.mkiv
@@ -16,7 +16,11 @@
%D Before we come to graphics support, we have to make sure of the reference point
%D on the page. The next macros do so and are hooked into the page building routine.
-\registerctxluafile{anch-pgr}{1.001}
+\doifelsefile {anch-pgr-new.lua} {
+ \registerctxluafile{anch-pgr-new}{1.001}
+} {
+ \registerctxluafile{anch-pgr}{1.001}
+}
\unprotect