Re: [NTG-context] header in the middle on doublesided layout

2010-03-24 Thread Willi Egger
Hi, her yet my two cents, May be it is worthwhile to consider a set of setups and using layerframed. This gives to my knowledge the most of flexibility. Willi On 22 Mar 2010, at 12:29, Mojca Miklavec wrote: Hello, I would like to set a different header on left and right page, but I would

Re: [NTG-context] header in the middle on doublesided layout

2010-03-23 Thread Wolfgang Schuster
Am 22.03.10 12:58, schrieb luigi scarso: \showframe \setuppagenumbering[alternative=doublesided,location=footer] \startsetups Header:Left \vbox to \headerheight{\vss \ruledhbox{\centerline{ \getmarking[chapter][first] }} \vss} \stopsetups \startsetups Header:Right \vbox to \headerheight{\vss

Re: [NTG-context] header in the middle on doublesided layout

2010-03-23 Thread Wolfgang Schuster
Am 23.03.10 07:06, schrieb Wolfgang Schuster: You can replace the nested boxes with framedtext And another one: \showframe \setuppagenumbering[alternative=doublesided,location=footer]

Re: [NTG-context] header in the middle on doublesided layout

2010-03-23 Thread luigi scarso
On Tue, Mar 23, 2010 at 11:50 AM, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 23.03.10 07:06, schrieb Wolfgang Schuster: You can replace the nested boxes with framedtext And another one: \showframe \setuppagenumbering[alternative=doublesided,location=footer]

Re: [NTG-context] header in the middle on doublesided layout

2010-03-23 Thread Wolfgang Schuster
Am 23.03.10 11:55, schrieb luigi scarso: different behavior between mkiv and mkii --- what is right ? I think mkiv is right, the left page should contain the header (last section here) unless specified otherwise. Wolfgang

Re: [NTG-context] header in the middle on doublesided layout

2010-03-23 Thread luigi scarso
On Tue, Mar 23, 2010 at 12:00 PM, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 23.03.10 11:55, schrieb luigi scarso: different behavior between mkiv and mkii --- what is right ? I think mkiv is right, the left page should contain the header (last section here) unless

Re: [NTG-context] header in the middle on doublesided layout

2010-03-23 Thread Wolfgang Schuster
Am 23.03.10 12:11, schrieb luigi scarso: It seem that for mkii a blank page is not part of a chapter --- this is logical: the chapter ends before. For mkiv blank page is part of a chapter --- this is also ok: the chapter ends just before the next chapter. This affects only marks and not

Re: [NTG-context] header in the middle on doublesided layout

2010-03-23 Thread luigi scarso
On Tue, Mar 23, 2010 at 12:19 PM, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 23.03.10 12:11, schrieb luigi scarso: It seem that for mkii a blank page is not part of a chapter --- this is logical: the chapter ends before. For mkiv blank page is  part of a chapter --- this is

[NTG-context] header in the middle on doublesided layout

2010-03-22 Thread Mojca Miklavec
Hello, I would like to set a different header on left and right page, but I would like it to be centered on page. How do I do that? The command \setupheadertexts[a][b] puts a b on one page and b a on the other while \setupheadertexts[a][b][c][d] puts a b on one page and c

Re: [NTG-context] header in the middle on doublesided layout

2010-03-22 Thread luigi scarso
On Mon, Mar 22, 2010 at 12:29 PM, Mojca Miklavec mojca.miklavec.li...@gmail.com wrote: Hello, I would like to set a different header on left and right page, but I would like it to be centered on page. How do I do that? The command    \setupheadertexts[a][b] puts a     b on one page and b  

Re: [NTG-context] header in the middle on doublesided layout

2010-03-22 Thread Thomas A. Schmitz
On Mar 22, 2010, at 12:29 PM, Mojca Miklavec wrote: Hello, I would like to set a different header on left and right page, but I would like it to be centered on page. How do I do that? The command \setupheadertexts[a][b] puts a b on one page and b a on the other while

Re: [NTG-context] header in the middle on doublesided layout

2010-03-22 Thread luigi scarso
On Mon, Mar 22, 2010 at 12:58 PM, luigi scarso luigi.sca...@gmail.com wrote: On Mon, Mar 22, 2010 at 12:29 PM, Mojca Miklavec mojca.miklavec.li...@gmail.com wrote: Hello, I would like to set a different header on left and right page, but I would like it to be centered on page. How do I do

Re: [NTG-context] header in the middle on doublesided layout

2010-03-22 Thread Wolfgang Schuster
Am 22.03.10 16:35, schrieb luigi scarso: \starttext \dorecurse{4}{% \edef\T{\recurselevel} \expandafter\chapter\expandafter{\recurselevel{}Chapter } \section{Section}} \stoptext \dorecurse{4}{\chapter{#1 Chapter}\section{Section}} or \dorecurse{4}{\expanded{\chapter{\recurselevel{}

Re: [NTG-context] header in the middle on doublesided layout

2010-03-22 Thread luigi scarso
On Mon, Mar 22, 2010 at 4:40 PM, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 22.03.10 16:35, schrieb luigi scarso: \starttext \dorecurse{4}{% \edef\T{\recurselevel} \expandafter\chapter\expandafter{\recurselevel{}Chapter } \section{Section}} \stoptext

Re: [NTG-context] header in the middle on doublesided layout

2010-03-22 Thread Wolfgang Schuster
\starttext \dorecurse{4}{\chapter{#1 Chapter}\section{Section}} \dorecurse{4}{\expanded{\chapter{\recurselevel{} Chapter}}\section{Section}} \stoptext Wolfgang ___ If your question is of interest to others as

Re: [NTG-context] header in the middle on doublesided layout

2010-03-22 Thread luigi scarso
On Mon, Mar 22, 2010 at 5:02 PM, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: \starttext \dorecurse{4}{\chapter{#1 Chapter}\section{Section}} \dorecurse{4}{\expanded{\chapter{\recurselevel{} Chapter}}\section{Section}} \stoptext Wolfgang aha, now I've seen :'ve put them

Re: [NTG-context] header in the middle on doublesided layout

2010-03-22 Thread Mojca Miklavec
On Mon, Mar 22, 2010 at 12:58, luigi scarso wrote: On Mon, Mar 22, 2010 at 12:29 PM, Mojca Miklavec wrote: I would like to set a different header on left and right page, but I would like it to be centered on page. How do I do that? I am now hacking with    

Re: [NTG-context] header in the middle on doublesided layout

2010-03-22 Thread Hans Hagen
On 22-3-2010 22:04, Mojca Miklavec wrote: On Mon, Mar 22, 2010 at 12:58, luigi scarso wrote: On Mon, Mar 22, 2010 at 12:29 PM, Mojca Miklavec wrote: I would like to set a different header on left and right page, but I would like it to be centered on page. How do I do that? I am now hacking