From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/39778 Path: news.gmane.org!not-for-mail From: "Wolfgang Schuster" Newsgroups: gmane.comp.tex.context Subject: Re: Pagenumbering in header-margin with outer-align Date: Tue, 1 Apr 2008 13:11:46 +0200 Message-ID: <115224fb0804010411y5c9e971dh3cb21a1f048cf086@mail.gmail.com> References: <200803282141.27411.tralalas@freenet.de> <20080329180609.07ea1aed.schuster.wolfgang@googlemail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1207048409 20380 80.91.229.12 (1 Apr 2008 11:13:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 1 Apr 2008 11:13:29 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Tue Apr 01 13:13:52 2008 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1JgeR2-0001ll-Tp for gctc-ntg-context-518@m.gmane.org; Tue, 01 Apr 2008 13:13:48 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 60E501FD54; Tue, 1 Apr 2008 13:13:09 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 09642-02-2; Tue, 1 Apr 2008 13:12:21 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id BCD431FCD0; Tue, 1 Apr 2008 13:12:21 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 0E2EA1FCD0 for ; Tue, 1 Apr 2008 13:12:20 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 04929-02-27 for ; Tue, 1 Apr 2008 13:11:47 +0200 (CEST) Original-Received: from yw-out-1718.google.com (yw-out-1718.google.com [74.125.46.153]) by ronja.ntg.nl (Postfix) with ESMTP id EDE251FC36 for ; Tue, 1 Apr 2008 13:11:46 +0200 (CEST) Original-Received: by yw-out-1718.google.com with SMTP id 6so309819ywa.74 for ; Tue, 01 Apr 2008 04:11:46 -0700 (PDT) Original-Received: by 10.151.100.21 with SMTP id c21mr4044032ybm.164.1207048306241; Tue, 01 Apr 2008 04:11:46 -0700 (PDT) Original-Received: by 10.150.49.21 with HTTP; Tue, 1 Apr 2008 04:11:46 -0700 (PDT) In-Reply-To: <20080329180609.07ea1aed.schuster.wolfgang@googlemail.com> Content-Disposition: inline X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:39778 Archived-At: On Sat, Mar 29, 2008 at 7:06 PM, Wolfgang Schuster wrote: > 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 ___________________________________________________________________________________ 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 ___________________________________________________________________________________