From: Wolfgang Schuster <schuster.wolfgang@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: getting text outside cropmarks to work
Date: Fri, 7 Feb 2014 16:21:26 +0100 [thread overview]
Message-ID: <46D24D42-7D3A-4DE1-8CAA-46AAB66B2F15@gmail.com> (raw)
In-Reply-To: <52F4F91E.10106@sil.org>
Am 07.02.2014 um 16:17 schrieb Lars Huttar <lars_huttar@sil.org>:
> On 2/6/2014 10:12 AM, Wolfgang Schuster wrote:
>>
>> Am 05.02.2014 um 17:30 schrieb Lars Huttar <lars_huttar@sil.org
>> <mailto:lars_huttar@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?
Add “state=repeat” to \definelayer:
\definelayer[cropmark][state=repeat,width=\paperwidth,height=\paperheight]
Wolfgang
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2014-02-07 15:21 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-05 15:45 Lars Huttar
2014-02-05 16:03 ` Wolfgang Schuster
2014-02-05 16:30 ` Lars Huttar
2014-02-06 15:12 ` Wolfgang Schuster
2014-02-06 16:23 ` Lars Huttar
2014-02-07 15:17 ` Lars Huttar
2014-02-07 15:21 ` Wolfgang Schuster [this message]
2014-02-11 15:38 ` Lars Huttar
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=46D24D42-7D3A-4DE1-8CAA-46AAB66B2F15@gmail.com \
--to=schuster.wolfgang@gmail.com \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).