From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/76561 Path: news.gmane.org!not-for-mail From: Albrecht Kauffmann Newsgroups: gmane.comp.tex.context,gmane.comp.tex.metapost Subject: Re: MetaPost transformation Date: Thu, 31 May 2012 09:00:32 +0200 (CEST) Message-ID: 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 1338447647 17203 80.91.229.3 (31 May 2012 07:00:47 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 31 May 2012 07:00:47 +0000 (UTC) Cc: MetaPost List To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu May 31 09:00:46 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 1SZzN9-0008ME-LZ for gctc-ntg-context-518@m.gmane.org; Thu, 31 May 2012 09:00:39 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B4CBF101E9; Thu, 31 May 2012 09:00:38 +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 9GMmNPFemczE; Thu, 31 May 2012 09:00:36 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 9536F101E4; Thu, 31 May 2012 09:00:36 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C661E101E4 for ; Thu, 31 May 2012 09:00:34 +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 O1tanVO3Utiv for ; Thu, 31 May 2012 09:00:34 +0200 (CEST) Original-Received: from filter4-til.mf.surf.net (filter4-til.mf.surf.net [194.171.167.220]) by balder.ntg.nl (Postfix) with ESMTP id 15916101E2 for ; Thu, 31 May 2012 09:00:33 +0200 (CEST) Original-Received: from cl-mail.uni-potsdam.de (cl-mail.rz.uni-potsdam.de [141.89.68.1]) by filter4-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q4V70WKM016112 for ; Thu, 31 May 2012 09:00:33 +0200 Original-Received: from n-login-3 (n-login-3.rz.uni-potsdam.de [141.89.68.59]) by cl-mail.uni-potsdam.de (8.14.4/8.14.4) with ESMTP id q4V70WGK029067 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 31 May 2012 09:00:32 +0200 (CEST) In-Reply-To: X-Miltered: at n-mail-2 with ID 4FC71710.000 by Joe's j-chkmail (http : // j-chkmail dot ensmp dot fr)! X-j-chkmail-Enveloppe: 4FC71710.000 from n-login-3.rz.uni-potsdam.de/n-login-3.rz.uni-potsdam.de/141.89.68.59/n-login-3/ X-j-chkmail-Score: MSGID : 4FC71710.000 on cl-mail.uni-potsdam.de : j-chkmail score : . : R=. U=. O=. B=0.000 -> S=0.000 X-j-chkmail-Status: Ham X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=141.89.68.1; country=DE; region=11; city=Potsdam; latitude=52.4000; longitude=13.0667; http://maps.google.com/maps?q=52.4000,13.0667&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0VHgv0xaH - 49fabaadabd4 - 20120531 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.220 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:76561 gmane.comp.tex.metapost:2080 Archived-At: Hello Troy, if you declare a transform variable (e.g., t), it works: transform t; t := identity rotated 270 yscaled 0.5; show identity transformed t; >> (0,0,0,1,-0.5,0) Greetings Albrecht On Wed, 30 May 2012, 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? > > Troy Henderson > ___________________________________________________________________________________ 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 ___________________________________________________________________________________