I also would like to be able to choose a different font and/or fontsize
(\switchtobodyfont[...]), style and/or color (\color[...]) for chapter
pages' header area (margin/edge/text) and non-chapter pages.

Hence, I guess... back to my initial question.

Alan

On Sat, Feb 14, 2009 at 1:23 PM, Wolfgang Schuster <
schuster.wolfg...@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 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–7 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=chapter]
>
> \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
___________________________________________________________________________________

Reply via email to