On Thursday 19 November 2009 12:26:40 luigi scarso wrote:
> On Thu, Nov 19, 2009 at 12:07 PM, Alan BRASLAU <alan.bras...@cea.fr> wrote:
> > 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
> 
> I always thought that orientation was related to textual flow
> while  rotate to rectangular object
> \starttext
>  \framed[width=12cm,height=3cm,orientation=0]{\input ward\relax}
>  \framed[width=12cm,height=3cm,orientation=90]{\input ward\relax}
>  \framed[width=12cm,height=3cm,orientation=180]{\input ward\relax}
>  \framed[width=12cm,height=3cm,orientation=270]{\input ward\relax}
>  \framed[width=12cm,height=3cm,orientation=-90]{\input ward\relax}
>  \framed[width=12cm,height=3cm,orientation=-180]{\input ward\relax}
>  \framed[width=12cm,height=3cm,orientation=-270]{\input ward\relax}
> \stoptext
> 

This explains the use of the keyword "orientation",
inherited from \framed by \externalfigure
(also the use of "width" and "height").

Should \externalfigure have an additional keyword
"rotation" to be interpreted independently of "orientation"?

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 via email to