From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/1112 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: context example source Date: Thu, 28 Oct 1999 09:35:54 +0100 Sender: owner-ntg-context@let.uu.nl Message-ID: <38180AEA.AE37185E@wxs.nl> References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1035391952 29938 80.91.224.250 (23 Oct 2002 16:52:32 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 16:52:32 +0000 (UTC) Original-To: M Lapsley Xref: main.gmane.org gmane.comp.tex.context:1112 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:1112 M Lapsley wrote: > Sorry to bother you again, but I cannot work out how to import a graphic as a > background: I want to use a home made gradient. > > Is this possible? Sure, \defineoverlay [somename] [{\externalfigure [somefile] [width=\overlaywidth, height=\overlayheight]}] \setupbackgrounds[page][background=somename] You can have many of them, actually in each area ([text][text] and so on), also stacked: background={somename,nextpage} with \defineoverlay[nextpage][\overlaybutton{nextpage}] I think I'll make a \overlayfigure{name} too that defaults to the width/height. (currently I'm playing with foregrounds too, which is needed for advanced graphics, spanning overlays.) 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 -----------------------------------------------------------------