summaryrefslogtreecommitdiff
path: root/tex/context/base/pack-bck.mkvi
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/base/pack-bck.mkvi')
-rw-r--r--tex/context/base/pack-bck.mkvi10
1 files changed, 5 insertions, 5 deletions
diff --git a/tex/context/base/pack-bck.mkvi b/tex/context/base/pack-bck.mkvi
index 200495719..c783a17d8 100644
--- a/tex/context/base/pack-bck.mkvi
+++ b/tex/context/base/pack-bck.mkvi
@@ -118,8 +118,8 @@
\scratchdimen\textheight
\backgroundsplitmode\plusone % split to max height
\else
- \setbox0\vbox{\backgroundparameter\c!before}%
- \scratchdimen\dimexpr\pagegoal-\ht0-\pagetotal\relax
+ \setbox2\vbox{\backgroundparameter\c!before}%
+ \scratchdimen\dimexpr\pagegoal-\ht2-\pagetotal\relax
\backgroundsplitmode\plustwo % split to partial height
\fi
\advance\scratchdimen\dimexpr-\backgroundparameter\c!topoffset-\backgroundparameter\c!bottomoffset\relax
@@ -145,9 +145,9 @@
\fi
\startlinecorrection
\ifnum\backgroundsplitmode=\plusthree
- \hskip\dimen2
- \fi %
- \inheritedbackgroundframed{\box2}% new **
+ \hskip\dimen2 % new **
+ \fi
+ \inheritedbackgroundframed{\box2}%
\stoplinecorrection
\ifcase\backgroundsplitmode % no split
\backgroundparameter\c!after