summaryrefslogtreecommitdiff
path: root/tex/context/base/mkxl/page-plg.mkxl
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/mkxl/page-plg.mkxl')
-rw-r--r--tex/context/base/mkxl/page-plg.mkxl10
1 files changed, 7 insertions, 3 deletions
diff --git a/tex/context/base/mkxl/page-plg.mkxl b/tex/context/base/mkxl/page-plg.mkxl
index 10cc1447b..7671a39c4 100644
--- a/tex/context/base/mkxl/page-plg.mkxl
+++ b/tex/context/base/mkxl/page-plg.mkxl
@@ -111,6 +111,8 @@
\unprotect
+\startcontextdefinitioncode
+
\installcorenamespace{layoutmakeupalternative}
\def\page_boxes_construct_content_makeup#1#2#3% targetbox flusher box
@@ -196,8 +198,8 @@
% to be done nicely (proper namespacing)
-\setvalue{\??layoutmakeupalternative\v!leftpage }{\csname\??layoutmakeupalternative\v!page\endcsname}
-\setvalue{\??layoutmakeupalternative\v!rightpage}{\csname\??layoutmakeupalternative\v!page\endcsname}
+\defcsname\??layoutmakeupalternative\v!leftpage \endcsname{\csname\??layoutmakeupalternative\v!page\endcsname}
+\defcsname\??layoutmakeupalternative\v!rightpage\endcsname{\csname\??layoutmakeupalternative\v!page\endcsname}
\permanent\protected\def\startpagelayout
{\bgroup
@@ -208,6 +210,8 @@
\def\page_layouts_start_layout[#1]#2\stoppagelayout
{\egroup
- \setvalue{\??layoutmakeupalternative#1}{#2}}
+ \defcsname\??layoutmakeupalternative#1\endcsname{#2}}
+
+\stopcontextdefinitioncode
\protect \endinput