On Sat, 27 Oct 2007 17:51:14 -0400
John Culleton <[EMAIL PROTECTED]> wrote:

> A project specifies that for the cover of a brochure there be a photograph as 
> the background (doable in Context), and semi-transparent rectangles across 
> the page highlighting the various strings of text. The rectangles darken but 
> do not completely block out the underlying illustration.   It is a layer 
> cake, a photo, with semi-transparent rectangles laid across it, and type 
> within the rectangles. 
> 
> This is a job more easily done in Gimp etc. but my question is, can it be 
> done 
> in Context at all?  How do I create the semi-transparent elements?  

Hi John,

you can define a color for the transparent background of the text and
place it with the cover text at the background.

\setupcolors[state=start]
\setupexternalfigures[location=global]

\definecolor[coverred][r=1,a=1,t=.5]

\defineoverlay[coverimage][\overlayfigure{mill}]

\definelayer
  [covertitle]
  [width=\paperwidth,
   height=\paperheight]

\setlayerframed
  [covertitle]
  [hoffset=0cm,
   voffset=8cm]
  [frame=off,
   width=\paperwidth,
   height=6cm,
   background=color,
   backgroundcolor=coverred,
   align={middle,lohi}]
  {\tfd Cover Text}

\starttext

\setupbackgrounds[page][background={coverimage,covertitle}]

\startstandardmakeup
\stopstandardmakeup

\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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to