Saturday, July 14, 2007 Aditya Mahajan wrote:
On Fri, 13 Jul 2007, Giuseppe Bilotta wrote:
Hello all,
Welcome back Giuseppe. I had benifitted a lot from your efforts of improving the math support in ConTeXt. Had it not been for the amsl module, I might have never switched to ConTeXt and would have missed a lot of fun.
Thanks :) I really hope I'll be able to get back at ConTeXt development and/or other contributions to the TeX world.
This is how I would do it. Not sure if this is the best way. Use tokens to keep track of the current information that should go to the layer, and repeat the layer on each page.
\newtoks\testtoks
\definelayer[test] [ width=\paperwidth, height=\paperheight, ]
\startsetups make:test \setlayer[test][x=5cm,y=3cm]{\framed[align=normal,width=5cm]{\the\testtoks}} \stopsetups
\setupbackgrounds[page][setups=make:test,background=test]
An interesting approach. I really need to learn to use setups. In the end, as the layout specifications got defined more accurately, it turns out the number and position of the layer elements is much less flexible than I originally thought, so I don't need this approach anymore, but I'll keep it in mind for future needs. One thing that I've noticed with repeating layers is that they appear also on 'empty' pages (as in those left by forcing an even or odd page). Is it possible to suppress then in those cases? Do the blank pages left by these commands have a particular setup that can be tweaked? -- Giuseppe "Oblomov" Bilotta