From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/50729 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: two newbie questions (about conditional processing) Date: Sun, 24 May 2009 10:00:39 +0200 Message-ID: <024BA87B-9088-422C-8DD8-785655479EDA@gmail.com> References: <68bfdc900905201825w1e8aee29ibd1ec946dd733b83@mail.gmail.com> <769ba7780905232112o48fad13fy9f03bee864be1bc5@mail.gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v935.3) Content-Type: text/plain; charset="us-ascii"; Format="flowed"; DelSp="yes" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1243152146 28444 80.91.229.12 (24 May 2009 08:02:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 24 May 2009 08:02:26 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun May 24 10:02:18 2009 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 1M88ej-0007Lu-99 for gctc-ntg-context-518@m.gmane.org; Sun, 24 May 2009 10:02:05 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id BCCBB1FEF1; Sun, 24 May 2009 10:02:04 +0200 (CEST) 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 05350-09; Sun, 24 May 2009 10:01:20 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id DD4DE1FEB1; Sun, 24 May 2009 10:01:19 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 7221E1FEB1 for ; Sun, 24 May 2009 10:01:16 +0200 (CEST) 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 04467-07 for ; Sun, 24 May 2009 10:01:08 +0200 (CEST) Original-Received: from filter2-til.mf.surf.net (filter2-til.mf.surf.net [194.171.167.218]) by ronja.ntg.nl (Postfix) with ESMTP id D80FD1FE91 for ; Sun, 24 May 2009 10:01:07 +0200 (CEST) Original-Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.152]) by filter2-til.mf.surf.net (8.13.8/8.13.8/Debian-3) with ESMTP id n4O815ax019442 for ; Sun, 24 May 2009 10:01:07 +0200 Original-Received: by fg-out-1718.google.com with SMTP id e21so793696fga.8 for ; Sun, 24 May 2009 01:01:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to :in-reply-to:content-type:content-transfer-encoding:mime-version :subject:date:references:x-mailer; bh=07vZfEspYj2sL/q2lFNrAzUGhdq1Ii57JNiwLDQF7Ec=; b=q8rJRkigiH25bveAHJOWo7/wa78ohNcTQRBkQQn6eAtKykc8RTjOXpAEEga/RfN9LK nQoXEWBsZNTpfMNcr4eEwXkgfAzVKYP4XYIwkqSfxd1pqvwpP7LD3lc8PAnhiU2MHjCL I1RmSaxdq483WX9GNxaFa3SQVFmBYtEJDbG4A= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:from:to:in-reply-to:content-type :content-transfer-encoding:mime-version:subject:date:references :x-mailer; b=pm5v1AG8uMgMJp5uY8wIF8NjGHaWqVmb/n/LSdtk7V7uoJ3bgCuIFhrJh/sUdXh1Es O0aDwVuW0r82yE8trspYaddDketvoGKZ26GbmLkV94Iq/CVXFv78TU3TDiwKfAT0/hTV OpUmu+kcRxtBbt8HBxwGxZuOtUWW1GkdMZ174= Original-Received: by 10.86.91.13 with SMTP id o13mr4597206fgb.7.1243152065668; Sun, 24 May 2009 01:01:05 -0700 (PDT) Original-Received: from ?10.66.26.13? ([82.113.106.81]) by mx.google.com with ESMTPS id d4sm8177328fga.24.2009.05.24.01.01.02 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 24 May 2009 01:01:04 -0700 (PDT) In-Reply-To: <769ba7780905232112o48fad13fy9f03bee864be1bc5@mail.gmail.com> X-Mailer: Apple Mail (2.935.3) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=72.14.220.152; 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: 230570128 - 43f891180060 - 20090524 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.218 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.11 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:50729 Archived-At: Am 24.05.2009 um 06:12 schrieb Zhichu Chen: > As you said before, in my problem, this kind of handler could break > something > like hyper-links, and I assume Yue wanted those kind of stuffs. I don't think this is a problem for this example because the page dimension are always the same while in the code for you the real and the calculated coordinates are different. > Maybe just a \start(stop)setups which changes the background back to > normal > and \prependtoks it to some token list. So is there an \everypage or > \everyshipout > token? Then using \setuphead (I don't know if it's appropriate) or > \appendtoks to every title page. I posted a code to enable/disable the backgroundcolor for certain pages not so long ago, take a look in the mail archive. Wolfgang ___________________________________________________________________________________ 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 ___________________________________________________________________________________