From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/50724 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 01:16:57 +0800 Message-ID: <68bfdc900905231016x7dbde81j9d287042e042049@mail.gmail.com> References: <68bfdc900905201825w1e8aee29ibd1ec946dd733b83@mail.gmail.com> <769ba7780905230949r8988e5fx5e7abc50b9eb8401@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="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1243099084 27673 80.91.229.12 (23 May 2009 17:18:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 23 May 2009 17:18:04 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat May 23 19:17:57 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 1M7ur7-0007Je-0e for gctc-ntg-context-518@m.gmane.org; Sat, 23 May 2009 19:17:57 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A56AA1FED4; Sat, 23 May 2009 19:17:53 +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-06; Sat, 23 May 2009 19:17:13 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id D7C4A1FEB1; Sat, 23 May 2009 19:17:12 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C20B91FEB1 for ; Sat, 23 May 2009 19:17:10 +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 23120-02 for ; Sat, 23 May 2009 19:17:02 +0200 (CEST) Original-Received: from filter1-ams.mf.surf.net (filter1-ams.mf.surf.net [192.87.102.69]) by ronja.ntg.nl (Postfix) with ESMTP id 6EBA01FEB0 for ; Sat, 23 May 2009 19:17:02 +0200 (CEST) Original-Received: from mail-qy0-f103.google.com (mail-qy0-f103.google.com [209.85.221.103]) by filter1-ams.mf.surf.net (8.14.3/8.14.3/Debian-5) with ESMTP id n4NHGwFw024468 for ; Sat, 23 May 2009 19:16:58 +0200 Original-Received: by qyk1 with SMTP id 1so3400433qyk.16 for ; Sat, 23 May 2009 10:16:57 -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=c9tU5KNUfW1PIiSljLSfA6y+8IcpRxqBQ4hz/gfyHko=; b=SN2lteWODibhZBW1FttzpVYgOU1wwiEPZGne4LVIFWqmH84k8Af8yVB3fhbSxtkmWS b08MB66X+Pw4lZTREXANShwHZITrjml/fMvbv2CLH3BeAJx0TzZ2QdZJfXEKXxulC7Gv crLtAkHNKbyWGA3N4ZtreOzQ4XxlJ7BzAzns4= 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=ab/91258GHPh4Nzdl9BplD39vltOTi7hcHVq30ZpwNnEw0pj6mLjei3+kCWmnvPPiz LZojeObwC2sI0Kt0zuzq9QdjUlWET7zTT/h9MoydYHoUuJDnOQjrAp+evucA3vEy089A Y0xOU7cTdPvZ8XbQ8EOLmVg3oku2NQqrobfYA= Original-Received: by 10.229.81.144 with SMTP id x16mr1686681qck.69.1243099017689; Sat, 23 May 2009 10:16:57 -0700 (PDT) In-Reply-To: <769ba7780905230949r8988e5fx5e7abc50b9eb8401@mail.gmail.com> X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.221.103; 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: 230423617 - cb0f09fd7fca - 20090523 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.69 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:50724 Archived-At: On Sun, May 24, 2009 at 12:49 AM, Zhichu Chen wrote: > 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. > This must have something to do with the OTR, I'm really not good > at that. > > By \definecolor[black][r=3D1, g=3D1, b=3D1] you can get white texts which > maybe useful for you. confused. can you give me an example? >> >> - 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? > Sounds like an \insert like footnote. Good luck. >> Yes. but a footnote on margin... >> Thanks. >> >> Yue Wang >> ________________________________________________________________________= ___________ >> If your question is of interest to others as well, please add an entry t= o the Wiki! >> >> maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-c= ontext >> webpage =A0: http://www.pragma-ade.nl / http://tex.aanhet.net >> archive =A0: https://foundry.supelec.fr/projects/contextrev/ >> wiki =A0 =A0 : http://contextgarden.net >> ________________________________________________________________________= ___________ >> > > > > -- > Best Regards > Chen > ---------------------------------------------------------------- > > =A0 =A0 =A0 =A0 =A0Zhi-chu Chen | Shanghai Synchrotron Radiation Facility > =A0 =A0 =A0 =A0 No. 2019 | Jialuo Rd. | Jiading | Shanghai | P.R. China > =A0 =A0 =A0 =A0 =A0 =A0 tel: 086 21 5955 3405 | zhichu.chen.googlepages.c= om > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 | www.sinap.ac.cn > ---------------------------------------------------------------- > _________________________________________________________________________= __________ > 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-co= ntext > webpage =A0: http://www.pragma-ade.nl / http://tex.aanhet.net > archive =A0: https://foundry.supelec.fr/projects/contextrev/ > wiki =A0 =A0 : http://contextgarden.net > _________________________________________________________________________= __________ > ___________________________________________________________________________= ________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________