13 Dec
2011
13 Dec
'11
4:26 p.m.
Hi all, would someone please enlighten me. What is the correct usage of \definelayout? \definelayout[default][width=middle,height=middle,header=0pt,footer=0pt] % \setuplayout[default] % needed? \definelayout[first] [default][header=2cm] \definelayout[unknown][default]%[reset] % \definelayout[2] [default]%[reset] \definelayout[last] [default][footer=2cm] \starttext \showframe % \checkcurrentlayout %% Variant A: fails with \default[unknown] first\page unknown=(2)\page \page unknown=(3)\page last %% Variant B: fails with \definelayout[2] % first\page unknown=(2)=last \stoptext By the way the output differs with the latest beta in comparison with the latest experimental. Regards Andreas