From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/22868 Path: news.gmane.org!not-for-mail From: Peter Rolf Newsgroups: gmane.comp.tex.context Subject: Re: Anchoring layer Date: Wed, 05 Oct 2005 13:12:44 +0200 Message-ID: <4343B52C.7000108@gmx.net> References: <16C49C52-2BE0-48FB-AC5E-A1F78A987F8A@uni-bonn.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1128510845 12850 80.91.229.2 (5 Oct 2005 11:14:05 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 5 Oct 2005 11:14:05 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Wed Oct 05 13:13:57 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 1EN7CO-0008AV-6W for gctc-ntg-context-518@m.gmane.org; Wed, 05 Oct 2005 13:12:36 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id BFE46127C5; Wed, 5 Oct 2005 13:12:35 +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 07183-06; Wed, 5 Oct 2005 13:12:31 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 02D2C127E9; Wed, 5 Oct 2005 13:12:31 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id F30EF127E9 for ; Wed, 5 Oct 2005 13:12:29 +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 07368-02 for ; Wed, 5 Oct 2005 13:12:29 +0200 (CEST) Original-Received: from mail.gmx.net (pop.gmx.de [213.165.64.20]) by ronja.ntg.nl (Postfix) with SMTP id EC31E127C5 for ; Wed, 5 Oct 2005 13:12:28 +0200 (CEST) Original-Received: (qmail invoked by alias); 05 Oct 2005 11:12:28 -0000 Original-Received: from i5387DC8A.versanet.de (EHLO [192.168.0.3]) [83.135.220.138] by mail.gmx.net (mp012) with SMTP; 05 Oct 2005 13:12:28 +0200 X-Authenticated: #24293357 User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: en-us, en Original-To: mailing list for ConTeXt users In-Reply-To: <16C49C52-2BE0-48FB-AC5E-A1F78A987F8A@uni-bonn.de> X-Enigmail-Version: 0.93.0.0 X-Y-GMX-Trusted: 0 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:22868 Archived-At: Hi Thomas, Thomas A. Schmitz wrote: > I'm trying to write a module that will mimick the behavior of crop.sty > in LaTeX (providing fancier cropmarks than the ones given by the > ConTeXt \setuplayout command). I'm done with the code for the > cropmarks, and this is working fine. Now I want to have a status line > in between the two top marks. How can I give an absolute position for a > layer that will put this line midaligned and exactly, say 0.5cm above > the level of the upper corners of the page? What I tried so far is: > \composedlayer and something like \setlayer[y=2cm] - will only be on > the first page, not repeated; \setuplayer[LAYERNAME][repeat=yes] \setlayer[LAYERNAME][x=??, y=20mm, location=c]{your status line} x should be (CROPLeftX+CROPrightX)/2 not tested.... Greetings, Peter > \framed - I can give the frame a height like 1.3\textheight, but then > the position will not be fixed, but change with the textheight > > I guess there must be a trivial solution, but I haven't found it yet... > > Best > > Thomas > _______________________________________________ > ntg-context mailing list > ntg-context@ntg.nl > http://www.ntg.nl/mailman/listinfo/ntg-context > >