From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/50722 Path: news.gmane.org!not-for-mail From: Yue Wang Newsgroups: gmane.comp.tex.context Subject: Re: two newbie questions (about conditional processing) Date: Sun, 24 May 2009 00:17:22 +0800 Message-ID: <68bfdc900905230917g11f0314fmdf548db4d454a21@mail.gmail.com> References: <68bfdc900905201825w1e8aee29ibd1ec946dd733b83@mail.gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1243095514 18750 80.91.229.12 (23 May 2009 16:18:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 23 May 2009 16:18:34 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat May 23 18:18:27 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 1M7tvS-00007z-Tf for gctc-ntg-context-518@m.gmane.org; Sat, 23 May 2009 18:18:23 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 14E551FEA6; Sat, 23 May 2009 18:18:22 +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 12510-08-5; Sat, 23 May 2009 18:17:41 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 1042D1FEA8; Sat, 23 May 2009 18:17:41 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 7C2B71FEA6 for ; Sat, 23 May 2009 18:17:39 +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 21933-01 for ; Sat, 23 May 2009 18:17:25 +0200 (CEST) Original-Received: from filter3-til.mf.surf.net (filter3-til.mf.surf.net [194.171.167.219]) by ronja.ntg.nl (Postfix) with ESMTP id 08F921FEAB for ; Sat, 23 May 2009 18:17:24 +0200 (CEST) Original-Received: from qw-out-1920.google.com (qw-out-1920.google.com [74.125.92.145]) by filter3-til.mf.surf.net (8.13.8/8.13.8/Debian-3) with ESMTP id n4NGHMVH022066 for ; Sat, 23 May 2009 18:17:23 +0200 Original-Received: by qw-out-1920.google.com with SMTP id 5so1486101qwc.38 for ; Sat, 23 May 2009 09:17:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=qKYTRKM7KicoM7Ic+f3Ulo5S9G81SO5Bi5YYHPtPmhM=; b=N1gU7BZYTRKdyAx/U3vp1bGwqNC5X9vKjaBdT+zfu69o8sU+/jItLz+OFzfDtjrBJF o2PRivxPJ+8mWtm51m6BvjfUPbBSpLc/KocAKMBJ5Q+gvRKVCAKBNr9BKmVfGFg6YwSW 6ik0RzQdjuHp8e62gPvydxyYYC3RCyRiJFooA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=vwhaE8jBd43k2nA8CfnX85lH/bP0c3SFGDpPvY0wRAp/zYdjhN/lBQjHUdCHf67RRW VtQXOgvPcLisSUUjTDcuGbRrw6GiomFTa13SI5xr8tJ9eI9qb19AvECbwWab8/+nTcO8 MNdj4MVOwnTuOCxaG7a8ViJ7yd8bGGD3VV9+w= Original-Received: by 10.229.81.144 with SMTP id x16mr1679511qck.69.1243095442256; Sat, 23 May 2009 09:17:22 -0700 (PDT) In-Reply-To: <68bfdc900905201825w1e8aee29ibd1ec946dd733b83@mail.gmail.com> X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=74.125.92.145; 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: 230409904 - 1a50100d0a33 - 20090523 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.219 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:50722 Archived-At: anyone can help? thanks. On Thu, May 21, 2009 at 9:25 AM, Yue Wang wrote: > Hi, > > I have a new book to design, but I don't know how to do page/content > conditional processing). Please help me:) > > - I want my chapter page (first page of each chapter) to be really > distinctive. that is, I define a dark color background, and want all > the text on the first page set in white. how can I do that? for > example > \chapter{hello} > \dorecurse{10}{\input zapf } % all the characters in the first page > should white, others should set in black. > > - I want to insert graphics and images. all the graphics are inserted > using \placeexternalfigures. I want all the pages where the insertion > happens to be quite distictive (that is, have a very narrow text > layout, and leave the large margin for the figures. However, when a > page starts, TeX does not know wheter or not an external figure will > be placed on this page, so it really has no idea whether this page > should be set narrower or not..... how can I do that? > > Thanks. > > Yue Wang > ___________________________________________________________________________________ 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 ___________________________________________________________________________________