% Context file
% Filename: Zflyer-10.tex
% Willi Egger
% 05-08-2010
% Copyright (c) 2010 BOEDE. All rights reserved.
\usemodule[folding]
\input figures-base-file
%\showframe
\setupheadertexts[\tfx Flyers]
\starttext
\showframe
\setvariables
	[Arranging]
	[Arrangement={ZFLYER-10},
	Pages=10,
	x=5,
	y=1]

\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