![](https://secure.gravatar.com/avatar/1f1420d2f042c8497d63406a4033a676.jpg?s=120&d=mm&r=g)
Hi, It doesn't work with the width=fit and width=middle options... %\definelayout[mylayout][backspace=4cm,width=11cm] %\definelayout[mylayout][backspace=4cm,width=9cm] \definelayout[mylayout][backspace=5cm,cutspace=7cm,width=fit] %\definelayout[mylayout][backspace=3cm,width=middle] \setuplayout[mylayout] \starttext \doifdimensionelse{\namedlayoutparameter{mylayout}{width}} {\ifdim\namedlayoutparameter{mylayout}{width}>10cm width > 10cm \else width < 10cm \fi} {\processaction [\namedlayoutparameter{mylayout}{width}] [fit=>fit, middle=>middle, unknown=>unknown width]} \stoptext ---------------------------------------------------------- width=fit -> ! Missing number, treated as zero. <to be read again> f \@@lymylayoutwidth ->f it \doifdimensionelse ...mensionelse \scratchdimen #1 pt\relax l.11 ...se{\namedlayoutparameter{mylayout}{width}} ---------------------------------------------------------- width=middle -> ! Missing number, treated as zero. <to be read again> m \@@lymylayoutwidth ->m iddle \doifdimensionelse ...mensionelse \scratchdimen #1 pt\relax l.11 ...se{\namedlayoutparameter{mylayout}{width}} ---------------------------------------------------------- Best, Alan