From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/62865 Path: news.gmane.org!not-for-mail From: Herbert Voss Newsgroups: gmane.comp.tex.context Subject: metapost -- mplib Date: Sat, 23 Oct 2010 10:00:13 +0200 Organization: Freie =?UTF-8?B?VW5pdmVyc2l0w6R0IEJlcmxpbg==?= Message-ID: <4CC2960D.5070106@FU-Berlin.DE> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1287820838 30737 80.91.229.12 (23 Oct 2010 08:00:38 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 23 Oct 2010 08:00:38 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Oct 23 10:00:37 2010 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 1P9Z1l-0007To-CF for gctc-ntg-context-518@m.gmane.org; Sat, 23 Oct 2010 10:00:33 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 26E7BCA77B; Sat, 23 Oct 2010 10:00:32 +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 rIREp3FQ2ADd; Sat, 23 Oct 2010 10:00:29 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C4544CA70C; Sat, 23 Oct 2010 10:00:28 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C92FBCA70C for ; Sat, 23 Oct 2010 10:00:26 +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 sKIAT5MaMJtJ for ; Sat, 23 Oct 2010 10:00:15 +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 DA3EACA60F for ; Sat, 23 Oct 2010 10:00:14 +0200 (CEST) Original-Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) by filter2-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id o9N80Exe000781 for ; Sat, 23 Oct 2010 10:00:14 +0200 Original-Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost1.zedat.fu-berlin.de (Exim 4.69) for ntg-context@ntg.nl with esmtp (envelope-from ) id <1P9Z1S-0005Vz-49>; Sat, 23 Oct 2010 10:00:14 +0200 Original-Received: from p54bfcfce.dip.t-dialin.net ([84.191.207.206] helo=[192.168.1.12]) by inpost2.zedat.fu-berlin.de (Exim 4.69) for ntg-context@ntg.nl with esmtpsa (envelope-from ) id <1P9Z1R-0006Wv-Qj>; Sat, 23 Oct 2010 10:00:14 +0200 User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.9.1.12) Gecko/20100914 SUSE/3.0.8 Thunderbird/3.0.8 X-Originating-IP: 84.191.207.206 X-Bayes-Prob: 0.0028 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=130.133.4.66; country=DE; region=16; city=Berlin; latitude=52.5167; longitude=13.4000; http://maps.google.com/maps?q=52.5167,13.4000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0rDm80ebA - c65317a5eff4 - 20101023 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:62865 Archived-At: When I run this example with mpost amd mptopdf, everything is fine. But running it with context mkiv, using its mplib I get an error. The problematic command is dotlabels.top(0,1,2,3,4,5,6); Commented it out, then it works with context, too. Herbert ------------------------------------------------------ [...] systems : begin file latex5 at line 1 mplib : initializing instance 'metafun' using format 'metafun' mplib : loading 'metafun.mp' (experimental metapost version two) mplib > mp terminal: ! Redundant equation. ; <*> ...caled 0.2in yscaled 0.08 rotated 30; u=4cm; path p; x0=x3=x4; z1-z0=0... mplib > mp error: unknown, no error, terminal or log messages mplib > mp terminal: [1] [...] ------------------------------------------------------- \starttext \startMPcode pickup pencircle scaled 0.2in yscaled 0.08 rotated 30; u=4cm; path p; x0=x3=x4; z1-z0=0.5in*dir 30; z2-z3=whatever*(z1-z0); z6-z5=whatever*(z1-z0); z1-z6=1.2*(z3-z0); rt x3=lft x2;x5=0.55[x4,x6]; y4=y6; lft x3=bot y5=0; top y2=1in; draw z0--z1--z2--z3--z4--z5--z6 withcolor .7white; dotlabels.top(0,1,2,3,4,5,6); \stopMPcode \stoptext ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________