From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/25195 Path: news.gmane.org!not-for-mail From: Henning Hraban Ramm Newsgroups: gmane.comp.tex.context Subject: layer placement question Date: Sun, 15 Jan 2006 13:43:36 +0100 Message-ID: <0DD24521-8CB0-46A2-B7C3-540721F7A5F1@fiee.net> References: <09461146-F389-465D-AB0A-40C0E63AA81A@fiee.net> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v746.2) Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1137329029 14505 80.91.229.2 (15 Jan 2006 12:43:49 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 15 Jan 2006 12:43:49 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Sun Jan 15 13:43:44 2006 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 ciao.gmane.org with esmtp (Exim 4.43) id 1Ey7EV-0005MI-R0 for gctc-ntg-context-518@m.gmane.org; Sun, 15 Jan 2006 13:43:43 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 89A6812838; Sun, 15 Jan 2006 13:43:43 +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 05299-01-6; Sun, 15 Jan 2006 13:43:40 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 86F911283B; Sun, 15 Jan 2006 13:43:40 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 526E812838 for ; Sun, 15 Jan 2006 13:43:39 +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 05299-01-5 for ; Sun, 15 Jan 2006 13:43:37 +0100 (CET) Original-Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.177]) by ronja.ntg.nl (Postfix) with SMTP id B50371283B for ; Sun, 15 Jan 2006 13:43:37 +0100 (CET) Original-Received: from [83.79.17.60] (helo=[10.128.9.3]) by mrelayeu.kundenserver.de (node=mrelayeu5) with ESMTP (Nemesis), id 0ML25U-1Ey7EP0nBO-0008LO; Sun, 15 Jan 2006 13:43:37 +0100 In-Reply-To: <09461146-F389-465D-AB0A-40C0E63AA81A@fiee.net> Original-To: mailing list for ConTeXt users X-Mailer: Apple Mail (2.746.2) X-Provags-ID: kundenserver.de abuse@kundenserver.de login:71ece21a21b2fa6ef1812787a4eaee0e 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-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:25195 Archived-At: Another question, regarding layer placement: \def\bleed{3mm} \setvalue{LogoHeight}{20mm} \setvalue{LogoWidth}{60mm} \setvalue{LogoHOffset}{130mm} \definelayer[logolayer] [x=3D-\bleed, y=3D-\bleed, width=3D\paperwidth, height=3D\paperheight] \setlayerframed[logolayer] [y=3D-\bleed, x=3D\dimexpr(\getvalue{LogoHOffset}+\bleed)] [height=3D\dimexpr(\getvalue{LogoHeight}+\bleed), width=3D\getvalue{LogoWidth}, frame=3Doff, offset=3D0mm, align=3Dlow, background=3Dcolor, backgroundcolor=3Dred]{my logo} I would expect that the x/y coordinates in \setlayer(framed) relate =20 to the layer's origin (-3, -3) and thus my logo gets placed at (130, =20 -3). But in fact it's placed at (133, -3), i.e. x starts at 0 instead of =20 -3. Why? Gr=FC=DFlis vom Hraban! --- http://www.fiee.net/texnique/ http://contextgarden.net http://www.cacert.org (I'm an assurer)