From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/69972 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: A question about layers Date: Thu, 14 Jul 2011 16:35:19 +0200 Message-ID: References: <1310653531.1779.7.camel@marcin-laptop> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1310654138 14655 80.91.229.12 (14 Jul 2011 14:35:38 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 14 Jul 2011 14:35:38 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Jul 14 16:35:34 2011 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QhN0o-0003JR-KH for gctc-ntg-context-518@m.gmane.org; Thu, 14 Jul 2011 16:35:34 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 063FFCAE39; Thu, 14 Jul 2011 16:35:33 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id rz5AchQ-ltNB; Thu, 14 Jul 2011 16:35:28 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 5A63ACAE3B; Thu, 14 Jul 2011 16:35:28 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 05344CAE3B for ; Thu, 14 Jul 2011 16:35:27 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id RDmC7ej22vLD for ; Thu, 14 Jul 2011 16:35:24 +0200 (CEST) Original-Received: from filter2-ams.mf.surf.net (filter2-ams.mf.surf.net [192.87.102.70]) by balder.ntg.nl (Postfix) with ESMTP id ABA6BCAE39 for ; Thu, 14 Jul 2011 16:35:24 +0200 (CEST) Original-Received: from mail-fx0-f42.google.com (mail-fx0-f42.google.com [209.85.161.42]) by filter2-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p6EEZOCd008686 for ; Thu, 14 Jul 2011 16:35:24 +0200 Original-Received: by fxe23 with SMTP id 23so1015218fxe.15 for ; Thu, 14 Jul 2011 07:35:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; bh=ZwIM5vhbU/lIpR9IAT28v427x+PYDYrQodyts9Uabfk=; b=ZzcI/w7HZqX7svRlcmTWe7dEv9MUhK9bZkf1Fcu0uOkWgb/BzTTf7Q8SV9iqKjdwp6 3rJtbujwT9wdXaBo84NPl+SRYSnW7hzIr/D6iUxxamD6h3mRPhBC+CthqwkJNeN0X10g UoT0a+pDQJw34IS9hcA5ohemIut5fzQP7SImg= Original-Received: by 10.223.5.13 with SMTP id 13mr3529260fat.1.1310654123773; Thu, 14 Jul 2011 07:35:23 -0700 (PDT) Original-Received: from [192.168.2.31] (p5B0EEBD1.dip.t-dialin.net [91.14.235.209]) by mx.google.com with ESMTPS id n27sm189965faa.4.2011.07.14.07.35.21 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 14 Jul 2011 07:35:22 -0700 (PDT) In-Reply-To: <1310653531.1779.7.camel@marcin-laptop> X-Mailer: Apple Mail (2.1084) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.161.42; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0rF7Ozorv - 4cdfa5688747 - 20110714 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.70 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:69972 Archived-At: Am 14.07.2011 um 16:25 schrieb Marcin Borkowski: > OK, > = > after a pm from Mojca concerning my previous question I decided to look > into the "layers" mechanism. > = > It won't work for me - just nothing shows up. > = > What am I doing wrong? > = > Here's a minimal example: > = > \starttext > \definelayer[title][x=3D105mm,y=3D20mm] > \setlayer[title]{This is the title.} > \stoptext > = > (I'd also like to be able to "anchor" the title so that (105mm,20mm) are > the coordinates of the center, not the lower-left corner etc. How to do > that?) \definelayer[title][x=3D105mm,y=3D20mm,preset=3Dmiddle] \setupbackgrounds[page][background=3Dtitle] \starttext \setlayer[title]{This is the title.} =85 \stoptext Wolfgang ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________