From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/47413 Path: news.gmane.org!not-for-mail From: Alan Stone Newsgroups: gmane.comp.tex.context Subject: Re: chapter page question Date: Sat, 14 Feb 2009 14:14:49 +0100 Message-ID: <326847810902140514i6076bdaeu7de3af99268355c8@mail.gmail.com> References: <326847810902140246p3d87929fx85d9c2b8f32ed2cb@mail.gmail.com> <8C5FB8F5-6F8D-4363-9181-DDFA3813C704@gmail.com> <326847810902140357h575596f3obc1699d121e00ed6@mail.gmail.com> <43A79DD5-7F71-41EC-8A79-F4B8D6E240ED@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1380069342==" X-Trace: ger.gmane.org 1234617438 21935 80.91.229.12 (14 Feb 2009 13:17:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 14 Feb 2009 13:17:18 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Feb 14 14:18:31 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 1LYKPd-0003KM-Fy for gctc-ntg-context-518@m.gmane.org; Sat, 14 Feb 2009 14:18:29 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 64C5F1FCFF; Sat, 14 Feb 2009 14:17:07 +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 17786-01-3; Sat, 14 Feb 2009 14:15:39 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 72B391FC61; Sat, 14 Feb 2009 14:15:39 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 59E391FC2F for ; Sat, 14 Feb 2009 14:15:36 +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 17786-01-2 for ; Sat, 14 Feb 2009 14:14:52 +0100 (CET) Original-Received: from filter1-nij.mf.surf.net (filter1-nij.mf.surf.net [195.169.124.152]) by ronja.ntg.nl (Postfix) with ESMTP id 733081FCA2 for ; Sat, 14 Feb 2009 14:14:50 +0100 (CET) Original-Received: from mail-ew0-f11.google.com (mail-ew0-f11.google.com [209.85.219.11]) by filter1-nij.mf.surf.net (8.13.8/8.13.8/Debian-3) with ESMTP id n1EDEnDF023575 for ; Sat, 14 Feb 2009 14:14:49 +0100 Original-Received: by ewy4 with SMTP id 4so1434117ewy.2 for ; Sat, 14 Feb 2009 05:14:49 -0800 (PST) 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; bh=eLqNZF6czSZ1nVTkMkqFDLznRfZnx9gGBJ3HF2vPYGE=; b=c5MHvd7qUWBQdPv2PlILG4PoBrPLFHQXSvklqB26matvb8/Ud5ZQRkfn/0ObOkSt37 i9ctsBaPOt47MqIYQDafK9LfV5j9/+ElpXDKQRr8muATzgDFR5Msyykxw+0ngrAH02uB nQatSIgPqC3z7Rp2kE3JL9ZojHCdUJQiwPoZk= 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; b=WnlKtb7lIyFS+mAlS3uDLzBL6gsu4/GY+nn5KVyxC/K5jdQDWu922etPY1kHRc5u72 kilQz0Qy1f3m42P1F9Wkgeic5YHO+9VjN0pYyvY27SsUhJWcXZxasm0UqGSQa2l7duv2 OqZqgJc51RNnEHa+66tiVv50n/GWYAf8E4W8w= Original-Received: by 10.210.42.13 with SMTP id p13mr1908005ebp.183.1234617289037; Sat, 14 Feb 2009 05:14:49 -0800 (PST) In-Reply-To: <43A79DD5-7F71-41EC-8A79-F4B8D6E240ED@gmail.com> X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.219.11; 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: 179938456 - 3f78d597d64d X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.152 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:47413 Archived-At: --===============1380069342== Content-Type: multipart/alternative; boundary=0015174bea24f2585a0462e0bca9 --0015174bea24f2585a0462e0bca9 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On Sat, Feb 14, 2009 at 1:23 PM, Wolfgang Schuster < schuster.wolfgang@googlemail.com> wrote: > > 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 i= s >> 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 whate= ver > % you want, the second is the location of the text and all other argument= s > % are reseved for the content. from what I understand... - the location is limited to the text header/footer =3D> what about margin/edge top/header/footer/bottom ? - all other arguments are reserved for content =3D> for which content and where ? if i put \definetext[chapter][header][chapter page][x1][x2][x3][x4] the "chapter page" header is replaced by "right page" !? > \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 > 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 > > _________________________________________________________________________= __________ > --=20 Best, Alan * TeX engine =3D LuaTeX * ConTeXt minimals ver: 2009.01.18 14:39 MKIV fmt: 2009.1.22 int: english/english * Ubuntu 8.04 Hardy Heron, Windows XP SP3 Home --0015174bea24f2585a0462e0bca9 Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: quoted-printable
On Sat, Feb 14, 2009 at 1:23 PM, Wolfgang Schust= er <schuster.wolfgang@googlemail.com> wrote:

Am 14.02.2009 um 12:57 schri= eb Alan Stone:=20


What's the way to test wheth= er 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.

\setupheadertex= ts[\doifoddpageelse{right page}{left page}]

\definetext[chapter][header][chapter page]

% The \definetext com= mand 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.
 
from what I understand...
 
- the location is limited to the text header/footer =3D> what about= margin/edge top/header/footer/bottom ?
 
- all other arguments are reserved for content =3D> for which conte= nt and where ? if i put
\definetext[chapter][header][chapter page][x1][x2][x3][x4] the "c= hapter page" header is replaced by "right page" !?
 
\setuphead
 [chapter] [header=3Dchapter]

\starttext
\dorecurse{2}{\chapter{Chapt= er #1}\dorecurse{20}{\input knuth\par}}
\stoptext=20


Wolfgang

_____________________________= ______________________________________________________
If your question = is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-cont= ext@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
we= bpage  : http:= //www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
w= iki     : http://contextgarden.net
___________________________________________________________________________= ________



-- Best,
Alan

* TeX engine =3D LuaTeX
* ConTeXt  minimals v= er: 2009.01.18 14:39 MKIV  fmt: 2009.1.22  int: english/english * Ubuntu 8.04 Hardy Heron, Windows XP SP3 Home
--0015174bea24f2585a0462e0bca9-- --===============1380069342== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============1380069342==--