% Context file
% Filename: 2*8.tex
% Willi Egger
% 11-01-2010
% Copyright (c) 2010 BOEDE. All rights reserved.

\input figures-base-file
%\showframe

\starttext
\showframe
\setvariables
	[Arranging]
	[Arrangement={2*8},
	Pages=16,
	x=4,
	y=2]

\definepageshift[Vert][vertical]
    [1.5mm, %1
    1.25mm, %2
    0.75mm, %3
    1.0mm,  %4
    1.0mm,  %5
    0.75mm, %6
    1.25mm, %7
    1.5mm,  %8
    1.5mm,  %9
    1.25mm, %10
    0.75mm, %11
    1.0mm,  %12
    1.0mm,  %13
    0.75mm, %14
    1.25mm, %15
    1.5mm]  %16


\setuppageshift[paper][Vert]
\setuparranging[\getvariable{Arranging}{Arrangement}]
\definepapersize[Printpaper][width=\dimexpr37mm*\getvariable{Arranging}{x}+32mm,height=\dimexpr52mm*\getvariable{Arranging}{y}+32mm]
\setuppapersize[A9][Printpaper]	
\dorecurse{\getvariable{Arranging}{Pages}}{\getbuffer[Fakepage]\page}
\stoptext