From: "Wolfgang Schuster" <schuster.wolfgang@googlemail.com>
To: ntg-context@ntg.nl
Subject: Re: Pagenumbering in header-margin with outer-align
Date: Tue, 1 Apr 2008 13:11:46 +0200 [thread overview]
Message-ID: <115224fb0804010411y5c9e971dh3cb21a1f048cf086@mail.gmail.com> (raw)
In-Reply-To: <20080329180609.07ea1aed.schuster.wolfgang@googlemail.com>
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
___________________________________________________________________________________
prev parent reply other threads:[~2008-04-01 11:11 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-28 20:41 Peter Schorsch
2008-03-29 17:06 ` Wolfgang Schuster
2008-04-01 11:11 ` Wolfgang Schuster [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=115224fb0804010411y5c9e971dh3cb21a1f048cf086@mail.gmail.com \
--to=schuster.wolfgang@googlemail.com \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).