![](https://secure.gravatar.com/avatar/1f1420d2f042c8497d63406a4033a676.jpg?s=120&d=mm&r=g)
14 Nov
2008
14 Nov
'08
7:06 a.m.
On Thu, Nov 13, 2008 at 9:48 PM, Wolfgang Schuster < schuster.wolfgang@googlemail.com> wrote:
Am 13.11.2008 um 20:52 schrieb Alan STONE:
Hi,
With \definelayout[myLayout][...], how do you test whether one of its parameters has a certain value, is greater than 0, etc... ?
\definelayout [mylayout] [backspace=3cm, width=12cm]
\starttext
\doifdimensionelse{\namedlayoutparameter{mylayout}{width}} % width could be 'fit' {\ifdim\namedlayoutparameter{mylayout}{width}<10cm ... \else ... \fi}
{\processaction [\namedlayoutparameter{mylayout}{width}] [fit=>..., unknown=>...]}
Re: http://wiki.contextgarden.net/System_Macros/Action_Processing What is 'fit' ? \stoptext
Wolfgang
Alan