
I modified it, but it only affects the first page. The mark appears on the edge of the page; I just want a line in the middle. \setuppapersize[A5][A4,landscape] \setuparranging[2*2] \setuplayout[middle] \startuniqueMPgraphic{MPfoldmark} pickup pensquare scaled 0.5pt ; drawoptions(dashed evenly withcolor "registration") ; xd := OverlayWidth/2; draw (xd,0)--(xd,\pagecutmarklength); draw (xd,OverlayHeight)--(xd,(OverlayHeight - \pagecutmarklength)); \stopuniqueMPgraphic \defineoverlay[foldmark][\uniqueMPgraphic{MPfoldmark}] \definelayer[PagePlus][ x=-\pagecutmarklength, y=-\pagecutmarklength, width=1\paperwidth+2\pagecutmarklength, height=1\paperheight+2\pagecutmarklength, ] \setupbackgrounds[page][background=PagePlus] \setlayerframed[PagePlus][ y=-\measure{Trim}, x=0mm, height=1\paperheight, width=1\paperwidth, background=foldmark, ]{} \starttext \dorecurse{100}{\input knuth \relax} \stoptext