From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/74399 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Rotation fails in the latest beta Date: Thu, 9 Feb 2012 19:54:12 +0100 Message-ID: <2E80B5DE-359C-4586-863E-789115649065@googlemail.com> References: <20120209155315.75498f15@homerow> <410C10B2-24A8-4639-9BFB-3B03D85A1BFB@googlemail.com> <20120209170935.06a5f574@homerow> <4F340FAA.4080804@wxs.nl> <20120209194618.49602a8c@homerow> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Apple Message framework v1257) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1328813667 10877 80.91.229.3 (9 Feb 2012 18:54:27 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 9 Feb 2012 18:54:27 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Feb 09 19:54: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 1RvZ8S-0005Na-KB for gctc-ntg-context-518@m.gmane.org; Thu, 09 Feb 2012 19:54:24 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 115B0CB280; Thu, 9 Feb 2012 19:54:24 +0100 (CET) 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 Z9nsR-MKpBwi; Thu, 9 Feb 2012 19:54:21 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id F32E3CB26D; Thu, 9 Feb 2012 19:54:20 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id E1F3DCB26D for ; Thu, 9 Feb 2012 19:54:19 +0100 (CET) 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 fGoRefYMHtCl for ; Thu, 9 Feb 2012 19:54:18 +0100 (CET) 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 2C7BACB26C for ; Thu, 9 Feb 2012 19:54:18 +0100 (CET) Original-Received: from mail-ee0-f41.google.com (mail-ee0-f41.google.com [74.125.83.41]) by filter4-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id q19IsHZH018256 for ; Thu, 9 Feb 2012 19:54:17 +0100 Original-Received: by eekc13 with SMTP id c13so793794eek.14 for ; Thu, 09 Feb 2012 10:54:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; bh=p97O2C0LKXmHDI/Cm7xu4MUBeglewubeFVFXtH8adf4=; b=lGN/0z9oihqR2o8ughi8IvbwYh8AgdCP45ji9icrTa/e69im1lD/z3m9H1JouRIcD5 8ujhfKdPQbeRwTfcN1FYdzj8/mL2E6YaDqnuIlip+tL8X5df1Kf8NVKvfBI58kHhCos6 AzivY0+hFWFOKkau+UuZF40rdcR5ySzTvSjvk= Original-Received: by 10.14.39.207 with SMTP id d55mr1017954eeb.36.1328813656779; Thu, 09 Feb 2012 10:54:16 -0800 (PST) Original-Received: from [192.168.2.35] (p57AFB5CB.dip.t-dialin.net. [87.175.181.203]) by mx.google.com with ESMTPS id a58sm12504549eeb.8.2012.02.09.10.54.14 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 09 Feb 2012 10:54:15 -0800 (PST) In-Reply-To: <20120209194618.49602a8c@homerow> X-Mailer: Apple Mail (2.1257) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=74.125.83.41; 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: 05GvSShQN - 3a0fdd885b57 - 20120209 (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.12 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:74399 Archived-At: Am 09.02.2012 um 19:46 schrieb Marco: > On 2012-02-09 Hans Hagen wrote: > = >>> \def\pack_framed_start_orientation >>> {\ifcase\p_framed_orientation >>> \let\pack_framed_stop_orientation\relax >>> \else >>> \scratchcounter\p_framed_orientation % weird .. why >>> \divide\scratchcounter\plustwo >>> \ifodd\scratchcounter >> = >>> \swapmacros\framedwidth\framedheight >>> \swapmacros\localwidth\localheight >>> \swapdimens\d_framed_height\d_framed_width >> = >> these three can go (forgotten to delete them when splitting) > = > Brilliant, that did the trick. One thing more: Is is by design that > only multiples of 90=B0 work? 89 degrees results in totally wrong > spacing. Example (your fix is already applied): > = > %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% > \startbuffer [te] > \starttext > \framed[width=3D5cm,height=3D2cm,rulethickness=3D3pt,align=3Dright]{\tf= d Foo} > \stoptext > \stopbuffer > = > \starttext > \startplacefigure [title=3D90=B0] > \externalfigure [te] [orientation=3D90, frame=3Don] > \stopplacefigure > = > \startplacefigure [title=3D89=B0] > \externalfigure [te] [orientation=3D89, frame=3Don] > \stopplacefigure > \stoptext Can be related to the buffer because the direct way looks good. \starttext \startplacefigure [title=3D90=B0] \framed[orientation=3D90]{\framed[width=3D5cm,height=3D2cm,rulethickness= =3D3pt,align=3Dright]{\tfd Foo}} \stopplacefigure \startplacefigure [title=3D89=B0] \framed[orientation=3D89]{\framed[width=3D5cm,height=3D2cm,rulethickness= =3D3pt,align=3Dright]{\tfd Foo}} \stopplacefigure \stoptext Wolfgang ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________