ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Pagenumbering in header-margin with outer-align
@ 2008-03-28 20:41 Peter Schorsch
  2008-03-29 17:06 ` Wolfgang Schuster
  0 siblings, 1 reply; 3+ messages in thread
From: Peter Schorsch @ 2008-03-28 20:41 UTC (permalink / raw)
  To: ntg-context

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.
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Pagenumbering in header-margin with outer-align
  2008-03-28 20:41 Pagenumbering in header-margin with outer-align Peter Schorsch
@ 2008-03-29 17:06 ` Wolfgang Schuster
  2008-04-01 11:11   ` Wolfgang Schuster
  0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Schuster @ 2008-03-29 17:06 UTC (permalink / raw)
  To: ntg-context

On Fri, 28 Mar 2008 21:41:27 +0100
Peter Schorsch <tralalas@freenet.de> 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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Pagenumbering in header-margin with outer-align
  2008-03-29 17:06 ` Wolfgang Schuster
@ 2008-04-01 11:11   ` Wolfgang Schuster
  0 siblings, 0 replies; 3+ messages in thread
From: Wolfgang Schuster @ 2008-04-01 11:11 UTC (permalink / raw)
  To: ntg-context

On Sat, Mar 29, 2008 at 7:06 PM, Wolfgang Schuster
<schuster.wolfgang@googlemail.com> wrote:
> On Fri, 28 Mar 2008 21:41:27 +0100
> Peter Schorsch <tralalas@freenet.de> 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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-04-01 11:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-03-28 20:41 Pagenumbering in header-margin with outer-align Peter Schorsch
2008-03-29 17:06 ` Wolfgang Schuster
2008-04-01 11:11   ` Wolfgang Schuster

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).