ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Wolfgang Murth" <context@wmsmt.com>
To: "'mailing list for ConTeXt users'" <ntg-context@ntg.nl>
Subject: Page Background
Date: Fri, 6 Nov 2009 19:27:30 +0100	[thread overview]
Message-ID: <B3FA238AE07941F9808B36CF9C3FF5D0@rechenknecht> (raw)


Hi all,

I have problems to put two banners on each page of a document except the first page. I tried the following that was shown perfetly,
but only on one page.

What am I doing wrong or is there a better way to show a banner on the top and on the bottom of a page?

Thanks for your help

Wolfgang Murth

\useexternalfigure[headpict][images/hintergrund_kopf.png]
\useexternalfigure[footpict][images/hintergrund_fuss.png]
\definelayer[imgtopbot]
    [width=\paperwidth,
    height=\paperheight,
    x=0cm,
    y=0cm,
    frame=off
    ]

\setlayerframed[imgtopbot][voffset=0.5cm,frame=off]
{\externalfigure[headpict]}
\setlayerframed[imgtopbot][voffset=26.5cm,frame=off]
{\externalfigure[footpict]}

\setupbackgrounds[page][background=imgtopbot,state=repeat]

___________________________________________________________________________________
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
___________________________________________________________________________________


             reply	other threads:[~2009-11-06 18:27 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-06 18:27 Wolfgang Murth [this message]
2009-11-06 18:38 ` Wolfgang Schuster
2009-11-07  9:24   ` Wolfgang Murth
2009-11-07 12:41     ` Customizing table of contents (lists) Andreas Harder
2009-11-07 16:04       ` \inline[…] Andreas Harder
2009-11-07 16:31         ` \inline[…] Hans Hagen

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=B3FA238AE07941F9808B36CF9C3FF5D0@rechenknecht \
    --to=context@wmsmt.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).