From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/69150 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Automatic landscape figure rotation Date: Tue, 14 Jun 2011 13:54:46 +0200 Message-ID: References: <20110614092944.GW20248@rae.vm.bytemark.co.uk> <3B449566-B14E-4966-B9E0-390EA5750D65@googlemail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1308052517 27545 80.91.229.12 (14 Jun 2011 11:55:17 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 14 Jun 2011 11:55:17 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Jun 14 13:55:11 2011 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QWSD7-0000t8-5c for gctc-ntg-context-518@m.gmane.org; Tue, 14 Jun 2011 13:55:09 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 52204CADAB; Tue, 14 Jun 2011 13:55:08 +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 YQHM1LOdG1d0; Tue, 14 Jun 2011 13:55:06 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id E5256CADA5; Tue, 14 Jun 2011 13:55:05 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id BE321CADA5 for ; Tue, 14 Jun 2011 13:55:03 +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 MJ-tV46VcpL3 for ; Tue, 14 Jun 2011 13:54:52 +0200 (CEST) Original-Received: from filter1-nij.mf.surf.net (filter1-nij.mf.surf.net [195.169.124.152]) by balder.ntg.nl (Postfix) with ESMTP id 1B135CAD96 for ; Tue, 14 Jun 2011 13:54:52 +0200 (CEST) Original-Received: from mail-fx0-f41.google.com (mail-fx0-f41.google.com [209.85.161.41]) by filter1-nij.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p5EBsova002863 for ; Tue, 14 Jun 2011 13:54:50 +0200 Original-Received: by fxm18 with SMTP id 18so5182586fxm.14 for ; Tue, 14 Jun 2011 04:54:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:content-type:mime-version:subject:from :in-reply-to:date:content-transfer-encoding:message-id:references:to :x-mailer; bh=34286f8ALwMio7CSpG2P6Qmc5sTZvOiPCVvHHycvWNY=; b=f1XQ9/Ff9aeQqRj530gGYD7E4olU+rUTuQrok+m26bn/PcsG+7ErntfqwdmwMtQWlw PfGbEutvDMYOiRcpEFScrnXwwQGFGf9Uam9GY1SFNYaafXxd2dLE92PFyhVlTujwL9f0 BghIXjVVCLCzXIhRiXhq/8PHHlczVfYPKTra0= DomainKey-Signature: a=rsa-sha1; c=nofws; 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; b=RurhnH0XI+Nddty7m4L7Laiexj4AswQGPZdVV3i2EMJgrjYykteMU2TA+iyKQwSvax SOIRZjoLvRk7LBsySv/A27NrIU3rNlHgbbK2o0FtPhk+AKXMAsEjXUnSUUHdnX3dN74t TNQdoCjUW0uL5t3rVy7y+2SOUSYYoTFZJulI8= Original-Received: by 10.223.51.4 with SMTP id b4mr361690fag.93.1308052489928; Tue, 14 Jun 2011 04:54:49 -0700 (PDT) Original-Received: from [192.168.2.34] (p5B0EE67B.dip.t-dialin.net [91.14.230.123]) by mx.google.com with ESMTPS id g7sm2665018fac.15.2011.06.14.04.54.48 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 14 Jun 2011 04:54:49 -0700 (PDT) In-Reply-To: X-Mailer: Apple Mail (2.1084) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.161.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: 07ETLSObt - 43a28bb862c0 - 20110614 X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.152 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:69150 Archived-At: Am 14.06.2011 um 12:54 schrieb luigi scarso: > \ifodd\realpageno\relax > \hbox to\textwidth{\rotate[rotation=90]{\externalfigure[cow]}\hfill} > \else > \hbox to\textwidth{\hfill\rotate[rotation=270]{\externalfigure[cow]}} > \fi > } ConTeXt has commands for all these things: \doifoddpageelse {\leftaligned {\rotate[rotation=90] {...}}} {\rightaligned{\rotate[rotation=270]{...}}} 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.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________