On 10/07/2013 11:01 PM, luigi scarso wrote:
On Mon, Oct 7, 2013 at 10:04 PM, Pablo Rodríguez wrote:
I need to insist on this sample, because the layer doesn’t behave as such:
\definelayer[wrongpositioned][x=5000cm, y=5000cm, state=start] \setuplayer[wrongpositioned]{\startMPcode draw (0mm,0mm)--(8mm,0mm)--(8mm,38mm)--(14mm,38mm) ; \stopMPcode} \setupbackgrounds[page][background={wrongpositioned}] \starttext \input knuth \stoptext
x and y are outside the page in the layer definition (50 meters).
It should be a stupid error, but I cannot say which one.
I don't understand what exactly you need, but I hope this can help you.
Many thanks for your reply, Luigi. As Hans pointed out, I wrote \setuplayer instead of \setuplayer. As weird as it sounds, yesterday I used my first layers ever (copied from the wiki) and only in this one I typed \setuplayer instead of \setlayer. Well, it seems that I shouldn’t be sleepy when writing layers ;-). Many thanks for your help again, Pablo -- http://www.ousia.tk