ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Troy Henderson <thenders@gmail.com>
To: MetaPost List <metapost@tug.org>,
	mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: MetaPost transformation
Date: Wed, 30 May 2012 16:10:17 -0500	[thread overview]
Message-ID: <CAFP+xFLWzODPCiqF=Lpa3FjDnHLkiv9iEjuxrdPOiu5kV2tLwA@mail.gmail.com> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 817 bytes --]

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.
<to be read again>
                   ,
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

[-- Attachment #1.2: Type: text/html, Size: 927 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

             reply	other threads:[~2012-05-30 21:10 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-30 21:10 Troy Henderson [this message]
2012-05-30 21:30 ` Hans Hagen
2012-05-31  0:56   ` Troy Henderson
     [not found]     ` <CAFP+xFJmoZ0PBWK=91SY7jPmEa_4gWGSBHfnt6S659jEiQCbAg@mail.g mail.com>
2012-05-31  2:37       ` [NTG-context] " Dan Luecking
2012-05-31  3:44         ` [metapost] " Troy Henderson
2012-05-31  7:00 ` Albrecht Kauffmann
2012-05-31 12:31   ` Troy Henderson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAFP+xFLWzODPCiqF=Lpa3FjDnHLkiv9iEjuxrdPOiu5kV2tLwA@mail.gmail.com' \
    --to=thenders@gmail.com \
    --cc=metapost@tug.org \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).