From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/76556 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context,gmane.comp.tex.metapost Subject: Re: MetaPost transformation Date: Wed, 30 May 2012 23:30:32 +0200 Message-ID: <4FC69178.8020300@wxs.nl> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1338413479 25892 80.91.229.3 (30 May 2012 21:31:19 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 30 May 2012 21:31:19 +0000 (UTC) Cc: MetaPost List To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed May 30 23:31:18 2012 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SZqU5-0003nG-96 for gctc-ntg-context-518@m.gmane.org; Wed, 30 May 2012 23:31:13 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B6A01101E8; Wed, 30 May 2012 23:31:12 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 2OU+f0sCUAqe; Wed, 30 May 2012 23:31:10 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 92BFE101E0; Wed, 30 May 2012 23:31:10 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id AE17C101E0 for ; Wed, 30 May 2012 23:31:09 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id Hn7NSz251ZeM for ; Wed, 30 May 2012 23:31:08 +0200 (CEST) Original-Received: from filter3-nij.mf.surf.net (filter3-nij.mf.surf.net [195.169.124.154]) by balder.ntg.nl (Postfix) with ESMTP id 9A5F7101DD for ; Wed, 30 May 2012 23:31:08 +0200 (CEST) Original-Received: from smtp.ziggozakelijk.nl (D57D1DA2.static.ziggozakelijk.nl [213.125.29.162]) by filter3-nij.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id q4ULV7v6005832 for ; Wed, 30 May 2012 23:31:08 +0200 X-Default-Received-SPF: pass (skip=loggedin (res=PASS)) x-ip-name=10.100.1.101; Original-Received: from [10.100.1.101] (unverified [10.100.1.101]) by pragma-net.nl (SurgeMail 5.3h2) with ESMTP (TLS) id 4019-1713362 for multiple; Wed, 30 May 2012 23:31:03 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:12.0) Gecko/20120428 Thunderbird/12.0.1 In-Reply-To: X-Authenticated-User: hagen@controller-9 X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=213.125.29.162; country=NL; region=03; city=Hattem; latitude=52.4724; longitude=6.0696; http://maps.google.com/maps?q=52.4724,6.0696&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0dHglv7SJ - 5809334dca90 - 20120530 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.154 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.13 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:76556 gmane.comp.tex.metapost:2076 Archived-At: On 30-5-2012 23:10, Troy Henderson wrote: > I've encountered a MetaPost issue, and since many MetaPost users also use > ConTeXt (and vice-versa), I am posting this question on both lists. > > The command > >> show identity rotated 270 yscaled 0.5; > > outputs > > (0,0,0,1,-0.5,0) > > as expected, while the command > >> show identity transformed (0,0,0,1,-0.5,0); > > errors with > > --- > ! Missing `)' has been inserted. > > , > l.26 ^^Ishow identity transformed (0,0,0,1, > -0.5,0); > --- > > I am using MetaPost 1.504, and the problem seems to be that MetaPost does > not like me using the sextuple (0,0,0,1,-0.5,0) directly, but this is the > most convenient method for me to describe my transformations. Is this a > bug in MetaPost, or am I not allowed to use transformations directly with > sextuples? It looks like sextuples are no basic datatype. I think that the show is just a way to output the internal representation. Of course it would make sense to have sixtuples (I can even think of a generic n-tuple). Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl ----------------------------------------------------------------- ___________________________________________________________________________________ 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 ___________________________________________________________________________________