From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/84632 Path: news.gmane.org!not-for-mail From: =?windows-1252?Q?Pablo_Rodr=EDguez?= Newsgroups: gmane.comp.tex.context,gmane.spam.detected Subject: Re: wrong positioning of MP graphic in layer Date: Mon, 07 Oct 2013 22:04:32 +0200 Message-ID: <525313D0.1040601@gmx.es> References: <5252D9A7.7090201@gmx.es> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1381176282 27325 80.91.229.3 (7 Oct 2013 20:04:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 7 Oct 2013 20:04:42 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Oct 07 22:04:47 2013 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VTH2q-0004OJ-Lp for gctc-ntg-context-518@m.gmane.org; Mon, 07 Oct 2013 22:04:44 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C1C87101E8; Mon, 7 Oct 2013 22:02:14 +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 l-ZAtb5SkURj; Mon, 7 Oct 2013 22:02:12 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 75397101E5; Mon, 7 Oct 2013 22:02:12 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 51D96101E5 for ; Mon, 7 Oct 2013 22:02:11 +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 SwUX5wPvYddG for ; Mon, 7 Oct 2013 22:02:09 +0200 (CEST) Original-Received: from filter4-ams.mf.surf.net (filter4-ams.mf.surf.net [192.87.102.72]) by balder.ntg.nl (Postfix) with ESMTP id 39C3610193 for ; Mon, 7 Oct 2013 22:02:09 +0200 (CEST) Original-Received: from mout.gmx.net (mout.gmx.net [212.227.17.22]) by filter4-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r97K8Npk017390 for ; Mon, 7 Oct 2013 22:08:23 +0200 Original-Received: from localhost.localdomain ([81.44.210.3]) by mail.gmx.com (mrgmx002) with ESMTPSA (Nemesis) id 0Lug8u-1Vtuc90ZDk-00zrgO for ; Mon, 07 Oct 2013 22:04:37 +0200 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.0 In-Reply-To: X-Provags-ID: V03:K0:/gxuS+scn2/RHjBM9qF1ZtSjM23SO86G8q1UmEy6XHE//AIyu8V EVgWQ5dy659PFg7cHtHiZhKJK1ZUzurhEc4ceDb0ZEEVGR1bvMAyM0NW/pQZagZ2HjLYgo1 jKpVkGD5E45gDjXip+FQ7UkKw5pwy51kpMOEzpOeFsQVrFOBdZswXzFgxxmQjeYjvh9yG+f vynkeo/0L0sJZtcuZFIwg== X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=212.227.17.22; country=DE; latitude=51.0000; longitude=9.0000; http://maps.google.com/maps?q=51.0000,9.0000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 01Kyk8n8D - 97774feea78e - 20131007 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.72 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl X-Spam-Report: 5.4 points; * 3.2 RCVD_ILLEGAL_IP Received: contains illegal IP address * 2.2 RCVD_IN_BL_SPAMCOP_NET RBL: Received via a relay in bl.spamcop.net * [Blocked - see ] Xref: news.gmane.org gmane.comp.tex.context:84632 gmane.spam.detected:5096277 Archived-At: On 10/07/2013 07:16 PM, luigi scarso wrote: > On Mon, Oct 7, 2013 at 5:56 PM, Pablo Rodr=EDguez wrote: > Dear list, > = > I have the following sample: > [...] Many thanks for your reply, Luigi. I need to insist on this sample, because the layer doesn=92t behave as such: \definelayer[wrongpositioned][x=3D5000cm, y=3D5000cm, state=3Dstart] \setuplayer[wrongpositioned]{\startMPcode draw (0mm,0mm)--(8mm,0mm)--(8mm,38mm)--(14mm,38mm) ; \stopMPcode} \setupbackgrounds[page][background=3D{wrongpositioned}] \starttext \input knuth \stoptext x and y are outside the page in the layer definition (50 meters). It should be a stupid error, but I cannot say which one. It is a line that I need for my work. > Could anyone be so kind to explain me what location and corner mean in > layers? > = > You can start from here > [...] Many thanks for this excellent example. Playing with it is the best way to learn. Thanks again for your help, Pablo -- = http://www.ousia.tk ___________________________________________________________________________= ________ 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 ___________________________________________________________________________= ________