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.
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to