ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* rotate a figure
@ 2009-11-16 18:29 R. Bastian
  2009-11-16 18:37 ` Alan BRASLAU
  0 siblings, 1 reply; 9+ messages in thread
From: R. Bastian @ 2009-11-16 18:29 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hello,

is there a way to rotate a pdf-figure ?

http://wiki.contextgarden.net/Using_Graphics

thanks,

-- 
René Bastian
www.pythoneon.org
www.musiques-rb.org


___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: rotate a figure
  2009-11-16 18:29 rotate a figure R. Bastian
@ 2009-11-16 18:37 ` Alan BRASLAU
  2009-11-16 21:16   ` Wolfgang Schuster
  0 siblings, 1 reply; 9+ messages in thread
From: Alan BRASLAU @ 2009-11-16 18:37 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Monday 16 November 2009 19:29:12 R. Bastian wrote:
> Hello,
> 
> is there a way to rotate a pdf-figure ?
> 
> http://wiki.contextgarden.net/Using_Graphics
> 
> thanks,
> 

\rotate[rotation=90]{\externalfigure[filename]}

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: rotate a figure
  2009-11-16 18:37 ` Alan BRASLAU
@ 2009-11-16 21:16   ` Wolfgang Schuster
  2009-11-17  8:41     ` R. Bastian
  0 siblings, 1 reply; 9+ messages in thread
From: Wolfgang Schuster @ 2009-11-16 21:16 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 16.11.2009 um 19:37 schrieb Alan BRASLAU:

> On Monday 16 November 2009 19:29:12 R. Bastian wrote:
>> Hello,
>> 
>> is there a way to rotate a pdf-figure ?
>> 
>> http://wiki.contextgarden.net/Using_Graphics
>> 
>> thanks,
> 
> \rotate[rotation=90]{\externalfigure[filename]}

\externalfigure[filename][orientation=90] ;)

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: rotate a figure
  2009-11-16 21:16   ` Wolfgang Schuster
@ 2009-11-17  8:41     ` R. Bastian
  2009-11-17 11:21       ` Peter Münster
  0 siblings, 1 reply; 9+ messages in thread
From: R. Bastian @ 2009-11-17  8:41 UTC (permalink / raw)
  To: ntg-context

On Mon, 16 Nov 2009 22:16:34 +0100
Wolfgang Schuster <schuster.wolfgang@googlemail.com> scribit:

> 
> Am 16.11.2009 um 19:37 schrieb Alan BRASLAU:
> 
> > On Monday 16 November 2009 19:29:12 R. Bastian wrote:
> >> Hello,
> >> 
> >> is there a way to rotate a pdf-figure ?
> >> 
> >> http://wiki.contextgarden.net/Using_Graphics
> >> 
> >> thanks,
> > 
> > \rotate[rotation=90]{\externalfigure[filename]}
> 
> \externalfigure[filename][orientation=90] ;)
> 
> Wolfgang

OK, it is the param I hoped to get, but how to find it in the doc ?
> 
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________
> 


-- 
René Bastian
www.pythoneon.org
www.musiques-rb.org


___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: rotate a figure
  2009-11-17  8:41     ` R. Bastian
@ 2009-11-17 11:21       ` Peter Münster
  2009-11-17 15:48         ` Hans Hagen
  0 siblings, 1 reply; 9+ messages in thread
From: Peter Münster @ 2009-11-17 11:21 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Tue, Nov 17 2009, R. Bastian wrote:

> > > \rotate[rotation=90]{\externalfigure[filename]}
> > 
> > \externalfigure[filename][orientation=90] ;)
> > 
> OK, it is the param I hoped to get, but how to find it in the doc ?

Hello,

I suppose, that you can find "orientation=..." only in the sources, but
\rotate[]{} is a standard command that you can find in the wiki, in
mp-cb-en.pdf and in texshow.

Cheers, Peter

-- 
Contact information: http://pmrb.free.fr/contact/


___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: rotate a figure
  2009-11-17 11:21       ` Peter Münster
@ 2009-11-17 15:48         ` Hans Hagen
  2009-11-19 11:07           ` Alan BRASLAU
  0 siblings, 1 reply; 9+ messages in thread
From: Hans Hagen @ 2009-11-17 15:48 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Peter Münster wrote:
> On Tue, Nov 17 2009, R. Bastian wrote:
> 
>>>> \rotate[rotation=90]{\externalfigure[filename]}
>>> \externalfigure[filename][orientation=90] ;)
>>>
>> OK, it is the param I hoped to get, but how to find it in the doc ?
> 
> Hello,
> 
> I suppose, that you can find "orientation=..." only in the sources, but
> \rotate[]{} is a standard command that you can find in the wiki, in
> mp-cb-en.pdf and in texshow.

\placefigure[here,90]{}{}


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: rotate a figure
  2009-11-17 15:48         ` Hans Hagen
@ 2009-11-19 11:07           ` Alan BRASLAU
  2009-11-19 11:26             ` luigi scarso
  0 siblings, 1 reply; 9+ messages in thread
From: Alan BRASLAU @ 2009-11-19 11:07 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: rotate a figure
  2009-11-19 11:07           ` Alan BRASLAU
@ 2009-11-19 11:26             ` luigi scarso
  2009-11-19 11:46               ` Alan BRASLAU
  0 siblings, 1 reply; 9+ messages in thread
From: luigi scarso @ 2009-11-19 11:26 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Thu, Nov 19, 2009 at 12:07 PM, Alan BRASLAU <alan.braslau@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

-- 
luigi
___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: rotate a figure
  2009-11-19 11:26             ` luigi scarso
@ 2009-11-19 11:46               ` Alan BRASLAU
  0 siblings, 0 replies; 9+ messages in thread
From: Alan BRASLAU @ 2009-11-19 11:46 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Thursday 19 November 2009 12:26:40 luigi scarso wrote:
> On Thu, Nov 19, 2009 at 12:07 PM, Alan BRASLAU <alan.braslau@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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2009-11-19 11:46 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-11-16 18:29 rotate a figure 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
2009-11-19 11:26             ` luigi scarso
2009-11-19 11:46               ` Alan BRASLAU

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).