summaryrefslogtreecommitdiff
path: root/tex/context/base/pack-bck.mkvi
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2012-01-05 19:27:31 +0100
committerHans Hagen <pragma@wxs.nl>2012-01-05 19:27:31 +0100
commitc8c810ca291b4731d2c6952b7095a551c365f0da (patch)
treefc184f3df4834ba545268dc3d3e9c409c570a444 /tex/context/base/pack-bck.mkvi
parent3c6f642365d2b780f86500135904c0a902f37ebf (diff)
downloadcontext-c8c810ca291b4731d2c6952b7095a551c365f0da.tar.gz
beta 2011.11.23 16:20
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