![](https://secure.gravatar.com/avatar/13400626cfa2977a1685d8f96832f375.jpg?s=120&d=mm&r=g)
23 Jan
2007
23 Jan
'07
2:44 a.m.
I am composing a double-sided document with wide outer margins to allow space for figures. One type of figure is in-line with the text and protrudes into the wide margin. This is easy to do on left-hand pages by saying \setupfloats[location=right] and on right-hand pages by saying \setupfloats[location=left]. Is there any way to automate this so that inserting a new page does not mean I have to fix all the figures? I tried using a macro along the lines of \ifoff\pageno\\setupfloats[location=right]\else\\setupfloats[location=left]\fi but the asynchronousness of output routines means that the page number is usually wrong. Any help much appreciated. Tim