Hi John,
John Culleton schrieb:
> 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?
>
something like
\startuniqueMPgraphic{transp:dim}
fill OverlayBox withcolor transparent(1,.25,white); % mode,transp.,color
\stopuniqueMPgraphic
\defineoverlay[transp:dim]
[\uniqueMPgraphic{transp:dim}]
\framed[background=transp:dim]{your text}
There are some problems with transparency in MP at the moment, so the
fill color is fixed and not a parameter of the MP graphic. Anyhow, this
should do the job.
Peter
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : [email protected] / 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
___________________________________________________________________________________