Am 20.08.2014 um 17:39 schrieb Gerben Wierda <[email protected]>:
>
> On 20 Aug 2014, at 17:26, Wolfgang Schuster <[email protected]>
> wrote:
>
>>
>> Am 20.08.2014 um 17:09 schrieb Gerben Wierda <[email protected]>:
>>
>>> \placefigure [] [foo] {Bar}
>>> {\externalfigure[foo.pdf][rotation=90]}
>>>
>>> Does not rotate my figure. It just remains as is. Am I forgetting something?
>>
>> You’re using the wrong key.
>>
>> \setupexternalfigures[location=default]
>>
>> \starttext
>>
>> \externalfigure[cow][width=4cm]
>>
>> \externalfigure[cow][width=4cm,orientation=90]
>
> This one has an interesting side effect. My image is wider than high. It was
> scaled too small so i wanted to rotate it and make it bigger. With this one
> it seems the bounding box is not rotated, so the top of the rotated picture
> is off the page.
The dimensions are correct when you use MkIV.
>> \rotate[rotation=90]{\externalfigure[cow][width=4cm]}
>
> This works better, but the figure's size is not changed. Apparently, the size
> is calculated before it is rotated. And these claculations stick in different
> ways.
What do you expect, the width setting is for the unrotated figure.
Wolfgang___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : [email protected] / 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
___________________________________________________________________________________