From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/39691 Path: news.gmane.org!not-for-mail From: Hans van der Meer Newsgroups: gmane.comp.tex.context Subject: Re: description fails on \if Date: Wed, 26 Mar 2008 21:23:37 +0100 Message-ID: References: <115224fb0803260032s54798150y3a2b7fb6ca2d1d6e@mail.gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v919.2) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1206563142 10452 80.91.229.12 (26 Mar 2008 20:25:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 26 Mar 2008 20:25:42 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Mar 26 21:26:11 2008 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1JecCB-0001IK-AL for gctc-ntg-context-518@m.gmane.org; Wed, 26 Mar 2008 21:26:03 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 05B491FBAC; Wed, 26 Mar 2008 21:25:25 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 05666-01-2; Wed, 26 Mar 2008 21:24:45 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 6213E1FBBE; Wed, 26 Mar 2008 21:24:45 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 725561FBBE for ; Wed, 26 Mar 2008 21:24:43 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 02076-05-15 for ; Wed, 26 Mar 2008 21:24:05 +0100 (CET) Original-Received: from smtp-vbr16.xs4all.nl (smtp-vbr16.xs4all.nl [194.109.24.36]) by ronja.ntg.nl (Postfix) with ESMTP id A95F81FBB8 for ; Wed, 26 Mar 2008 21:24:05 +0100 (CET) Original-Received: from [192.168.1.78] (a82-95-102-36.adsl.xs4all.nl [82.95.102.36]) (authenticated bits=0) by smtp-vbr16.xs4all.nl (8.13.8/8.13.8) with ESMTP id m2QKO4Kw094673 for ; Wed, 26 Mar 2008 21:24:05 +0100 (CET) (envelope-from hansm@science.uva.nl) In-Reply-To: <115224fb0803260032s54798150y3a2b7fb6ca2d1d6e@mail.gmail.com> X-Mailer: Apple Mail (2.919.2) X-Virus-Scanned: by XS4ALL Virus Scanner X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:39691 Archived-At: 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 \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 he comment on this? Hans van der Meer On 26 mrt 2008, at 08:32, Wolfgang Schuster wrote: >> >> Allthough Wolfgang's workaround saves the day, I feel this problem >> deserves solving inside ConTeXt, not outside it. Someday somewhere >> another person will stumble on the same problem -- a situation that >> can and should be avoided, in my view. >> Therefore I explain the problem here as fully as possible hoping >> someone knowledgeable with descriptions <> to Taco or Hans>> will find the best remedy. > > I would say the message comes from \dodoublegroupempty in > \@@description. ___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________