From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/22870 Path: news.gmane.org!not-for-mail From: "Thomas A. Schmitz" Newsgroups: gmane.comp.tex.context Subject: Re: Anchoring layer Date: Wed, 5 Oct 2005 14:57:31 +0200 Message-ID: <3D1E9732-C5F4-41E3-B119-13D702EEBAE8@uni-bonn.de> References: <16C49C52-2BE0-48FB-AC5E-A1F78A987F8A@uni-bonn.de> <4343B52C.7000108@gmx.net> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v734) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1128517290 1690 80.91.229.2 (5 Oct 2005 13:01:30 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 5 Oct 2005 13:01:30 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Wed Oct 05 15:01:26 2005 Return-path: 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 1EN8t7-000395-3F for gctc-ntg-context-518@m.gmane.org; Wed, 05 Oct 2005 15:00:49 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id CBAA8127F8; Wed, 5 Oct 2005 15:00:48 +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 14733-01; Wed, 5 Oct 2005 15:00:48 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 1140A127EA; Wed, 5 Oct 2005 14:58:45 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 9C048127EA for ; Wed, 5 Oct 2005 14:58:43 +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 11379-05-3 for ; Wed, 5 Oct 2005 14:58:42 +0200 (CEST) Original-Received: from mailout01.sul.t-online.com (mailout01.sul.t-online.com [194.25.134.80]) by ronja.ntg.nl (Postfix) with ESMTP id AF33C1279D for ; Wed, 5 Oct 2005 14:58:42 +0200 (CEST) Original-Received: from fwd28.aul.t-online.de by mailout01.sul.t-online.com with smtp id 1EN8r4-0007oU-01; Wed, 05 Oct 2005 14:58:42 +0200 Original-Received: from [192.168.0.2] (TiSfRYZFoeRFVYSwc9OW-jFvXB84WncmKbgbpjqgUcrFTYwJAVJ30Y@[84.172.120.215]) by fwd28.sul.t-online.de with esmtp id 1EN8qy-1N4zBo0; Wed, 5 Oct 2005 14:58:36 +0200 In-Reply-To: <4343B52C.7000108@gmx.net> Original-To: mailing list for ConTeXt users X-Mailer: Apple Mail (2.734) X-ID: TiSfRYZFoeRFVYSwc9OW-jFvXB84WncmKbgbpjqgUcrFTYwJAVJ30Y@t-dialin.net X-TOI-MSGID: 02623fde-15ff-4390-8790-5c951d5ba61e X-Virus-Scanned: 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-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on smtp.ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:22870 Archived-At: Thanks for your suggestion, but I didn't get it to work. In the end, I had recourse to some low-level stuff (caution, ugly code ahead!): \defineoverlay[info][{\getbuffer[info]}] \setupbackgrounds[page][background={info}] \startbuffer[info] \vbox to \paperheight \bgroup \vskip -1 cm \framed[frame=off,align=high]{\tt \txx "\jobname" - \currentdate [y,/,mm,/,dd]\ - \currenttime\ - \realfolio\ of \lastpage} \egroup \stopbuffer (code adapted from construction of Thumb index on the wiki) Which seems to be doing exactly what I want. Thanks, and best Thomas On Oct 5, 2005, at 1:12 PM, Peter Rolf wrote: > \setuplayer[LAYERNAME][repeat=yes] > > \setlayer[LAYERNAME][x=??, y=20mm, location=c]{your status line} > > x should be (CROPLeftX+CROPrightX)/2 > > not tested.... > >