
\setupoutput[pdftex]
\mainlanguage[nl]


% \definepapersize[MyPaper][height=18cm, width=12cm]
% \setuppapersize[MyPaper][A3,landscape]

% \setuparranging[2*16]	%section: one sheet 2 x 16 pages = 32 pages
% \setuparranging[2*8]	%section: one sheet 2 x 8 pages = 16 pages
% \setuparranging[2*4]	%section: one sheet 2 x 4 pages = 8 pages
% \setuparranging[2*2]	%section: one sheet 2 x 2 pages = 4 pages
% \setuparranging[2**2]	%section: one sheet 2 x 2 pages = 4 pages
% \setuparranging[2SIDE]	%2 pages next to each other single sided only!
% \setuparranging[2TOP]		%2 pages above each other, single sided only!
% \setuparranging[2UP]		%2 pages next to each other, n sheets arranged for a single booklet!
% \setuparranging[2DOWN]	%2 pages above each other,  n sheets arranged for a single booklet!
% \setuparranging[2TOPSIDE]	%two odd pages on one side, two even pages verso, above each other
% \setuparranging[2*4*2]	%section of 16 pages: 2 sheets, 4 pages front and backside
% \setuparranging[2*2*4] 	%section of 16 pages: 4 sheets, 2 pages front and backside
% \setuparranging[XY]		%one sheet with x rows and y columns
% 	

\setupbodyfont[ss,10pt]

\setuppapersize [A7][A4] 
\setuparranging [2*2*4,doublesided] 
\setuppagenumbering [alternative=doublesided,location=footer] %alternative=doublesided,
\setuplayout [margin=0pt,width=fit] 
\setupbackgrounds [text][text][background=screen,backgroundscreen=0.7] 
\setupcolors [state=start] 
\setuplayout [location=middle,marking=on]
\setuptolerance [tolerant] 

\def\Style{[2*2*4,doublesided]}


\startbuffer[Fakepage]
	\strut
	\blank
	\midaligned{\Style}
	\vfill
	\midaligned{This is page \recurselevel}
	\vfill
\stopbuffer

\setupheadertexts[Context meeting Epen 2007]

\starttext
% \showframe
\dorecurse{16}{\getbuffer[Fakepage]\page}

\stoptext
