ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <schuster.wolfgang@googlemail.com>
To: erik.margraf@gmail.com
Cc: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Some question regarding Layers
Date: Sat, 19 Dec 2009 15:36:19 +0100	[thread overview]
Message-ID: <A51324CD-8AEF-4AD8-8813-9AB7ABF7F313@googlemail.com> (raw)
In-Reply-To: <ca5756140912181256i60f90dbcm8dc864337c659a6b@mail.gmail.com>


Am 18.12.2009 um 21:56 schrieb Erik Margraf:

> Thank's very much! Works perfect. At least with texexec (I suppose that's MKII) 
> I didn't get it to work with "context" (MKIV, i suppose) 
> Is this supposed to work unchanged with MIV also?

AFAIR \currentvalue did not work in MkIV but you don't have to define a new layer
for each graphic, one is enough and can be multiple times.

\definelayer[MLayer]

\setupbackgrounds[page][background=MLayer]

\define[1]\MLayer
  {\setlayerframed
     [MLayer]
     [width=\paperwidth,
      height=\paperheight,
      frame=off,
      align={middle,middle}]
     {\externalfigure[#1]}}

\starttext
...
\stoptext

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
___________________________________________________________________________________


      parent reply	other threads:[~2009-12-19 14:36 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-17 13:05 Erik Margraf
2009-12-17 13:21 ` Wolfgang Schuster
2009-12-17 16:48   ` Contextual spacing Andreas Harder
2009-12-17 17:19     ` Wolfgang Schuster
2009-12-17 23:05       ` Andreas Harder
2009-12-18  5:31         ` Wolfgang Schuster
2009-12-18 12:34           ` Andreas Harder
     [not found]   ` <ca5756140912181256i60f90dbcm8dc864337c659a6b@mail.gmail.com>
2009-12-19 14:36     ` Wolfgang Schuster [this message]

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=A51324CD-8AEF-4AD8-8813-9AB7ABF7F313@googlemail.com \
    --to=schuster.wolfgang@googlemail.com \
    --cc=erik.margraf@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).