From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/27216 Path: news.gmane.org!not-for-mail From: "Mojca Miklavec" Newsgroups: gmane.comp.tex.context Subject: Re: Two Problems: Colored Chapter and Footnote positioning Date: Tue, 18 Apr 2006 02:21:55 +0200 Message-ID: <6faad9f00604171721l13c80fdfu5f9e2cf6f4eea00@mail.gmail.com> References: <1145313540.9138.16.camel@localhost.localdomain> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1145321246 9072 80.91.229.2 (18 Apr 2006 00:47:26 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 18 Apr 2006 00:47:26 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Tue Apr 18 02:47:24 2006 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 ciao.gmane.org with esmtp (Exim 4.43) id 1FVeND-0005Oz-BM for gctc-ntg-context-518@m.gmane.org; Tue, 18 Apr 2006 02:47:19 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 5B4AF127A2; Tue, 18 Apr 2006 02:47:18 +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 00463-05; Tue, 18 Apr 2006 02:47:14 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id ED46812791; Tue, 18 Apr 2006 02:47:13 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 745C012791 for ; Tue, 18 Apr 2006 02:47:12 +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 00385-07 for ; Tue, 18 Apr 2006 02:47:11 +0200 (CEST) Original-Received: from nproxy.gmail.com (nproxy.gmail.com [64.233.182.186]) by ronja.ntg.nl (Postfix) with SMTP id 5911212788 for ; Tue, 18 Apr 2006 02:47:11 +0200 (CEST) Original-Received: by nproxy.gmail.com with SMTP id x37so501353nfc for ; Mon, 17 Apr 2006 17:47:11 -0700 (PDT) Original-Received: by 10.48.14.10 with SMTP id 10mr9673nfn; Mon, 17 Apr 2006 17:21:55 -0700 (PDT) Original-Received: by 10.48.223.20 with HTTP; Mon, 17 Apr 2006 17:21:55 -0700 (PDT) Original-To: "mailing list for ConTeXt users" In-Reply-To: <1145313540.9138.16.camel@localhost.localdomain> Content-Disposition: inline X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 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:27216 Archived-At: On 4/18/06, Miguel Queiros wrote: > The second problem has to do with the fact that in the > attached file "footnote-posicao.tex" I changed the layout > of the page, so that I could have a bigger right margin. > The problem is that I would like to have the page number > centered on "the page" and note on the new dimensions > of the text area (don't know if I' been clear but I think > you will understand if you look at the attached file). > In fact I have a third problem that is the fact that the > page number is repeated. I don't want to remove the > line \setupfootertexts[][\setups{t_footer}] because I > want the footer in 10pt. This doesn't answer your original question, but why not \setuppagenumbering[location={footer,right},style=\tfx] instead of lengthy setups? (Btw: you should better use \switchtobodyfont rather than \setupbodyfont in case you need to change font size.) The following solution might not be the most elegant one, but I use similar approach for exact positioning: \setuppagenumbering[location=] \definelayer [mypagenumber] [width=\paperwidth, height=\paperheight] \setupbackgrounds [page] [background=mypagenumber] \setlayerframed [mypagenumber] [voffset=\dimexpr(\paperheight-\makeupheight-\footerheight), preset=leftbottom] [width=\paperwidth,frame=off] {\tfx\pagenumber} Mojca