From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/68600 Path: news.gmane.org!not-for-mail From: =?UTF-8?Q?Vedran_Mileti=C4=87?= Newsgroups: gmane.comp.tex.context Subject: MPdefinitions Date: Mon, 23 May 2011 12:02:22 +0200 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1025500212==" X-Trace: dough.gmane.org 1306144980 31879 80.91.229.12 (23 May 2011 10:03:00 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 23 May 2011 10:03:00 +0000 (UTC) To: NTG-ConTeXt mailing list Original-X-From: ntg-context-bounces@ntg.nl Mon May 23 12:02:56 2011 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 1QORyS-00063t-2X for gctc-ntg-context-518@m.gmane.org; Mon, 23 May 2011 12:02:56 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C6029CAD3D; Mon, 23 May 2011 12:02:55 +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 B58rxA9LHzcP; Mon, 23 May 2011 12:02:50 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 64BBBCAD33; Mon, 23 May 2011 12:02:50 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 0D6DECAD33 for ; Mon, 23 May 2011 12:02:49 +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 LCEEXdi3aFxp for ; Mon, 23 May 2011 12:02:44 +0200 (CEST) Original-Received: from filter4-nij.mf.surf.net (filter4-nij.mf.surf.net [195.169.124.155]) by balder.ntg.nl (Postfix) with ESMTP id 5C99BCAD30 for ; Mon, 23 May 2011 12:02:44 +0200 (CEST) Original-Received: from mail-pv0-f169.google.com (mail-pv0-f169.google.com [74.125.83.169]) by filter4-nij.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p4NA2grD005749 for ; Mon, 23 May 2011 12:02:43 +0200 Original-Received: by pvc12 with SMTP id 12so3278832pvc.14 for ; Mon, 23 May 2011 03:02:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:from:date:message-id:subject:to :content-type; bh=Vy0TQ+ED2GmJT9yLItX3M6IQodSYqiFxGq/JxJfIqes=; b=Kf9+sJxxQZH1pt7XkSzHpobyWc70SXsHZOdoao9Se7L1t+8FuH3WxfZ2oPJhV0ovFD MPD/sbtig0o5Z3/WGseJrJ+0TcQIM05vMAu24F97cQdCvgglvr6OVn4eOzgH+EZ+fSZh NlFDmmHFA893m1nwtOQZrEzJS93GfCK2DOWQc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=JWJR/IKIlrA00cNJhLtGsRcGyupq1h1pgXpfAEZ+TFy0F+uCG60eUolBUBCK76aoss 2udsam6IkPJKGFEBInRsEqPZ/Xm2r74i27lgX93E1ETotUxMVZ491k7Ym8IyxbrEXYB2 BNPAYRu67csqoI389zcgVuXPPJSOywXkK0DhA= Original-Received: by 10.68.37.101 with SMTP id x5mr2062159pbj.100.1306144962114; Mon, 23 May 2011 03:02:42 -0700 (PDT) Original-Received: by 10.68.49.233 with HTTP; Mon, 23 May 2011 03:02:22 -0700 (PDT) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=74.125.83.169; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 04EKW2HA6 - 6ee8f26d75cb - 20110523 X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.155 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:68600 Archived-At: --===============1025500212== Content-Type: multipart/alternative; boundary=bcaec520f1717df4e604a3ee9217 --bcaec520f1717df4e604a3ee9217 Content-Type: text/plain; charset=UTF-8 Hi, compiling example with quadriliterals and \startMPdefinitions{solvers} \stopMPdefinitions from MetaFun manual, regardless of the code that is commented out inside MPdefintions environment, gives: ! You can't use `\relax' after \the. system > tex > error on line 30 in file solvers.tex: You can't use ` ... 20 % z1=0.5[z11,z13] ; z2=0.5[z21,z23] ; 21 % z3=0.5[z31,z33] ; z4=0.5[z41,z43] ; 22 % draw z1--z3 dashed evenly ; draw z2--z4 dashed evenly ; 23 % z0=whatever[z1,z3]=whatever[z2,z4] ; 24 % mark_rt_angle (z1,z0,z2); 25 % if show_labels>0: 26 % draw_problem_labels ; 27 % fi; 28 % endgroup ; 29 % enddef ; 30 >> \stopMPdefinitions 31 32 \starttext 33 %a 34 \stoptext \@MPF@::solvers \dostartMPdefinitions ...er {\the \MPinstancetoks #2} l.30 \stopMPdefinitions Is this a bug? Vedran --bcaec520f1717df4e604a3ee9217 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: base64 SGksPGJyPjxicj5jb21waWxpbmcgZXhhbXBsZSB3aXRoIHF1YWR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zdG9wTVBkZWZpbml0aW9uczxicj4z McKgwqDCoMKgIDxicj4zMsKgwqDCoMKgIFxzdGFydHRleHQ8YnI+MzPCoMKgwqDCoCAlYTxicj4z NMKgwqDCoMKgIFxzdG9wdGV4dDxicj48YnI+Jmx0O3JlY2VudGx5IHJlYWQmZ3Q7IFxATVBGQDo6 c29sdmVycyA8YnI+wqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDC oMKgwqDCoMKgwqDCoMKgwqAgPGJyPlxkb3N0YXJ0TVBkZWZpbml0aW9ucyAuLi5lciB7XHRoZSBc TVBpbnN0YW5jZXRva3MgPGJyPgoKwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKg wqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDC oMKgwqAgIzJ9PGJyPmwuMzAgXHN0b3BNUGRlZmluaXRpb25zPGJyPjxicj5JcyB0aGlzIGEgYnVn Pzxicj48YnI+VmVkcmFuPGJyPgo= --bcaec520f1717df4e604a3ee9217-- --===============1025500212== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============1025500212==--