Re: [NTG-context] description fails on \if

2008-03-27 Thread Wolfgang Schuster
On Wed, Mar 26, 2008 at 9:23 PM, Hans van der Meer [EMAIL PROTECTED] wrote: Wolfgang, From your observation I am inclined to guess that the \ifx falls prey to the collection of arguments. The \relax can be replaced by an extra pair {} behind the description: \answerblock{}{}% also typesets

Re: [NTG-context] description fails on \if

2008-03-26 Thread Wolfgang Schuster
On Tue, Mar 25, 2008 at 8:38 PM, Hans van der Meer [EMAIL PROTECTED] wrote: There is the following problem on code that did work around july 2007, but no longer under the current context version (2008-03-11). Define a description, I did: \definedescription[answerblock][%

Re: [NTG-context] description fails on \if

2008-03-26 Thread Hans van der Meer
Wolfgang, From your observation I am inclined to guess that the \ifx falls prey to the collection of arguments. The \relax can be replaced by an extra pair {} behind the description: \answerblock{}{}% also typesets without the if-error. I more or less conclude that the lookahead from

Re: [NTG-context] description fails on \if

2008-03-26 Thread Hans Hagen
Hans van der Meer wrote: After some detective work in which Wolfgang Schuster had a large share and has found the most elegant workaround, the addition of a \relax just after the description call prevents the error: \def\shortanswer#1\par{% \par % be sure to end paragraph here

Re: [NTG-context] description fails on \if

2008-03-26 Thread Hans Hagen
Hans van der Meer wrote: I more or less conclude that the lookahead from \dodoublegroupempty does not stop on the \if. If I remember correctly, that behaviour is to be expected from tex and the prospects for solving it generically within the format bleak. If Hans Hagen is listening, can

[NTG-context] description fails on \if

2008-03-25 Thread Hans van der Meer
There is the following problem on code that did work around july 2007, but no longer under the current context version (2008-03-11). Define a description, I did: \definedescription[answerblock][% \c!margin=\v!no,\c!location=\v!left,%