From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/68850 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: unusual behaviour of \if(x) Date: Wed, 1 Jun 2011 16:09:02 +0200 Message-ID: <583B4BA0-6BD1-493D-9C7B-1E3ECE8962A8@googlemail.com> References: <4DE644F6.5070107@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1306937747 15900 80.91.229.12 (1 Jun 2011 14:15:47 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 1 Jun 2011 14:15:47 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Jun 01 16:15:43 2011 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QRmD1-0002xC-F5 for gctc-ntg-context-518@m.gmane.org; Wed, 01 Jun 2011 16:15:43 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 9F5E4CAD6A; Wed, 1 Jun 2011 16:15:42 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id t5xL-m2PX4hm; Wed, 1 Jun 2011 16:15:39 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 93A94CAD57; Wed, 1 Jun 2011 16:15:39 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 7D315CAD57 for ; Wed, 1 Jun 2011 16:15:38 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id jgSpOPrYQR-3 for ; Wed, 1 Jun 2011 16:15:36 +0200 (CEST) Original-Received: from filter3-nij.mf.surf.net (filter3-nij.mf.surf.net [195.169.124.154]) by balder.ntg.nl (Postfix) with ESMTP id 2384BCAD55 for ; Wed, 1 Jun 2011 16:15:36 +0200 (CEST) Original-Received: from mail-fx0-f41.google.com (mail-fx0-f41.google.com [209.85.161.41]) by filter3-nij.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p51EFYcM031853 for ; Wed, 1 Jun 2011 16:15:35 +0200 Original-Received: by fxm18 with SMTP id 18so102102fxm.14 for ; Wed, 01 Jun 2011 07:15:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:content-type:mime-version:subject:from :in-reply-to:date:content-transfer-encoding:message-id:references:to :x-mailer; bh=chffDtMj4fn62MYfc4VCHDOcZzgGeRzc9r89Sm4S2EU=; b=hcJRsgX3+q0d8/W/Y9LpGSXuuUrPVdgjnFwLAd9rX3/Dxgr3pGF3he0Ycs9sj/aR4x vqHlU2zIr1fb304BHSyiEAs1Wd9wNQanzrcIfjs6eAdg4fogK4u1semzer8xdNqc4pFA Q1V0Beei1YoS+GW5i63bptNzr8WkC9I64Z9OU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; b=eSc0XBTUocLSYx2MUrXt4LfGH825IIdyqLoiwf0Z+g3lFSQUSWgslBJIlI2MUcZkI4 3p9BiVCX62qhOPwJPSQwXk+9O2KvloseAM5cK8CgbhRgdyBRK1J1XXxaeJPKYOIQtVEs 3WpPmMFMk6ku43oAOLLZUYCMG32vNLrHKjYog= Original-Received: by 10.204.82.1 with SMTP id z1mr6789751bkk.150.1306937346386; Wed, 01 Jun 2011 07:09:06 -0700 (PDT) Original-Received: from [192.168.2.34] (p5B0EFF6E.dip.t-dialin.net [91.14.255.110]) by mx.google.com with ESMTPS id t23sm891600bkf.4.2011.06.01.07.09.04 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 01 Jun 2011 07:09:05 -0700 (PDT) In-Reply-To: X-Mailer: Apple Mail (2.1084) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.161.41; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0dEOCfzaW - 8c21e1188e02 - 20110601 X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.154 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:68850 Archived-At: Am 01.06.2011 um 16:01 schrieb luigi scarso: > no, --- infact I've said "this works", not "it's the only solution" or > " it's the perfect solution". > \ifcsname... > looks a bit strange if I'm working with \newif . And he=92s cheating because he tests only the existence of the \ifabc comma= nd. It=92s easier to understand with the \ifdefined: \ifx\hbox\undefined \newif\ifabc \abcfalse \ifdefined\ifabc =85 \else =85 \fi \fi Wolfgang ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________