From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/36641 Path: news.gmane.org!not-for-mail From: "Santy, Michael" Newsgroups: gmane.comp.tex.context Subject: externalfigure rotation Date: Mon, 17 Sep 2007 08:38:06 -0500 Message-ID: <6703815B292B664DBAEC55EE3192386A20BB70@poseidon.in.dynetics.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: dough.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1167309240==" X-Trace: sea.gmane.org 1190036641 15629 80.91.229.10 (17 Sep 2007 13:44:01 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 17 Sep 2007 13:44:01 +0000 (UTC) To: Original-X-From: ntg-context-bounces@ntg.nl Mon Sep 17 15:43:00 2007 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by dough.gmane.org with esmtp (Exim 4.50) id 1IXGsN-0005gS-UB for gctc-ntg-context-518@m.gmane.org; Mon, 17 Sep 2007 15:43:00 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 088E91FA55; Mon, 17 Sep 2007 15:38:53 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 25862-10-7; Mon, 17 Sep 2007 15:38:45 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id BAD5F1FBE7; Mon, 17 Sep 2007 15:38:45 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id D24251FBE7 for ; Mon, 17 Sep 2007 15:38:40 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 25862-10-6 for ; Mon, 17 Sep 2007 15:38:34 +0200 (CEST) Original-Received: from myrddin.dynetics.com (myrddin.dynetics.com [204.154.192.33]) by ronja.ntg.nl (Postfix) with ESMTP id 70C131FA55 for ; Mon, 17 Sep 2007 15:38:33 +0200 (CEST) Original-Received: from poseidon.in.dynetics.com ([10.1.15.106]) by myrddin.dynetics.com (8.13.1/8.13.1) with ESMTP id l8HDZFnv029678 for ; Mon, 17 Sep 2007 08:35:16 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: externalfigure rotation Thread-Index: Acf5L/pIgGa8uGgRQw6JHaNctqIzUw== X-dynetics.com-MailScanner-Information: Please contact the ISP for more information X-dynetics.com-MailScanner: Found to be clean X-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-1.439, required 2, autolearn=disabled, ALL_TRUSTED -1.44, HTML_MESSAGE 0.00) X-MailScanner-From: michael.santy@dynetics.com X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 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 X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:36641 Archived-At: This is a multi-part message in MIME format. --===============1167309240== Content-class: urn:content-classes:message Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C7F92F.FA4AFBAF" This is a multi-part message in MIME format. ------_=_NextPart_001_01C7F92F.FA4AFBAF Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello, I'm looking to rotate an externalfigure inside of its bounding box in = increments of 90 deg. Its real easy with 0 and 180, you can just do: \externalfigure[blah.pdf][width=3D5.0in, height=3D2.0in] \rotate[rotation=3D180]{\externalfigure[blah.pdf][width=3D5.0in, = height=3D2.0in]} Both commands result with an image that is 5.0in wide and 2.0in tall. But the problem comes when rotating a externalfigure at 90 and 270 = degrees (or more generally, anything besides 0 and 180). The rotation = is applied to the whole bounding box instead of rotating the picture = within a bounding box. The following images will be rendered 2.0in wide = and 5.0in tall. \rotate[rotation=3D90]{\externalfigure[blah.pdf][width=3D5.0in, = height=3D2.0in]} \rotate[rotation=3D270]{\externalfigure[blah.pdf][width=3D5.0in, = height=3D2.0in]} Are there any plans to add support for specify an externalfigure's = rotation within its bounding box, similar to this: \externalfigure[blah.pdf][width=3D5.0in, height=3D2.0in, rotation=3D90] Cheers, Mike ------_=_NextPart_001_01C7F92F.FA4AFBAF Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable externalfigure rotation

Hello,

I'm looking to rotate an externalfigure inside of its bounding box in = increments of 90 deg.  Its real easy with 0 and 180, you can just = do:

\externalfigure[blah.pdf][width=3D5.0in, height=3D2.0in]
\rotate[rotation=3D180]{\externalfigure[blah.pdf][width=3D5.0in, = height=3D2.0in]}

Both commands result with an image that is 5.0in wide and 2.0in = tall.

But the problem comes when rotating a externalfigure at 90 and 270 = degrees (or more generally, anything besides 0 and 180).  The = rotation is applied to the whole bounding box instead of rotating the = picture within a bounding box.  The following images will be = rendered 2.0in wide and 5.0in tall.

\rotate[rotation=3D90]{\externalfigure[blah.pdf][width=3D5.0in, = height=3D2.0in]}
\rotate[rotation=3D270]{\externalfigure[blah.pdf][width=3D5.0in, = height=3D2.0in]}

Are there any plans to add support for specify an externalfigure's = rotation within its bounding box, similar to this:
\externalfigure[blah.pdf][width=3D5.0in, height=3D2.0in, = rotation=3D90]

Cheers,
Mike

------_=_NextPart_001_01C7F92F.FA4AFBAF-- --===============1167309240== 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --===============1167309240==--