From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/27214 Path: news.gmane.org!not-for-mail From: Miguel Queiros Newsgroups: gmane.comp.tex.context Subject: Two Problems: Colored Chapter and Footnote positioning Date: Mon, 17 Apr 2006 23:38:59 +0100 Message-ID: <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: multipart/mixed; boundary="=-eoAtrvoAFdBaqyG1vieX" X-Trace: sea.gmane.org 1145313565 23181 80.91.229.2 (17 Apr 2006 22:39:25 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 17 Apr 2006 22:39:25 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Tue Apr 18 00:39:21 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 1FVcNE-00054h-Hc for gctc-ntg-context-518@m.gmane.org; Tue, 18 Apr 2006 00:39:12 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id E86581279E; Tue, 18 Apr 2006 00:39:11 +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 30156-05-5; Tue, 18 Apr 2006 00:39:05 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 72C021277E; Tue, 18 Apr 2006 00:39:05 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 95A891277E for ; Tue, 18 Apr 2006 00:39:04 +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 30156-05-4 for ; Tue, 18 Apr 2006 00:39:03 +0200 (CEST) Original-Received: from mail.bragatel.pt (zeus-r.bragatel.pt [217.70.64.205]) by ronja.ntg.nl (Postfix) with SMTP id 0932512772 for ; Tue, 18 Apr 2006 00:39:02 +0200 (CEST) Original-Received: (qmail 10455 invoked from network); 17 Apr 2006 22:39:01 -0000 Original-Received: from mail.bragatel.pt (HELO localhost) (217.70.64.253) by mail.bragatel.pt with SMTP; 17 Apr 2006 22:39:01 -0000 Original-Received: from c-217-70-68-153.bragatel.pt ([217.70.68.153]) by localhost (mail.bragatel.pt [217.70.64.253]) (qmail-z, port 25) with ESMTP id 10423-01 for ; Mon, 17 Apr 2006 23:39:01 +0100 (WEST) Original-To: ntg-context@ntg.nl X-Mailer: Evolution 2.4.1 X-Virus-Scanned: by mailserver at bragatel.pt 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:27214 Archived-At: --=-eoAtrvoAFdBaqyG1vieX Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hello, I'm facing two problems. The first one has to do with the fact that if I use \color[darkblue]{\chapter{Capitulo 1}} the line with \setuphead[chapter][header=3Dempty]=0D seems to be ignored because the chapter page gets the header too. I'v attached an example in the file "capitulo-cores.tex". 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).=20 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. Thank you! Miguel Queir=C3=B3s ----------------------------------------------------------- \setupcolors[state=3Dstart] \setuphead[chapter][header=3Dempty] \setupheadertexts[][chapter] \starttext \completecontent \color[darkblue]{\chapter{Capitulo 1}} % \chapter{\color[darkblue]{Capitulo 1}} \page Nada. \chapter{Capitulo 2} \page Nada. \chapter{Capitulo 3} \page Nada. \stoptext ----------------------------------------------------------- --=-eoAtrvoAFdBaqyG1vieX Content-Disposition: attachment; filename=capitulo-cores.tex Content-Type: text/x-tex; name=capitulo-cores.tex; charset=UTF-8 Content-Transfer-Encoding: quoted-printable % Problema % No caso da capitulo em azul a linha \setuphead[chapter][header=3Dempty]= =E9 ignorada. \setupcolors[state=3Dstart] \setuphead[chapter][header=3Dempty] \setupheadertexts[][chapter] \starttext \completecontent \color[darkblue]{\chapter{Capitulo 1}} % \chapter{\color[darkblue]{Capitulo 1}} \page Nada. \chapter{Capitulo 2} \page Nada. \chapter{Capitulo 3} \page Nada. \stoptext --=-eoAtrvoAFdBaqyG1vieX Content-Disposition: attachment; filename=footnote-posicao.tex Content-Type: text/x-tex; name=footnote-posicao.tex; charset=UTF-8 Content-Transfer-Encoding: 7bit % Dois problemas: % - Dois numeros de pagina % - Centrar o numero de pagina \setuplayout[ % leftmargin=5.6cm,leftmargindistance=0.4cm, rightmargin=5.6cm,rightmargindistance=1.0cm, topspace=1.3cm,headerdistance=0.2cm,header=1.5cm, footerdistance=0.2cm, footer=1.3cm, height=middle, width=10.4cm] \showframe \setupfootertexts[][\setups{t_footer}] \startsetups[t_footer] \setupbodyfont[10pt] \rightaligned{\pagenumber} \stopsetups \setuppagenumbering[location={footer}] \starttext \page Teste. \stoptext --=-eoAtrvoAFdBaqyG1vieX Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context --=-eoAtrvoAFdBaqyG1vieX--