ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Cc: "ntg-context@ntg.nl" <ntg-context@ntg.nl>
Subject: Re: Backgrounds
Date: Fri, 09 Jun 2000 18:17:22 +0200	[thread overview]
Message-ID: <3.0.6.32.20000609181722.013d5c10@pop.wxs.nl> (raw)
In-Reply-To: <3940C866.4A3F4F79@forprint.se>

At 11:35 AM 6/9/2000 +0100, Anders Alstrin wrote:

>And I can´t figure out from the context manual (page 150) how to do this
>on
>an existing two sided pdf?
>
>\starttext
>\setupoutput[pdftex]
>
>\defineoverlay
>  [mall]
>  [{\externalfigure[v_mall.pdf]}]
>
>\setupbackgrounds
>   [page]
>   [background=mall]
>
>\copypages
>  [visit1_p.pdf]
>
>\stoptext

You may try: 

\defineoverlay
  [mall]
  [{\ifnum\realpageno=1 \externalfigure[v_mall.pdf]\fi}]

                        ^ space is essential

since page overlays are recalculated each page, this may work. 

[an example of typographic progamming]

Hans

Hans

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.nl
-----------------------------------------------------------------


  reply	other threads:[~2000-06-09 16:17 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-06-09 10:35 Backgrounds Anders Alstrin
2000-06-09 16:17 ` Hans Hagen [this message]
2003-03-24 14:37 Backgrounds Giuseppe Bilotta
2003-03-24 16:45 ` Backgrounds Hans Hagen
2003-03-25  8:46 Re[2]: Backgrounds Hans Hagen
2003-03-25 12:25 ` Re[3]: Backgrounds Hans Hagen
2003-03-25 14:36   ` Re[4]: Backgrounds Giuseppe Bilotta
2003-04-09 14:52     ` Backgrounds Patrick Gundlach
2003-04-09 16:57       ` Re[2]: Backgrounds Giuseppe Bilotta
2003-04-10  9:50         ` Backgrounds Patrick Gundlach
2003-04-18 14:33           ` Backgrounds Johannes Hüsing
2003-04-19 13:35             ` Backgrounds Patrick Gundlach
2003-04-11 16:02     ` Re[3]: Backgrounds Hans Hagen
2003-04-11 16:21       ` Backgrounds Patrick Gundlach
2003-04-10 20:00 Re[2]: Backgrounds Hans Hagen
2003-11-03 17:28 backgrounds Pawel Jackowski na Onet
2003-11-10 16:49 ` backgrounds Patrick Gundlach
2004-10-18 10:57 backgrounds gmorais
2004-10-18 11:20 ` backgrounds Hans Hagen
2014-10-15  8:33 backgrounds Hans Hagen
2014-10-17 11:32 ` backgrounds Procházka Lukáš Ing. - Pontex s. r. o.
2014-10-20  1:46   ` backgrounds Hongwen Qiu
2014-10-20  8:17     ` backgrounds Procházka Lukáš Ing. - Pontex s. r. o.

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=3.0.6.32.20000609181722.013d5c10@pop.wxs.nl \
    --to=pragma@wxs.nl \
    --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).