> then use
>
> \dimexpr\measure{w2}\relax
It works, thank you.
___
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/listinf
On 11/19/2013 11:20 AM, Géry Ogam wrote:
> \definemeasure[h1][1.2\measured{w1}+26mm]
\definemeasure[h2][1.2\measured{w2}+26mm]
then use
\dimexpr\measure{w2}\relax
\measured gives me this error (/Undefined control sequence/):
old context
Hans
> \definemeasure[h1][1.2\measured{w1}+26mm]
> \definemeasure[h2][1.2\measured{w2}+26mm]
\measured gives me this error (*Undefined control sequence*):
*\17>>h1 ^^@-1.2\measured*
* {w1}+26mm*
*\measure ...sname \csname \??measure #1\endcsname*
*
On 11/18/2013 11:29 PM, Géry Ogam wrote:
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\textwid
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\textwi