From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/80225 Path: news.gmane.org!not-for-mail From: Marco Patzer Newsgroups: gmane.comp.tex.context Subject: Re: Page Numbers on Outer Edge of Outer Margin Date: Sat, 12 Jan 2013 15:23:03 +0100 Message-ID: <20130112142303.GI31752@homerow> References: <6C558222-1692-4EF6-802D-D9A114ECC7BA@stien.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0641271078==" X-Trace: ger.gmane.org 1358000600 6546 80.91.229.3 (12 Jan 2013 14:23:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 12 Jan 2013 14:23:20 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Sat Jan 12 15:23:38 2013 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Tu1zl-0006kC-6z for gctc-ntg-context-518@m.gmane.org; Sat, 12 Jan 2013 15:23:37 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 11670101EE; Sat, 12 Jan 2013 15:23:21 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id fNTor5BmCJtc; Sat, 12 Jan 2013 15:23:18 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 8F8C4101E6; Sat, 12 Jan 2013 15:23:18 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 10231101E6 for ; Sat, 12 Jan 2013 15:23:17 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id TpqFLRbD86ZJ for ; Sat, 12 Jan 2013 15:23:16 +0100 (CET) Original-Received: from filter2-ams.mf.surf.net (filter2-ams.mf.surf.net [192.87.102.70]) by balder.ntg.nl (Postfix) with ESMTP id 0C03F101E3 for ; Sat, 12 Jan 2013 15:23:15 +0100 (CET) Original-Received: from karen.lavabit.com (karen.lavabit.com [72.249.41.33]) by filter2-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r0CENEpJ007046 for ; Sat, 12 Jan 2013 15:23:15 +0100 Original-Received: from c.earth.lavabit.com (c.earth.lavabit.com [192.168.111.12]) by karen.lavabit.com (Postfix) with ESMTP id CBEAA11BC96 for ; Sat, 12 Jan 2013 08:23:12 -0600 (CST) Original-Received: from homerow (83.68.239.193) by lavabit.com with ESMTP id 547YUE1J3NGM for ; Sat, 12 Jan 2013 08:23:12 -0600 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=lavabit; d=lavabit.com; b=j6Dyl14Wl1NF/KT++MzdX9NTxZrwEvB/+YAC2q9/RYwXE1U7fxI8GljPRPkQ1nLbb+88dJyOACYDQ9xvs0biuGPUCt7n7nCMFiSiY85vkP4PGIhWfEkFx9CQlKpKZ6a+2hUVunb5kzVSTU+vnrRzGLz9Pj+NjTxCoasn5Rk9TAY=; h=Date:From:To:Subject:Message-ID:Mail-Followup-To:References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To:User-Agent; Mail-Followup-To: ntg-context@ntg.nl In-Reply-To: <6C558222-1692-4EF6-802D-D9A114ECC7BA@stien.de> User-Agent: Mutt/1.5.21 (2010-09-15) X-Bayes-Prob: 0.0192 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=72.249.41.33; country=US; region=TX; city=Dallas; postalcode=75204; latitude=32.8019; longitude=-96.7883; metrocode=623; areacode=214; http://maps.google.com/maps?q=32.8019,-96.7883&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0QIL2neAw - 715598910096 - 20130112 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.70 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:80225 Archived-At: --===============0641271078== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Rmm1Stw9KgbdL9/H" Content-Disposition: inline --Rmm1Stw9KgbdL9/H Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2013=E2=80=9301=E2=80=9313 Malte Stien wrote: > The trouble is that the page number is only a few millimetres wide > and gets positioned on the inside edge of my outside margin. > Hence, it does not end up close enough to the edge of the page. I > guess, I would like to right-align it 4mm from the edge of a > right-hand page and left-align it by the same amount from the edge > of a left-hand page. Is that doable? You can use the `command` key to hook in a custom macro which does the placement. \setuppagenumbering [alternative=3Ddoublesided, location=3D{header, margin}, style=3Dbold, command=3D\PageNumberCommand] \starttexdefinition PageNumberCommand #pageno \signalrightpage \doifrightpageelse {\rightaligned{#pageno}} {\leftaligned{#pageno}} \stoptexdefinition Marco --Rmm1Stw9KgbdL9/H Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iQEcBAEBAgAGBQJQ8XHHAAoJEPGqVaNSn0iK2X0H/iXPhhBcremZ+X8E2fTEG2di R7jNSseYCsmrV/hs0ncmQ6hJQbACxeVgKRFVvyhSgo2ep3pkX9dPK9rFuzMwfAlw tMOBXei/6H3jlkd8cnDS/COvws7ZOXtckwLHlvRjex8aNEVfACyllYEs/LJgvM/i WCC7dAroAy3EaW4IcViLEs0385GH29Fhu+s7YNSYV4/Rx1qfpuvEfV5QqcbNAWUe 8NTVtaB8vtim1YFXphRGdhvrIdizznEVw/Y3PDXpQzDeIxoKa7dtA3fdAwNpVdG0 OFshUQEuoGFLPXCkMuIJX2EL4KZoIE1wHSTSPQNC/z5V3+Ccq0cUYN+DKtvvg7s= =Z3fN -----END PGP SIGNATURE----- --Rmm1Stw9KgbdL9/H-- --===============0641271078== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --===============0641271078==--