From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/78482 Path: news.gmane.org!not-for-mail From: Troy Henderson Newsgroups: gmane.comp.tex.context Subject: Conditionals Date: Fri, 28 Sep 2012 19:31:32 -0500 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0027559307==" X-Trace: ger.gmane.org 1348878703 27343 80.91.229.3 (29 Sep 2012 00:31:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 29 Sep 2012 00:31:43 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Sep 29 02:31:47 2012 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1THkyA-0005jT-Qq for gctc-ntg-context-518@m.gmane.org; Sat, 29 Sep 2012 02:31:46 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 0D88B10202; Sat, 29 Sep 2012 02:31:41 +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 8MozP-cbEYI5; Sat, 29 Sep 2012 02:31:38 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 0D177101F4; Sat, 29 Sep 2012 02:31:38 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 425E9101F4 for ; Sat, 29 Sep 2012 02:31:36 +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 wjoVr3I5Dn+5 for ; Sat, 29 Sep 2012 02:31:35 +0200 (CEST) Original-Received: from filter3-ams.mf.surf.net (filter3-ams.mf.surf.net [192.87.102.71]) by balder.ntg.nl (Postfix) with ESMTP id 1DEBB101EC for ; Sat, 29 Sep 2012 02:31:35 +0200 (CEST) Original-Received: from mail-ob0-f169.google.com (mail-ob0-f169.google.com [209.85.214.169]) by filter3-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q8T0VXhx028236 for ; Sat, 29 Sep 2012 02:31:34 +0200 Original-Received: by obcva7 with SMTP id va7so4376742obc.14 for ; Fri, 28 Sep 2012 17:31:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=+nsInDe1xnThPb74UEnmaxAmfWG8W5WrK6rsAOeMXyk=; b=risqZUEYjGbyxcPeHqJQJdNXHvTvlQY5ZkYHR7/lAoziMXBGrVI3nygIV9cZdqT7t1 zeBHUIOLhdGKEkS1L9QxKDByzNy/mfe6ZEHRgtsCK9Ua5U6ZmogwW/5NokQ4E0SABvho kxaHFMAecuX1aVInd4YXP8qR2w36/8K98jBOczKb/+kg7fL9SxO5oTJmz5E5w9BO7B9h MHWa0sjHjBlKRU0N9BBaT/xbnhSAYjTzrcOJyoBIeEX0bIVbAM4i38kj+4cPEykKFgRM 6P6raDKaO4I/5Lqg7729zw72ZWy9N9m/gNhLrg6dOM2SNPsRw/JYYl4o3aFrhPEXwX7B 9cxA== Original-Received: by 10.182.177.99 with SMTP id cp3mr6922922obc.92.1348878692917; Fri, 28 Sep 2012 17:31:32 -0700 (PDT) Original-Received: by 10.76.172.199 with HTTP; Fri, 28 Sep 2012 17:31:32 -0700 (PDT) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.214.169; 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: 03I4Mvxqg - 80af90b49cbc - 20120929 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.71 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:78482 Archived-At: --===============0027559307== Content-Type: multipart/alternative; boundary=e89a8f838d9d5623f804cacc4bb0 --e89a8f838d9d5623f804cacc4bb0 Content-Type: text/plain; charset=ISO-8859-1 I have a list of numbers, 2, 6, 7, 8, 12, 14, 18, 20, 186, 188, 316, 318, 354, 372, 376 that I would like to use as exceptions in a \dostepwiserecurse loop. That is, within the loop if \recurselevel is NOT EQUAL to either of these numbers, then I want to do something -- otherwise, I simply increment \recurselevel. I would appreciate an example of how to do this. Thanks, Troy Henderson --e89a8f838d9d5623f804cacc4bb0 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I have a list of numbers,

2, 6, 7, 8, 12, 14, 18, 20, 186, 188, 316,= 318, 354, 372, 376

that I would like to use as exceptions in a \dos= tepwiserecurse loop.=A0 That is, within the loop if \recurselevel is NOT EQ= UAL to either of these numbers, then I want to do something -- otherwise, I= simply increment \recurselevel.

I would appreciate an example of how to do this.

Thanks,

= Troy Henderson
--e89a8f838d9d5623f804cacc4bb0-- --===============0027559307== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --===============0027559307==--