On 2012-02-09 Hans Hagen
\def\pack_framed_start_orientation {\ifcase\p_framed_orientation \let\pack_framed_stop_orientation\relax \else \scratchcounter\p_framed_orientation % weird .. why \divide\scratchcounter\plustwo \ifodd\scratchcounter
\swapmacros\framedwidth\framedheight \swapmacros\localwidth\localheight \swapdimens\d_framed_height\d_framed_width
these three can go (forgotten to delete them when splitting)
Brilliant, that did the trick. One thing more: Is is by design that only multiples of 90° work? 89 degrees results in totally wrong spacing. Example (your fix is already applied): %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \startbuffer [te] \starttext \framed[width=5cm,height=2cm,rulethickness=3pt,align=right]{\tfd Foo} \stoptext \stopbuffer \starttext \startplacefigure [title=90°] \externalfigure [te] [orientation=90, frame=on] \stopplacefigure \startplacefigure [title=89°] \externalfigure [te] [orientation=89, frame=on] \stopplacefigure \stoptext %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Marco