diff options
Diffstat (limited to 'Master/texmf-dist/tex/context/base/page-mak.tex')
-rw-r--r-- | Master/texmf-dist/tex/context/base/page-mak.tex | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/context/base/page-mak.tex b/Master/texmf-dist/tex/context/base/page-mak.tex index a6e5a66fd0a..807d77fc07f 100644 --- a/Master/texmf-dist/tex/context/base/page-mak.tex +++ b/Master/texmf-dist/tex/context/base/page-mak.tex @@ -127,9 +127,10 @@ \setupmakeuplayout \makeupparameter\c!commands % hm, what is this one doing here ? \startregistercolor[\makeupparameter\c!color]% + \forgetall % else indented flush \global\setbox\makeupbox\vbox to \makeupparameter\c!height \bgroup - \forgetall +% \forgetall \setups[\makeupparameter\c!setups]% \hsize\makeupparameter\c!width \doifsomething{\makeupparameter\c!align} @@ -141,7 +142,7 @@ \makeupparameter\c!bottom \egroup \flushmarks % new, here, else empty pages -\stopregistercolor + \stopregistercolor \doflushmakeup \egroup \calculatehsizes @@ -166,13 +167,20 @@ \def\doshipoutmakeup {\globalpushmacro\@@pnstate % new \makeupparameter\c!before - \vbox{\hbox{\color[\makeupparameter\c!color]{\box\makeupbox}}}% + \setbox\makeupbox\vbox{\hbox{\color[\makeupparameter\c!color]{\box\makeupbox}}}% + % \ifgridsnapping + % new per 22/6/2006 + \ifdim\ht\makeupbox>\vsize + \ht\makeupbox\vsize + \fi + % \fi + \box\makeupbox \setuppagenumber[\c!state=\makeupparameter\c!pagestate]% \setupmakeuplayout \page \makeupparameter\c!after \relax % voor fi - \ifdubbelzijdig \ifodd\realpageno\else + \ifdoublesided \ifodd\realpageno\else \processaction [\makeupparameter\c!doublesided] [ \v!yes=>\null |