[NTG-context] getting text outside cropmarks to work

Lars Huttar lars_huttar at sil.org
Thu Feb 6 17:23:02 CET 2014


On 2/6/2014 10:12 AM, Wolfgang Schuster wrote:
>
> Am 05.02.2014 um 17:30 schrieb Lars Huttar <lars_huttar at sil.org
> <mailto:lars_huttar at sil.org>>:
>
>> ... If we need to implement this using layers, does anyone have a recent
>> example of using a layer to place a running footer outside the crop
>> marks?
>
> \setuppapersize[A4][A3]
>
> \setuplayout[location=middle,marking=on]
>
> \setupbodyfont[modern]
>
> \definelayer[cropmark][width=\paperwidth,height=\paperheight]
>
> \setupbackgrounds[page][background=cropmark]
>
> \setlayer[cropmark][preset=middlebottom,y=-\lineheight]{Bottom Text}
> \setlayer[cropmark][preset=middletop,y=-\lineheight]{Top Text}
>
> \starttext
> \input knuth
> \stoptext
>
> Wolfgang
>

Thanks, this looks very helpful. I'll give it a try.
Lars




More information about the ntg-context mailing list