summaryrefslogtreecommitdiff
path: root/tex/context/base/mkxl/page-box.mklx
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/mkxl/page-box.mklx')
-rw-r--r--tex/context/base/mkxl/page-box.mklx10
1 files changed, 5 insertions, 5 deletions
diff --git a/tex/context/base/mkxl/page-box.mklx b/tex/context/base/mkxl/page-box.mklx
index 1cd668e95..3d78e73d8 100644
--- a/tex/context/base/mkxl/page-box.mklx
+++ b/tex/context/base/mkxl/page-box.mklx
@@ -205,8 +205,8 @@
\scratchheight\ht#box%
\scratchdepth \dp#box%
\setbox#box\hpack
- {\advance\scratchheight\dimexpr\scratchdepth+2\scratchoffset\relax
- \advance\scratchwidth \scratchoffset
+ {\advanceby\scratchheight\dimexpr\scratchdepth+2\scratchoffset\relax
+ \advanceby\scratchwidth \scratchoffset
\ifconditional#right\relax
\scratchdimen-\scratchoffset
\kern\scratchdimen
@@ -237,10 +237,10 @@
\scratchheight\ht#box%
\scratchdepth \dp#box%
\setbox#box\hpack
- {\advance\scratchheight\dimexpr\scratchdepth+2\scratchoffset\relax
- \advance\scratchwidth \scratchoffset
+ {\advanceby\scratchheight\dimexpr\scratchdepth+2\scratchoffset\relax
+ \advanceby\scratchwidth \scratchoffset
\doifbothsides
- {\advance\scratchwidth\scratchoffset
+ {\advanceby\scratchwidth\scratchoffset
\scratchdimen-\scratchoffset
\kern\scratchdimen}%
{\scratchdimen\zeropoint}