From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/14716 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: numexpr in etex / bug ? Date: Thu, 12 Feb 2004 21:26:51 +0100 Sender: ntg-context-admin@ntg.nl Message-ID: <6.0.1.1.2.20040212212012.01f5eb20@server-1> Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Trace: sea.gmane.org 1076666363 1150 80.91.224.253 (13 Feb 2004 09:59:23 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 13 Feb 2004 09:59:23 +0000 (UTC) Cc: Fabrice Popineau Original-X-From: ntg-context-admin@ntg.nl Fri Feb 13 10:59:15 2004 Return-path: Original-Received: from ref.vet.uu.nl ([131.211.172.13] helo=ref.ntg.nl) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1Ara6N-00027Y-00 for ; Fri, 13 Feb 2004 10:59:15 +0100 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id 23A9310B21; Fri, 13 Feb 2004 10:57:37 +0100 (MET) Original-Received: from mail.solcon.nl (mail.solcon.nl [212.45.33.11]) by ref.ntg.nl (Postfix) with ESMTP id 163B110B04 for ; Fri, 13 Feb 2004 10:56:23 +0100 (MET) Original-Received: from server-1.pragma-net.nl (dsl-212-84-128-085.solcon.nl [212.84.128.85]) by mail.solcon.nl (8.12.10/SQL-8.12.10-1/8.12.5) with ESMTP id i1D9vsDA013509; Fri, 13 Feb 2004 10:57:55 +0100 Original-Received: by server-1.pragma-net.nl (Postfix, from userid 65534) id CA1902F077; Fri, 13 Feb 2004 10:57:56 +0100 (CET) Original-Received: from laptop-3.wxs.nl (unknown [10.100.1.191]) by server-1.pragma-net.nl (Postfix) with ESMTP id 9CD4A179E3; Fri, 13 Feb 2004 09:57:53 +0000 (UTC) X-Sender: hagen-mail@server-1 X-Mailer: QUALCOMM Windows Eudora Version 6.0.1.1 Original-To: ntg-context@ntg.nl X-AntiVirus: checked by Vexira Milter 1.0.6; VAE 6.23.0.4; VDF 6.23.0.67 Errors-To: ntg-context-admin@ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.0.13 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.comp.tex.context:14716 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:14716 Hi, A numexpr either ends with a \relax or is delimited by () So, the following works as expected: \number\numexpr(1) test but ... the following gives an error message: \number\numexpr(1) /test so, the expr parser looks beyond the ) which is rather strange; bug or feature? (those expr are behaving a bit strange anyway) Hans PS. for those using etex primitives, recently i ran into a bug in \lastnodetype (resulting in incorrect return values or funny side effects), this is already corrected (by fabrice/olaf) in the yet to come versions. ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE/POD/CTS Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com ------------------------------------------------------------------------- information: http://www.pragma-ade.com/roadmap.pdf documentation: http://www.pragma-ade.com/showcase.pdf -------------------------------------------------------------------------