On Wed, Apr 9, 2008 at 9:27 AM, Andrea Valle
Thanks Wolfgang
%\setupbackgrounds[page][leftframe=on] \setuppagenumbering[alternative={singlesided,doublesided}] \setupbackgrounds[leftpage][leftframe=on]
Could you please explain what's going on here? I cannot understand why \setuppagenumbering is relevant for such a behavior
You could either use only \setupbackgrounds[page][leftframe=on] this will draw a rule at the the left margin at all pages. The result is something like | | | | | 1 | 2 | | | | The second solution draws only a frame at the left margin on even numbered pages. Because odd and even numbered are only known in doublesided documents, the value "singlesided,doublesided" arguments for alternative in \setuppagenumbering is a little bit special because it activates left and right pages but use the same layout for all pages. I used it here to draw only a frame on the right page of the printed paper to avoid a unwanted rule at the side of the left page. The output for two pages should now look like: | | 1 | 2 | | Wolfgang