On Tue, Jun 14, 2011 at 11:29 AM, Pontus Lurcock
Dear ConTeXters,
I have a full-page, landscape figure in my double-sided document which I rotate 90° to fit the page. In all the books I've seen, such figures are rotated ‘outward’ -- i.e. with the top towards the binding, so 90° clockwise on verso pages and 90° anticlockwise on recto. Is there a simple way to do this automatically in ConTeXt? At the moment I just check where the figure ends up, then change it manually.
(Apologies if there is a documented answer -- I've searched the wiki and docs, but it's the kind of question which is hard to reduce into keywords.) Here is an idea
\starttext \dorecurse{100}{ \input knuth \ifodd\realpageno\relax \rotate[rotation=90]{\externalfigure[cow]} \else \rotate[rotation=270]{\externalfigure[cow]} \fi } \stoptext PS I've used an old minimals: \rotate seems be broken in latest minimals -- luigi