From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/32773 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: Dynamic Elements on Layer Date: Sun, 14 Jan 2007 12:19:02 -0500 (EST) Message-ID: References: <8570be060701140722j52e7a03bq8606861b2e9f2eab@mail.gmail.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: sea.gmane.org 1168890657 13725 80.91.229.12 (15 Jan 2007 19:50:57 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 15 Jan 2007 19:50:57 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Mon Jan 15 20:50:54 2007 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 1H6WO8-00048d-Cn for gctc-ntg-context-518@m.gmane.org; Mon, 15 Jan 2007 19:16:56 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 2A8981FFFE; Sun, 14 Jan 2007 18:15:21 +0100 (CET) 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 31335-10-7; Sun, 14 Jan 2007 18:15:14 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 856141FF58; Sun, 14 Jan 2007 18:15:14 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 0E6611FBEF for ; Sun, 14 Jan 2007 18:15:12 +0100 (CET) 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 31335-10-6 for ; Sun, 14 Jan 2007 18:15:04 +0100 (CET) Original-Received: from hackers.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.14.81]) by ronja.ntg.nl (Postfix) with ESMTP id 78A3A1FF58 for ; Sun, 14 Jan 2007 18:15:04 +0100 (CET) Original-Received: FROM aditya.annarb01.mi.comcast.net (c-68-40-50-205.hsd1.mi.comcast.net [68.40.50.205]) BY hackers.mr.itd.umich.edu ID 45AA6607.157A5.9411 ; 14 Jan 2007 12:19:03 -0500 Original-To: mailing list for ConTeXt users In-Reply-To: <8570be060701140722j52e7a03bq8606861b2e9f2eab@mail.gmail.com> 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:32773 Archived-At: On Sun, 14 Jan 2007, Helin Gai wrote: > Hi, > > I'm still trying to place my running heads into the margin, 5 cm away > from the top. My new attempt is to use layer: > > \definelayer[colin][width=\paperwidth,height=\paperheight,x=0mm,y=0mm] > \setlayer[colin][x=5cm,y=3cm]{\framed{\getmarking[chapter][current]}} > \setupbackgrounds[page][background=colin] > > But it doesn't seem to work either. Does anyone know why it is? Maybe because the layer is not evaluated for each page. You can try putting the \setlayer stuff inside \setupheadertexts or append them to beforeeverypage or aftereverypage, like \appendtoks \setlayer[...] \to \aftereverypage Aditya