ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Alan BRASLAU <alan.braslau@cea.fr>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: rotate a figure
Date: Thu, 19 Nov 2009 12:07:17 +0100	[thread overview]
Message-ID: <200911191207.17677.alan.braslau@cea.fr> (raw)
In-Reply-To: <4B02C5DD.8050402@wxs.nl>

On Tuesday 17 November 2009 16:48:45 Hans Hagen wrote:
> Peter Münster wrote:
> > On Tue, Nov 17 2009, R. Bastian wrote:
> >>>> \rotate[rotation=90]{\externalfigure[filename]}
> >>>
> >>> \externalfigure[filename][orientation=90] ;)
> 
> \placefigure[here,90]{}{}

Yes! However, sometimes we want to turn an externalfigure
that is one part of a combination. Here, \externalfigure
[orientation=90] is broken (incorrect bounding box).
Minimal example:

\setupexternalfigures[location={local,default}]

\starttext
\externalfigure [cow] [frame=on,width=.5\textwidth]
\rotate [rotation=90] {\externalfigure [cow] [frame=on,width=.5\textwidth]}
\placefigure [force,90]
	{A turned cow}
	{\externalfigure [cow] [frame=on,width=.5\textwidth]}

broken:\crlf
\externalfigure [cow] [frame=on,width=.5\textwidth,orientation=90]
\externalfigure [cow] [frame=on,height=.5\textwidth,orientation=90]
\stoptext


% Alan
___________________________________________________________________________________
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:[~2009-11-19 11:07 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-16 18:29 R. Bastian
2009-11-16 18:37 ` Alan BRASLAU
2009-11-16 21:16   ` Wolfgang Schuster
2009-11-17  8:41     ` R. Bastian
2009-11-17 11:21       ` Peter Münster
2009-11-17 15:48         ` Hans Hagen
2009-11-19 11:07           ` Alan BRASLAU [this message]
2009-11-19 11:26             ` luigi scarso
2009-11-19 11:46               ` Alan BRASLAU

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=200911191207.17677.alan.braslau@cea.fr \
    --to=alan.braslau@cea.fr \
    --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).