Hello,


Here is my problem:


\setuplayout[%
    width=0.75\paperwidth,
    height=\dimexpr\paperheight-1.2\paperwidth+1.2\textwidth+26mm]

\definelayout[luxury][%
    width=0.6667\paperwidth,
    height=\dimexpr\paperheight-1.2\paperwidth+1.2\textwidth+26mm]


\starttext

- textwidth: \the\textwidth \crlf
- textheight: \the\textheight
\page

\setuplayout[luxury]

- textwidth: \the\textwidth \crlf
- textheight: \the\textheight % <-- The height (\texteight parameter) which depends on the width (\textwidth parameter) in my ‘luxury’ layout has NOT changed though the local width (\textwidth parameter) has changed. Therefore height used the global parameter \textwidth (defined in setuplayout) instead of the local parameter \textwidth (defined in definelayout[luxury]). Question: how to use the local one?

\stoptext


Best regards.