![](https://secure.gravatar.com/avatar/93131e1e6e2204bd13501390d768dbdc.jpg?s=120&d=mm&r=g)
On Sat, Mar 29, 2008 at 7:06 PM, Wolfgang Schuster
On Fri, 28 Mar 2008 21:41:27 +0100 Peter Schorsch
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