diff options
author | Hans Hagen <pragma@wxs.nl> | 2003-01-28 00:00:00 +0100 |
---|---|---|
committer | Hans Hagen <pragma@wxs.nl> | 2003-01-28 00:00:00 +0100 |
commit | e65a436deb332118831156075846acc80fb9d386 (patch) | |
tree | 361145fb042743a584c6bb7accc12e6e902088c6 /tex/context/base/page-imp.tex | |
parent | 8de3b8a6a820ba65fe85f0cb83700b6282e61d71 (diff) | |
download | context-e65a436deb332118831156075846acc80fb9d386.tar.gz |
stable 2003.01.28
Diffstat (limited to 'tex/context/base/page-imp.tex')
-rw-r--r-- | tex/context/base/page-imp.tex | 22 |
1 files changed, 17 insertions, 5 deletions
diff --git a/tex/context/base/page-imp.tex b/tex/context/base/page-imp.tex index cff58acf5..1ea17741a 100644 --- a/tex/context/base/page-imp.tex +++ b/tex/context/base/page-imp.tex @@ -315,14 +315,26 @@ {\dosetuparrangement{2}{1}{8}{3}{2}% \pusharrangedpageSIXTEENFOUR\poparrangedpagesAtoH\relax} +% \def\filluparrangedpages % beware: \realpageno is 1 ahead +% {\ifarrangingpages +% \scratchcounter-\realpageno +% \divide\scratchcounter \arrangedpageT +% \multiply\scratchcounter \arrangedpageT +% \advance\scratchcounter \realpageno +% \advance\scratchcounter \minusone +% \dorecurse\scratchcounter{\noheaderandfooterlines\ejectdummypage}% +% \fi} + \def\filluparrangedpages % beware: \realpageno is 1 ahead {\ifarrangingpages - \scratchcounter-\realpageno - \divide\scratchcounter \arrangedpageT - \multiply\scratchcounter \arrangedpageT - \advance\scratchcounter \realpageno + \scratchcounter\realpageno \advance\scratchcounter \minusone - \dorecurse\scratchcounter{\noheaderandfooterlines\ejectdummypage}% + \dosetmodulo\scratchcounter\arrangedpageT\scratchcounter + \ifcase\scratchcounter\else + \advance\scratchcounter \plusone + \dostepwiserecurse\scratchcounter\arrangedpageT\plusone + {\noheaderandfooterlines\ejectdummypage}% + \fi \fi} \def\handlearrangedpageXandY#1#2#3#4#5% |