From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/88506 Path: news.gmane.org!not-for-mail From: Gerben Wierda Newsgroups: gmane.comp.tex.context Subject: Re: Rotate does not work on externalfigure Date: Wed, 20 Aug 2014 17:39:13 +0200 Message-ID: <20C7B5AE-7B12-4C57-9140-07EBFB81B88C@rna.nl> References: <1CF7440C-A0ED-405F-AFF0-0C3B9A414076@rna.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Content-Type: multipart/mixed; boundary="===============0529254990==" X-Trace: ger.gmane.org 1408549183 25183 80.91.229.3 (20 Aug 2014 15:39:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 20 Aug 2014 15:39:43 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Aug 20 17:39:38 2014 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XK7z5-0007rO-94 for gctc-ntg-context-518@m.gmane.org; Wed, 20 Aug 2014 17:39:35 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id E6C751021E for ; Wed, 20 Aug 2014 17:39: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 (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id ezSGfdBPedoB for ; Wed, 20 Aug 2014 17:39:34 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 5B69010220 for ; Wed, 20 Aug 2014 17:39:26 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 9975F101E3 for ; Wed, 20 Aug 2014 17:39:23 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id QqKydtk6hALP for ; Wed, 20 Aug 2014 17:39:16 +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 42117101E1 for ; Wed, 20 Aug 2014 17:39:15 +0200 (CEST) Original-Received: from smtpq2.tb.mail.iss.as9143.net (smtpq2.tb.mail.iss.as9143.net [212.54.42.165]) by filter4-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s7KFdEQH025640 for ; Wed, 20 Aug 2014 17:39:15 +0200 Original-Received: from [212.54.42.136] (helo=smtp5.tb.mail.iss.as9143.net) by smtpq2.tb.mail.iss.as9143.net with esmtp (Exim 4.76) (envelope-from ) id 1XK7yk-00045E-UR for ntg-context@ntg.nl; Wed, 20 Aug 2014 17:39:14 +0200 Original-Received: from d57d7632.static.ziggozakelijk.nl ([213.125.118.50] helo=mail.rna.nl) by smtp5.tb.mail.iss.as9143.net with esmtp (Exim 4.76) (envelope-from ) id 1XK7yk-0007VE-Ck for ntg-context@ntg.nl; Wed, 20 Aug 2014 17:39:14 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by mail.rna.nl (Postfix) with ESMTP id 1DF77104E303 for ; Wed, 20 Aug 2014 17:39:14 +0200 (CEST) X-Virus-Scanned: amavisd-new at rna.nl Original-Received: from mail.rna.nl ([127.0.0.1]) by localhost (vanroodewierda.rna.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CPa-ZpKRmoZN for ; Wed, 20 Aug 2014 17:39:13 +0200 (CEST) Original-Received: from hermione.rna.nl (hermione.rna.nl [192.168.2.86]) by mail.rna.nl (Postfix) with ESMTPSA id 6E5D6104E2E9 for ; Wed, 20 Aug 2014 17:39:13 +0200 (CEST) In-Reply-To: X-Mailer: Apple Mail (2.1878.6) X-Ziggo-spambar: -- X-Ziggo-spamscore: -2.9 X-Ziggo-spamreport: ALL_TRUSTED=-1, BAYES_00=-1.9, CHW1252=0.01, HTML_MESSAGE=0.001, T_RP_MATCHES_RCVD=-0.01 X-Ziggo-Spam-Status: No X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=212.54.42.165; country=NL; latitude=52.5000; longitude=5.7500; http://maps.google.com/maps?q=52.5000,5.7500&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0VMF3DfcI - f10fe29bcd14 - 20140820 (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.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:88506 Archived-At: --===============0529254990== Content-Type: multipart/alternative; boundary="Apple-Mail=_F5F11817-9641-4CB0-8D5A-7D28128D3571" --Apple-Mail=_F5F11817-9641-4CB0-8D5A-7D28128D3571 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 On 20 Aug 2014, at 17:26, Wolfgang Schuster = wrote: >=20 > Am 20.08.2014 um 17:09 schrieb Gerben Wierda : >=20 >> \placefigure [] [foo] {Bar} >> {\externalfigure[foo.pdf][rotation=3D90]} >>=20 >> Does not rotate my figure. It just remains as is. Am I forgetting = something? >=20 > You=92re using the wrong key. >=20 > \setupexternalfigures[location=3Ddefault] >=20 > \starttext >=20 > \externalfigure[cow][width=3D4cm] >=20 > \externalfigure[cow][width=3D4cm,orientation=3D90] This one has an interesting side effect. My image is wider than high. It = was scaled too small so i wanted to rotate it and make it bigger. With = this one it seems the bounding box is not rotated, so the top of the = rotated picture is off the page. > \rotate[rotation=3D90]{\externalfigure[cow][width=3D4cm]} This works better, but the figure's size is not changed. Apparently, the = size is calculated before it is rotated. And these claculations stick in = different ways. >=20 > \stoptext >=20 > Wolfgang >=20 > = __________________________________________________________________________= _________ > If your question is of interest to others as well, please add an entry = to the Wiki! >=20 > 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 > = __________________________________________________________________________= _________ --Apple-Mail=_F5F11817-9641-4CB0-8D5A-7D28128D3571 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=windows-1252
On 20 Aug 2014, at 17:26, Wolfgang = Schuster <schuster.wolfgang@gmail.com> wrote:


\placefigure [] [foo] = {Bar}
= {\externalfigure[foo.pdf][rotation=3D90]}

Does not rotate my figure. It just remains as is. = Am I forgetting something?

You=92re= using the wrong = key.

\setupexternalfigures[location=3Ddefaul= t]

\starttext

\externalf= igure[cow][width=3D4cm]

\externalfigure[cow][widt= h=3D4cm,orientation=3D90]

This one has an interesting side effect. My image is wider than high. = It was scaled too small so i wanted to rotate it and make it bigger. = With this one it seems the bounding box is not rotated, so the top of = the rotated picture is off the page.

\rotate[rotation=3D90]{\externalfigure[cow][= width=3D4cm]}

This = works better, but the figure's size is not changed. Apparently, the size = is calculated before it is rotated. And these claculations stick in = different ways.


\stoptext

Wolfgang

______________________________________= _____________________________________________
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.sup= elec.fr/projects/contextrev/
wiki     : http://contextgarden.net
________= __________________________________________________________________________= _

= --Apple-Mail=_F5F11817-9641-4CB0-8D5A-7D28128D3571-- --===============0529254990== 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 ___________________________________________________________________________________ --===============0529254990==--