summaryrefslogtreecommitdiff
path: root/tex/context/base/page-plg.mkiv
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/page-plg.mkiv')
-rw-r--r--tex/context/base/page-plg.mkiv12
1 files changed, 7 insertions, 5 deletions
diff --git a/tex/context/base/page-plg.mkiv b/tex/context/base/page-plg.mkiv
index 83c3e77f1..d008dfb1d 100644
--- a/tex/context/base/page-plg.mkiv
+++ b/tex/context/base/page-plg.mkiv
@@ -5,7 +5,7 @@
%D subtitle=Page Setup,
%D author=Hans Hagen,
%D date=\currentdate,
-%D copyright=PRAGMA-ADE]
+%D copyright={PRAGMA ADE \& \CONTEXT\ Development Team}]
%C
%C This module is part of the \CONTEXT\ macro||package and is
%C therefore copyrighted by \PRAGMA. See mreadme.pdf for
@@ -110,7 +110,7 @@
\unprotect
-\setvalue{\??ly\c!method\v!makeup}#1#2%
+\def\constructmakeuppagecontent#1#2%
{\setbox\pagebox\hbox
{\vbox to \textheight
{\offinterlineskip
@@ -137,6 +137,9 @@
\ht\pagebox\paperheight
\dp\pagebox\zeropoint}
+\installlayoutalternative\v!makeup
+ {\constructmakeuppagecontent}
+
\newbox\pageareabox
\def\pagearea
@@ -183,12 +186,11 @@
\box\pageareabox
\fi}
+% to be done nicely (proper namespacing)
+
\setvalue{\??ly\c!method:\v!leftpage }{\getvalue{\??ly\c!method:\v!page}}
\setvalue{\??ly\c!method:\v!rightpage}{\getvalue{\??ly\c!method:\v!page}}
-% \long\unexpanded\def\startpagelayout[#1]#2\stoppagelayout
-% {\long\setvalue{\??ly\c!method:#1}{#2}}
-
\long\unexpanded\def\startpagelayout
{\bgroup\catcode\endoflineasciicode\ignorecatcode\dostartpagelayout}