From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/47411 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: chapter page question Date: Sat, 14 Feb 2009 13:23:51 +0100 Message-ID: <43A79DD5-7F71-41EC-8A79-F4B8D6E240ED@gmail.com> References: <326847810902140246p3d87929fx85d9c2b8f32ed2cb@mail.gmail.com> <8C5FB8F5-6F8D-4363-9181-DDFA3813C704@gmail.com> <326847810902140357h575596f3obc1699d121e00ed6@mail.gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v930.3) Content-Type: text/plain; charset="windows-1252"; Format="flowed"; DelSp="yes" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1234614396 13853 80.91.229.12 (14 Feb 2009 12:26:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 14 Feb 2009 12:26:36 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Feb 14 13:27:50 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 1LYJcc-0005WT-Du for gctc-ntg-context-518@m.gmane.org; Sat, 14 Feb 2009 13:27:50 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 5C1C21FCA3; Sat, 14 Feb 2009 13:26:25 +0100 (CET) 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 26141-02; Sat, 14 Feb 2009 13:25:22 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 72A1F1FC54; Sat, 14 Feb 2009 13:25:22 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 86BA51FC54 for ; Sat, 14 Feb 2009 13:25:21 +0100 (CET) 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 11976-05-4 for ; Sat, 14 Feb 2009 13:24:45 +0100 (CET) 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 108C61FC2F for ; Sat, 14 Feb 2009 13:24:45 +0100 (CET) Original-Received: from mail-fx0-f16.google.com (mail-fx0-f16.google.com [209.85.220.16]) by filter2-til.mf.surf.net (8.13.8/8.13.8/Debian-3) with ESMTP id n1ECOiw1005968 for ; Sat, 14 Feb 2009 13:24:44 +0100 Original-Received: by fxm9 with SMTP id 9so2737679fxm.2 for ; Sat, 14 Feb 2009 04:24:44 -0800 (PST) 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=Bmv0yogpvu2z9FlWhBAimYs1Cct5fP/XiDpsYaNWDFE=; b=FerQa7zcY2kUDXEGmda6Cer38PSZ98ML8xeSyhram4Te+x53d9+87wdEhHf8vCNZEk eFAIp+Z2VK9GS2tbYW/LFExyOPb2u2/Z6rI0GuM9MJi+cY7HdKRSGBTcSh4DnMMkuCsL rC4ktwoPLy6tUBWlawzJWEf5yTMcxkUOpNaS8= 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=Mwj0HFvWXNh4u+srOh4ZCspXd6DuxdpbEcqZAUT2txp6N3jGUjWtTi6Jqfin4XaIcD i23Xb+9Z05aMlkesnCHDuo7eYAuarYamNBL0TrLVZcwUVJ1Lvrli7UpsXkXkYQBVswSb KALvlZ833yFpHm8Jo+WwNRArejAhnVssQ0Uk4= Original-Received: by 10.86.3.4 with SMTP id 4mr289262fgc.66.1234614283990; Sat, 14 Feb 2009 04:24:43 -0800 (PST) Original-Received: from ?10.40.149.250? (8.121.113.82.net.de.o2.com [82.113.121.8]) by mx.google.com with ESMTPS id l19sm4344572fgb.47.2009.02.14.04.24.40 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 14 Feb 2009 04:24:43 -0800 (PST) In-Reply-To: <326847810902140357h575596f3obc1699d121e00ed6@mail.gmail.com> X-Mailer: Apple Mail (2.930.3) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.220.16; 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: 179927390 - 10fa441ae673 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:47411 Archived-At: Am 14.02.2009 um 12:57 schrieb Alan Stone: >>> What's the way to test whether a page is a (start of a new) = >>> chapter page ? >>> Didn't find it on&offline. >> >> Why and for what do you need this information? > > To put different text in the margin/edge top/header/... whether a = > page is a > chapter page or not. \setupheadertexts[\doifoddpageelse{right page}{left page}] \definetext[chapter][header][chapter page] % The \definetext command works like \setup(header/footer/...)texts and % has 3=967 arguments, the first argument is a keyword (you can use = whatever % you want, the second is the location of the text and all other = arguments % are reseved for the content. \setuphead [chapter] [header=3Dchapter] \starttext \dorecurse{2}{\chapter{Chapter #1}\dorecurse{20}{\input knuth\par}} \stoptext Wolfgang ___________________________________________________________________________= ________ 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 ___________________________________________________________________________= ________