From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/50731 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:57:55 +0200 Message-ID: <8B8740CF-2E7D-4AA2-8DB7-4D03BF0EA631@gmail.com> References: <68bfdc900905201825w1e8aee29ibd1ec946dd733b83@mail.gmail.com> <769ba7780905232112o48fad13fy9f03bee864be1bc5@mail.gmail.com> <024BA87B-9088-422C-8DD8-785655479EDA@gmail.com> <769ba7780905240146o6012ccb3rba2a389a6aaf47b1@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 1243155833 3210 80.91.229.12 (24 May 2009 09:03:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 24 May 2009 09:03:53 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun May 24 11:03:46 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 1M89c7-0003cj-E2 for gctc-ntg-context-518@m.gmane.org; Sun, 24 May 2009 11:03:27 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 96D8A1FEE3; Sun, 24 May 2009 11:03:26 +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 11052-06; Sun, 24 May 2009 11:02:53 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id ABC951FEB8; Sun, 24 May 2009 11:02:52 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 3E4A71FEB8 for ; Sun, 24 May 2009 11:02:50 +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 18731-02 for ; Sun, 24 May 2009 11:02:42 +0200 (CEST) Original-Received: from filter2-ams.mf.surf.net (filter2-ams.mf.surf.net [192.87.102.70]) by ronja.ntg.nl (Postfix) with ESMTP id 1D56A1FEA2 for ; Sun, 24 May 2009 11:02:42 +0200 (CEST) Original-Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.156]) by filter2-ams.mf.surf.net (8.13.8/8.13.8/Debian-3) with ESMTP id n4O92fHd030072 for ; Sun, 24 May 2009 11:02:41 +0200 Original-Received: by fg-out-1718.google.com with SMTP id e21so798477fga.8 for ; Sun, 24 May 2009 02:02:40 -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=4UwUKyriFE2fwrCTpo3BfxwtsMbz+zVow40jkxjCmes=; b=HCaHcq+BJfRdZ6YiI6UDPA/r9CEa+SFKk90v/kSmuvgCaSJLxj5ZvfiW4JVVjPjsyD OAGBZGT1gF571YRFbaJfFgp1EhnnrCTJTgNVude+O/vB1ykulRgQuA5U/GILJ13RCxBM HiMDo8CStqR9CeGJD2ItmJoyws0gFZ7054WDw= 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=Ng1rb+6oMR5gMMs/v+zrX0ipXNrlHa6bOTn+PCd8XCYyT6lMONtUonHCHgauChuytg 8PAttfVM4r3Kk1pd+XbBJ1j9kkKIfFljG+Vc8IGvHUNC4j8YT9lvkd9hirLY189jfrWC 9N/ij/NHq6B1HzJb287kyDdxz4bkQMnUiGQsM= Original-Received: by 10.86.68.1 with SMTP id q1mr4666571fga.10.1243155760671; Sun, 24 May 2009 02:02:40 -0700 (PDT) Original-Received: from ?10.40.13.8? ([82.113.121.144]) by mx.google.com with ESMTPS id d6sm8272638fga.27.2009.05.24.02.02.37 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 24 May 2009 02:02:40 -0700 (PDT) In-Reply-To: <769ba7780905240146o6012ccb3rba2a389a6aaf47b1@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.156; 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: 230581888 - 424244a0d131 - 20090524 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.70 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:50731 Archived-At: Am 24.05.2009 um 10:46 schrieb Zhichu Chen: >>> 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. > > Found it. Well, then it's just as easy as it sounds: This could be the better method for the background color (when the code is rewritten in a better style) but to change the textcolor you need my other code. 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 ___________________________________________________________________________________