[NTG-context] getting text outside cropmarks to work

Lars Huttar lars_huttar at sil.org
Fri Feb 7 16:17:50 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
>
>

This works for one page, but when I increase the length of the text to
take multiple pages, the top and bottom text only appears on the first
page. (Again, using ConTeXt version 2013.05.28 00:36 from the TeX Live CD.)
How do you make layers, or backgrounds, appear on every page?

Thanks,
Lars



More information about the ntg-context mailing list