ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Aditya Mahajan <adityam@umich.edu>
Subject: Re: Dynamic Elements on Layer
Date: Sun, 14 Jan 2007 12:19:02 -0500 (EST)	[thread overview]
Message-ID: <alpine.WNT.0.81.0701141214580.3776@nqvgln> (raw)
In-Reply-To: <8570be060701140722j52e7a03bq8606861b2e9f2eab@mail.gmail.com>

On Sun, 14 Jan 2007, Helin Gai wrote:

> Hi,
> 
> I'm still trying to place my running heads into the margin, 5 cm away
> from the top. My new attempt is to use layer:
> 
> \definelayer[colin][width=\paperwidth,height=\paperheight,x=0mm,y=0mm]
> \setlayer[colin][x=5cm,y=3cm]{\framed{\getmarking[chapter][current]}}
> \setupbackgrounds[page][background=colin]
> 
> But it doesn't seem to work either. Does anyone know why it is?

Maybe because the layer is not evaluated for each page. You can try 
putting the \setlayer stuff inside \setupheadertexts or append them to 
beforeeverypage or aftereverypage, like

\appendtoks \setlayer[...] \to \aftereverypage

Aditya

  reply	other threads:[~2007-01-14 17:19 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-14 15:22 Helin Gai
2007-01-14 17:19 ` Aditya Mahajan [this message]
2007-01-14 18:15 ` Hans Hagen
2007-01-15  0:26   ` Helin Gai

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=alpine.WNT.0.81.0701141214580.3776@nqvgln \
    --to=adityam@umich.edu \
    --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).