From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/17304 Path: main.gmane.org!not-for-mail From: "GEERT@telefonica.net" Newsgroups: gmane.comp.tex.context Subject: Re: Re: pagenumbers in margin Date: Mon, 29 Nov 2004 12:42:12 +0100 Message-ID: <4abef4649d.4649d4abef@teleline.es> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1101728542 19772 80.91.229.6 (29 Nov 2004 11:42:22 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 29 Nov 2004 11:42:22 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Mon Nov 29 12:42:18 2004 Return-path: Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CYjv8-0002a5-00 for ; Mon, 29 Nov 2004 12:42:18 +0100 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 72318127AC; Mon, 29 Nov 2004 12:42:18 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 24389-04-7; Mon, 29 Nov 2004 12:42:16 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 2052C127A6; Mon, 29 Nov 2004 12:42:16 +0100 (CET) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id D0F6A127A6 for ; Mon, 29 Nov 2004 12:42:14 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 24389-04-6 for ; Mon, 29 Nov 2004 12:42:14 +0100 (CET) Original-Received: from tefdsmtp1.mail.isp (unknown [213.4.129.135]) by ronja.ntg.nl (Postfix) with ESMTP id F13211279F for ; Mon, 29 Nov 2004 12:42:13 +0100 (CET) Original-Received: from teleline.es ([10.20.4.99]) by tefdsmtp1.mail.isp (Netscape Messaging Server 4.15 tefdsmtp1 Mar 14 2002 21:29:48) with ESMTP id I7XV6C01.PGY for ; Mon, 29 Nov 2004 12:42:12 +0100 Original-To: ntg-context@ntg.nl X-Mailer: Netscape Webmail Content-Language: es X-Accept-Language: es Content-Disposition: inline X-Virus-Scanned: by amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 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: by amavisd-new at ntg.nl Xref: main.gmane.org gmane.comp.tex.context:17304 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:17304 Hello, Sorry for being incomplete. Below is an example that generates PDF. You will see the grey boxes with pagenumbers sticking out from the margins. I want them not to stick out, but to move their outer border flush with the outer border of the margin. What doesn't fit in the margin should go into the lower text area.... Geert \stelpapierformaatin [A5,liggend][A4,liggend] \definieerkleur[middelgrijs][s=.5] \def\mijnpaginanummer#1% {\startkleur[wit] \ss\bf\tfb \inlijnd [kader=uit,achtergrond=kleur,achtergrondkleur=middelgrijs,breedte=2.5cm, h oogte=1.1cm]% {#1} \stopkleur} \stelnummeringin [variant=dubbelzijdig,plaats={onder,inmarge},% commando={\mijnpaginanummer}] \stellayoutin [breedte=19cm, hoogte=14.9cm, kopwit=0cm, rugwit=1cm, hoofd=2.5cm, linkermarge=1.2cm, rechtermarge=1.2cm, linkermargeafstand=0cm, rechtermargeafstand=0cm] \stelkleurenin [status=start] \stelkleurin [rgb] \stellayoutin [plaats=midden,markering=kleur] \steltolerantiein [soepel] \toonkader \stelblokkopjesin[plaats=geen] %We willen geen legende of nummer bij figuren of tabellen %geen uitlijnen van de rechtermarge: \steluitlijnenin[rechts] \starttekst \dorecurse{20}{% Op een grote paddestoel vol met witte stippen\par Zat kabouter Pinnemuts heen en weer te wippen\par Krak zei de paddestoel met een diepe zucht\par Allebei de beentjes vlogen in de lucht\par \pagina } \stoptekst