Re: [NTG-context] chapter page question

2009-02-15 Thread Wolfgang Schuster
Am 14.02.2009 um 20:26 schrieb Alan Stone: 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. You can format the text in \definetext.

Re: [NTG-context] chapter page question

2009-02-15 Thread Alan Stone
On Sun, Feb 15, 2009 at 11:04 AM, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: You can format the text in \definetext. \startsetups header:chapter:middle \startcolor[red] \it Chapter page \stopcolor \stopsetups

[NTG-context] chapter page question

2009-02-14 Thread Alan Stone
Hi, What's the way to test whether a page is a (start of a new) chapter page ? Didn't find it onoffline. -- Best, Alan ___ If your question is of interest to others as well, please add an entry to the Wiki!

Re: [NTG-context] chapter page question

2009-02-14 Thread Wolfgang Schuster
Am 14.02.2009 um 11:46 schrieb Alan Stone: What's the way to test whether a page is a (start of a new) chapter page ? Didn't find it onoffline. Why and for what do you need this information? Wolfgang ___ If

Re: [NTG-context] chapter page question

2009-02-14 Thread Alan Stone
On Sat, Feb 14, 2009 at 11:57 AM, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 14.02.2009 um 11:46 schrieb Alan Stone: What's the way to test whether a page is a (start of a new) chapter page ? Didn't find it onoffline. Why and for what do you need this information? To

Re: [NTG-context] chapter page question

2009-02-14 Thread Wolfgang Schuster
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 onoffline. 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

Re: [NTG-context] chapter page question

2009-02-14 Thread Wolfgang Schuster
Am 14.02.2009 um 14:14 schrieb Alan Stone: \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

Re: [NTG-context] chapter page question

2009-02-14 Thread Alan Stone
Ahaaa... thanks for clearing up the mist. So that makes... \definetext[text for header/text/footer area][header/text/footer][edge/margin/text][left][right] What are arguments 6 and 7 for ? Alan On Sat, Feb 14, 2009 at 2:40 PM, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am

Re: [NTG-context] chapter page question

2009-02-14 Thread Alan Stone
So it seems, although there's also \setuptop and \setupbottom, that definetext doesn't accept top and bottom. Any idea why that's so (samewise for setuphead which doesn't accept top and bottom arguments either, according to the manual) ? Alan On Sat, Feb 14, 2009 at 3:47 PM, Wolfgang Schuster

Re: [NTG-context] chapter page question

2009-02-14 Thread Alan Stone
The underneath example works with \def\myHeader{\iftuut chapter\else high\fi} How do you make it work with\def\myHeader{\doifmodelse{a}{chapter}{high}} ? ( without resorting to \doifmodeelse{a}{\tuuttrue}{\tuutfalse} ) \showframe \newif\iftuut %\tuuttrue \tuutfalse

Re: [NTG-context] chapter page question

2009-02-14 Thread Wolfgang Schuster
Am 14.02.2009 um 19:17 schrieb Alan Stone: The underneath example works with \def\myHeader{\iftuut chapter\else high\fi} How do you make it work with\def\myHeader{\doifmodelse{a}{chapter} {high}} ? ( without resorting to \doifmodeelse{a}{\tuuttrue}{\tuutfalse} ) [...] ! Undefined

Re: [NTG-context] chapter page question

2009-02-14 Thread Alan Stone
Unfortunately, it doesn't resolve the problem... ! Undefined control sequence. \cleanuplabel #1-\begingroup \let : \lettercolon \xdef \cleanlabel {#1}\endg... \docheckformode #1#2#3-\cleanuplabel {#3} \protect

Re: [NTG-context] chapter page question

2009-02-14 Thread Wolfgang Schuster
Am 14.02.2009 um 20:17 schrieb Alan Stone: Unfortunately, it doesn't resolve the problem... ! Undefined control sequence. \cleanuplabel #1-\begingroup \let : \lettercolon \xdef \cleanlabel {#1}\endg... \docheckformode #1#2#3-\cleanuplabel {#3}

Re: [NTG-context] chapter page question

2009-02-14 Thread Alan Stone
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,