Re: [NTG-context] Pagenumbering in header-margin with outer-align

2008-04-01 Thread Wolfgang Schuster
On Sat, Mar 29, 2008 at 7:06 PM, Wolfgang Schuster
[EMAIL PROTECTED] wrote:
 On Fri, 28 Mar 2008 21:41:27 +0100
 Peter Schorsch [EMAIL PROTECTED] wrote:

  Hi,
 
  I am trying to put the pagenumber in the margin of the header. But I also 
  want
  it outer-aligned - not inner-aligned, which seems to be the standart
  alignment of margin. But the inner-align of the body-margin should still be
  inner-aligned. So I tried following:
 
  \setuppagenumbering[conversion=Romannumerals,alternative=doublesided,
location={header,margin},style={\setupalign[outer]}]
 
  but Context dont like this.. it stops converting. Does anyone know a working
  solution for this problem?

 \setuppagenumbering
  [conversion=Romannumerals,
   alternative=doublesided,
   location=]

 \setupheadertexts[margin]
  [][\hfil\pagenumber][\pagenumber\hfil][]


also possible

\setupheader
  [margin]
  [righttext=\doifoddpageelse{\hfill\pagenumber}{\pagenumber\hfill}]

 \starttext

 \dorecurse{30}{\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
___


Re: [NTG-context] Pagenumbering in header-margin with outer-align

2008-03-29 Thread Wolfgang Schuster
On Fri, 28 Mar 2008 21:41:27 +0100
Peter Schorsch [EMAIL PROTECTED] wrote:

 Hi,
 
 I am trying to put the pagenumber in the margin of the header. But I also 
 want 
 it outer-aligned - not inner-aligned, which seems to be the standart 
 alignment of margin. But the inner-align of the body-margin should still be 
 inner-aligned. So I tried following:
 
 \setuppagenumbering[conversion=Romannumerals,alternative=doublesided,
   location={header,margin},style={\setupalign[outer]}]
 
 but Context dont like this.. it stops converting. Does anyone know a working 
 solution for this problem?

\setuppagenumbering
  [conversion=Romannumerals,
   alternative=doublesided,
   location=]

\setupheadertexts[margin]
  [][\hfil\pagenumber][\pagenumber\hfil][]

\starttext

\dorecurse{30}{\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
___