From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/20461 Path: news.gmane.org!not-for-mail From: Richard Hirsch Newsgroups: gmane.comp.tex.context Subject: Re: lost position information with metafun registers Date: Thu, 19 May 2005 21:52:03 +0200 Message-ID: <1116532323.8095.4.camel@drr.elaphus> References: <1116449091.9670.29.camel@drr.elaphus> <428C6F64.5080207@wxs.nl> Reply-To: richard.hirsch@epost.de, mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1116671072 28590 80.91.229.2 (21 May 2005 10:24:32 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 21 May 2005 10:24:32 +0000 (UTC) Cc: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat May 21 12:24:23 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 1DZR9S-0007Ov-PD for gctc-ntg-context-518@m.gmane.org; Sat, 21 May 2005 12:24:14 +0200 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 7DE4C12778; Sat, 21 May 2005 12:25:25 +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 13280-01-2; Sat, 21 May 2005 12:25:24 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id EE53812797; Sat, 21 May 2005 10:59:03 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 1F36C127B4 for ; Thu, 19 May 2005 21:52:04 +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 18023-03 for ; Thu, 19 May 2005 21:52:03 +0200 (CEST) Original-Received: from mailout06.sul.t-online.com (mailout06.sul.t-online.com [194.25.134.19]) by ronja.ntg.nl (Postfix) with ESMTP id 49123127A6 for ; Thu, 19 May 2005 21:52:03 +0200 (CEST) Original-Received: from fwd35.aul.t-online.de by mailout06.sul.t-online.com with smtp id 1DYr3q-0000wA-03; Thu, 19 May 2005 21:52:02 +0200 Original-Received: from p54B6E65F.dip.t-dialin.net (bNeEAkZrYeODnp+tS89EbTCsPCbngCrsNEFnjezAu+ArfgLTSxOx0H@[84.182.230.95]) by fwd35.sul.t-online.de with esmtp id 1DYr3k-0WyDZo0; Thu, 19 May 2005 21:51:56 +0200 Original-To: Hans Hagen In-Reply-To: <428C6F64.5080207@wxs.nl> X-Mailer: Evolution 2.2.1 X-ID: bNeEAkZrYeODnp+tS89EbTCsPCbngCrsNEFnjezAu+ArfgLTSxOx0H X-TOI-MSGID: 4ec97b6a-339f-4dd6-8901-c7e6cadd218b X-Virus-Scanned: amavisd-new at ntg.nl X-Mailman-Approved-At: Sat, 21 May 2005 10:59:01 +0200 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:20461 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:20461 On Thu, 2005-05-19 at 12:50 +0200, Hans Hagen wrote: > that one gav eme a headache; i finally figured out that it's due to the fact > that positions are not yet loaded (so, if you move \starttext to the top of your > file, things would have worked ok) > > here is a patch for page-lyr.tex: > > \def\dosetMPlayer[#1][#2][#3]% > {\checkpositions % added > \edef\MPlayerwidth {\MPw{#2}}% > \edef\MPlayerheight{\MPh{#2}}% > \setlayer[#1][\c!x=\MPx{#2},\c!y=\MPy{#2},\c!position=\v!no,#3]} > > alternatively you can add \checkpositions tothe top of your file > > Hans AWESOME, everything works alright with the patch! Thank you very much for your help! Richard