Pagenumbering in header-margin with outer-align
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? Thanks, P.
On Fri, 28 Mar 2008 21:41:27 +0100
Peter Schorsch
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
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
participants (2)
-
Peter Schorsch
-
Wolfgang Schuster