From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/16496 Path: main.gmane.org!not-for-mail From: Eckhart =?iso-8859-1?Q?Guth=F6hrlein?= Newsgroups: gmane.comp.tex.context Subject: incompatibility metafun / metaobj Date: Fri, 17 Sep 2004 10:32:54 +0200 Sender: ntg-context-bounces@ntg.nl Message-ID: <20040917083254.GA4236@cebitec.uni-bielefeld.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1095409991 19033 80.91.229.6 (17 Sep 2004 08:33:11 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 17 Sep 2004 08:33:11 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Fri Sep 17 10:33:00 2004 Return-path: Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1C8EAt-0005IN-00 for ; Fri, 17 Sep 2004 10:32:59 +0200 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 5A29D1279C; Fri, 17 Sep 2004 10:32:59 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 22388-02; Fri, 17 Sep 2004 10:32:57 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 624CA12797; Fri, 17 Sep 2004 10:32:57 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C386D12797 for ; Fri, 17 Sep 2004 10:32:56 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 22414-02-2 for ; Fri, 17 Sep 2004 10:32:56 +0200 (CEST) Original-Received: from smtp-relay.CeBiTec.Uni-Bielefeld.DE (unknown [129.70.160.28]) by ronja.ntg.nl (Postfix) with ESMTP id 414871276B for ; Fri, 17 Sep 2004 10:32:56 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by smtp-relay.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTP id 068CC2D607 for ; Fri, 17 Sep 2004 10:32:56 +0200 (MEST) Original-Received: from smtp-relay.CeBiTec.Uni-Bielefeld.DE ([127.0.0.1]) by localhost (sauron [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 26470-02-8 for ; Fri, 17 Sep 2004 10:32:55 +0200 (MEST) Original-Received: from baloo.Genetik.Uni-Bielefeld.DE (baloo.CeBiTec.Uni-Bielefeld.DE [129.70.160.60]) by smtp-relay.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTP id 289BA2D606 for ; Fri, 17 Sep 2004 10:32:55 +0200 (MEST) Original-Received: by baloo.Genetik.Uni-Bielefeld.DE (Postfix, from userid 13119) id D4CF4145C; Fri, 17 Sep 2004 10:32:54 +0200 (MEST) Original-To: ntg-context@ntg.nl Mail-Followup-To: ntg-context@ntg.nl Content-Disposition: inline User-Agent: Mutt/1.4.1i X-Virus-Scanned: by amavisd-new at cebitec.uni-bielefeld.de X-Virus-Scanned: by 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: , Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: by amavisd-new at ntg.nl Xref: main.gmane.org gmane.comp.tex.context:16496 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:16496 Hi all, there seems to be an incompatibility between metafun's anglebetween macro and the metaobj package. Sample input: \startMPinclusions input metaobj; \stopMPinclusions \startreusableMPgraphic{ff} draw anglebetween(origin--(0,100),origin--(100,0),(btex $\vartheta$ etex)); \stopreusableMPgraphic \starttext \reuseMPgraphic{ff} \stoptext This results into: error in metapost run : fftest-mpgraph.mp:124 Running 'mpost fftest-mpgraph' manually shows the following error: ! Missing argument to arctime. (19.92523) on->(arctime.if(EXPR0)>0:(EXPR0) else:(arclength((EXPR1))+(EXPR0))fi.of(EXPR1... ; anglebetween->...nta:=point.anglelength.on(EXPR2); pointb:=point.anglelength.... l.121 )) ; ? I have tried to locate the problem more precisely, but my metapost skills are not sufficient, so I have to ask for help here. Regards, Eckhart