From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/76554 Path: news.gmane.org!not-for-mail From: Troy Henderson Newsgroups: gmane.comp.tex.context,gmane.comp.tex.metapost Subject: MetaPost transformation Date: Wed, 30 May 2012 16:10:17 -0500 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0340136602==" X-Trace: dough.gmane.org 1338412229 16366 80.91.229.3 (30 May 2012 21:10:29 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 30 May 2012 21:10:29 +0000 (UTC) To: MetaPost List , mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed May 30 23:10:26 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 1SZq9x-0006N2-FL for gctc-ntg-context-518@m.gmane.org; Wed, 30 May 2012 23:10:25 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 6C59D101E4; Wed, 30 May 2012 23:10:24 +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 BLSHLFfN8YeD; Wed, 30 May 2012 23:10:23 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id DC348101E0; Wed, 30 May 2012 23:10:22 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 8C6AD101E0 for ; Wed, 30 May 2012 23:10:21 +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 qgGgxT0x3qyf for ; Wed, 30 May 2012 23:10:19 +0200 (CEST) Original-Received: from filter1-til.mf.surf.net (filter1-til.mf.surf.net [194.171.167.217]) by balder.ntg.nl (Postfix) with ESMTP id 6FEEE101DD for ; Wed, 30 May 2012 23:10:19 +0200 (CEST) Original-Received: from mail-ob0-f169.google.com (mail-ob0-f169.google.com [209.85.214.169]) by filter1-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q4ULAHgw016229 for ; Wed, 30 May 2012 23:10:18 +0200 Original-Received: by obbwd18 with SMTP id wd18so379904obb.14 for ; Wed, 30 May 2012 14:10:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=aefcsKZ/HYgM5H9V/0rJsOfVeBxx5YCPHegtIZklkPA=; b=gludveAPE0JGnAJtTAS0odOIaxCdeBYOYokUvds6qrfoVYjRT2E06Ma9t76mv2NLdZ 9c+ON/Q21J5Qhbi7NC/NhLFsqG17hJabwNvXLvUpiaxuZFwTCBTgrsqsS+bEH4LksaBn S9rXWItM9OV3f6byOfihz2gkFuCeRgjkwcoKjuI3qkij5RKSlycUwRmZTdrs4Qn04B+/ gOD+8BgzviWoXoUObHkUY1xZnLElWFIuaF7f2cxg71vPkdJzJ1G3yvLEEJOta109pYsK 5j91CPkV1vDIwYQLI2SU51yWsY4XLhasClR652TPxfA1QDzmFetxP/x2ovd3Wmo/NjiM /fIw== Original-Received: by 10.182.151.113 with SMTP id up17mr16677525obb.40.1338412217077; Wed, 30 May 2012 14:10:17 -0700 (PDT) Original-Received: by 10.76.80.68 with HTTP; Wed, 30 May 2012 14:10:17 -0700 (PDT) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.214.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: 0RHglahB0 - 66222902fa9a - 20120530 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.217 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:76554 gmane.comp.tex.metapost:2075 Archived-At: --===============0340136602== Content-Type: multipart/alternative; boundary=f46d0444ede1c310c304c1476027 --f46d0444ede1c310c304c1476027 Content-Type: text/plain; charset=ISO-8859-1 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 --f46d0444ede1c310c304c1476027 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I've encountered a MetaPost issue, and since many MetaPost users also u= se ConTeXt (and vice-versa), I am posting this question on both lists.
<= br>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.
<to be read again> <= br> =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 ,
l.26 ^^Ishow id= entity transformed (0,0,0,1,
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0=A0 -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.=A0 Is this a bug in MetaPost, or am I not allowed to use = transformations directly with sextuples?

Troy Henderson
--f46d0444ede1c310c304c1476027-- --===============0340136602== 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 ___________________________________________________________________________________ --===============0340136602==--