summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/context/base/mkiv/page-box.mkvi
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/context/base/mkiv/page-box.mkvi')
-rw-r--r--Master/texmf-dist/tex/context/base/mkiv/page-box.mkvi23
1 files changed, 6 insertions, 17 deletions
diff --git a/Master/texmf-dist/tex/context/base/mkiv/page-box.mkvi b/Master/texmf-dist/tex/context/base/mkiv/page-box.mkvi
index 10d5916319f..083a94390e5 100644
--- a/Master/texmf-dist/tex/context/base/mkiv/page-box.mkvi
+++ b/Master/texmf-dist/tex/context/base/mkiv/page-box.mkvi
@@ -15,7 +15,7 @@
\unprotect
-%D The often two step approach (_indeed) saves skipping tokens
+%D The often two step approach (_indeed) saves skippign tokens
%D which is nicer for tracing.
%D Centering the paper area on the print area is determined
@@ -251,25 +251,14 @@
\def\page_boxes_apply_offsets#1%
{\setbox#1\vpack to \paperheight
{\hsize\paperwidth
- \vkern\topspace
-% \parfillskip\zeropoint
- \hkern\doifbothsides\backspace\backspace{\dimexpr\paperwidth-\backspace-\makeupwidth\relax}%
+ \vskip\topspace
+ \doifbothsides
+ {\hskip\backspace}
+ {\hskip\backspace}
+ {\hskip\dimexpr\paperwidth-\backspace-\makeupwidth\relax}%
\box#1}%
\dp#1\zeropoint}
-% \def\page_boxes_apply_offset#box%
-% {\scratchwidth \wd#box%
-% \scratchheight\ht#box%
-% \scratchdepth \dp#box%
-% \setbox#box\vpack
-% {\offinterlineskip
-% \vkern\topoffset
-% \hkern\doifbothsides\backoffset\backoffset{-\backoffset}%
-% \box#box}%
-% \wd#box\scratchwidth
-% \ht#box\scratchheight
-% \dp#box\scratchdepth}
-
% \let\page_boxes_apply_clip_paper \gobbleoneargument
% \let\page_boxes_apply_clip_print_left \gobbleoneargument
% \let\page_boxes_apply_clip_print_right\gobbleoneargument