At 06:03 AM 5/23/2002 +0200, you wrote:
>When I try
>
>\startcolor[blue]
>\rightaligned{\framed[background=screen]{historic background}}
>\stopcolor
the problem seems to be related to screens,
background=color,backgroundcolor=red
works ok, (screens are normally only used in (page) backgrounds and there
they don't nest, and since they don't form a color stack (just raw gray
scale switches) this goes wrong inside color, maybe i should implement a
stack)
Hans
================ can go into cont-new.tex ================
\def\setrastercolor#1%
{\edef\@@cl@@s{#1}%
\ifx\@@cl@@s\empty
\let\@@rsraster
\fi
\setevalue{\??cr\??rs}{\colorSpattern}}
\def\localstartraster[#1]%
{\bgroup\setrastercolor{#1}\localstartcolor[\??rs]}
\def\localstopraster
{\localstopcolor\egroup}
\def\startraster[#1]%
{\bgroup\setrastercolor{#1}\startcolor[\??rs]}
\def\stopraster
{\stopcolor\egroup}
This alternative is slower, but run on top of the color mechanism
-------------------------------------------------------------------------
Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
information: http://www.pragma-ade.com/roadmap.pdf
documentation: http://www.pragma-ade.com/showcase.pdf
-------------------------------------------------------------------------