From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/11926 Path: main.gmane.org!not-for-mail From: Patrick Gundlach Newsgroups: gmane.comp.tex.context Subject: Re: layer documentation? Date: Mon, 14 Apr 2003 09:44:04 +0200 Organization: privat Sender: ntg-context-admin@ntg.nl Message-ID: <873cklh6bf.fsf@gundla.ch> References: <5.2.0.9.1.20030413205319.02359a18@localhost> <5.2.0.9.1.20030413205319.02359a18@localhost> <87smsmxjoa.fsf@gundla.ch> <5.2.0.9.1.20030414084845.02066f78@server-1> Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1050306951 7985 80.91.224.249 (14 Apr 2003 07:55:51 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 14 Apr 2003 07:55:51 +0000 (UTC) Original-X-From: ntg-context-admin@ntg.nl Mon Apr 14 09:55:49 2003 Return-path: Original-Received: from ref.vet.uu.nl ([131.211.172.13] helo=ref.ntg.nl) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 194yof-00024V-00 for ; Mon, 14 Apr 2003 09:55:49 +0200 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id D17E510B3C; Mon, 14 Apr 2003 09:56:27 +0200 (MEST) Original-Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.188]) by ref.ntg.nl (Postfix) with ESMTP id 1E13010B32 for ; Mon, 14 Apr 2003 09:53:46 +0200 (MEST) Original-Received: from [212.227.126.161] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 194ymf-0003in-00 for ntg-context@ntg.nl; Mon, 14 Apr 2003 09:53:45 +0200 Original-Received: from [129.217.137.103] (helo=levana) by mrelayng.kundenserver.de with asmtp (Exim 3.35 #1) id 194ymf-0003KV-00 for ntg-context@ntg.nl; Mon, 14 Apr 2003 09:53:45 +0200 Original-Received: from pg by levana with local (Exim 3.12 #1 (Debian)) id 194ydI-0000CA-00 for ; Mon, 14 Apr 2003 09:44:04 +0200 Original-To: ntg-context@ntg.nl X-Lieblings-Musik: a.c. In-Reply-To: <5.2.0.9.1.20030414084845.02066f78@server-1> (Hans Hagen's message of "Mon, 14 Apr 2003 08:49:42 +0200") Original-Lines: 48 User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.3.50 (i586-pc-linux-gnu) Errors-To: ntg-context-admin@ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.0.13 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.comp.tex.context:11926 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:11926 Hans Hagen writes: >> >>So should I always use the [page] background to anchor the layer? >> > >> > [text][text] and [page] are repeated indeed >> >>[page] is not repeated here: >> >>%output=pdf >>\showframe >> >>\setupbackgrounds[page][background=abspos] >>\setupbackgrounds[text][text][background=relpos] > > sorry: can you try just one [text] OK, I did and found out that here none of those two are repeated. Even with state=repeat in \setupbackgrounds: %output=pdf \setupbackgrounds[page][background=abspos,state=repeat] \setupbackgrounds[text][background=relpos,state=repeat] \definelayer[abspos][option=test, width=\paperwidth, height=\paperheight, ] \definelayer[relpos][option=test,position=yes] \starttext \input tufte \setlayer[abspos][x=1cm,y=1cm]{\bfd It Works!} \setlayer[relpos][offset=1cm]{really?} \input tufte \page \input tufte \setlayer[relpos][hoffset=1cm,voffset=-1cm]{What does it look like?} \input tufte \page \input tufte \stoptext Patrick