From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/25999 Path: news.gmane.org!not-for-mail From: Taco Hoekwater Newsgroups: gmane.comp.tex.context Subject: Re: unic-037 Date: Thu, 16 Feb 2006 19:38:10 +0100 Message-ID: <43F4C692.4060705@elvenkind.com> References: <43F44AF4.2020002@comp.lancs.ac.uk> <43F48A16.4080203@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1140115346 772 80.91.229.2 (16 Feb 2006 18:42:26 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 16 Feb 2006 18:42:26 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Thu Feb 16 19:42:24 2006 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 ciao.gmane.org with esmtp (Exim 4.43) id 1F9o4q-0007tp-O5 for gctc-ntg-context-518@m.gmane.org; Thu, 16 Feb 2006 19:42:04 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 4E364127A1; Thu, 16 Feb 2006 19:42:04 +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 09628-02; Thu, 16 Feb 2006 19:42:03 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id ADD38127BF; Thu, 16 Feb 2006 19:38:19 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 330AB127BF for ; Thu, 16 Feb 2006 19:38:18 +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 09156-05-9 for ; Thu, 16 Feb 2006 19:38:17 +0100 (CET) Original-Received: from post-23.mail.nl.demon.net (post-23.mail.nl.demon.net [194.159.73.193]) by ronja.ntg.nl (Postfix) with SMTP id 40AB6127BE for ; Thu, 16 Feb 2006 19:38:17 +0100 (CET) Original-Received: from boo.demon.nl ([82.161.175.147]:36534 helo=[192.168.1.3]) by post-23.mail.nl.demon.net with esmtp (Exim 4.51) id 1F9o1A-0007SQ-90 for ntg-context@ntg.nl; Thu, 16 Feb 2006 18:38:17 +0000 User-Agent: Mozilla Thunderbird 1.0 (X11/20050215) X-Accept-Language: en-us, en Original-To: mailing list for ConTeXt users In-Reply-To: X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 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:25999 Archived-At: luigi scarso wrote: > 2) \ifcase\numexpr(#1+1)\or %% a trick to avoid #1=000 > seem to works , > \ifcase\numexpr(#1+0) %% > no > Why? I am not sure what you want and what exactly doesn't work, but it is better to use numexpr like this: \ifcase \numexpr #1+0\relax because the closing ) does not actually cause it to stop scanning forward (it stops in the first case because the \or cannot be part of \numexpr). Cheers, Taco