From: Hans Hagen <pragma@wxs.nl>
Cc: ntg-context@ntg.nl
Subject: Re: color question
Date: Mon, 27 May 2002 23:02:51 +0200 [thread overview]
Message-ID: <5.1.0.14.1.20020527230058.02cfad30@remote-1> (raw)
In-Reply-To: <200205230403.GAA25434@bar.loria.fr>
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 | pragma@wxs.nl
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
-------------------------------------------------------------------------
next prev parent reply other threads:[~2002-05-27 21:02 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-05-23 4:03 Denis B. Roegel
2002-05-27 20:21 ` Hans Hagen
2002-05-27 21:02 ` Hans Hagen [this message]
-- strict thread matches above, loose matches on Subject: below --
2020-08-23 23:15 jbf
2020-08-24 7:19 ` Henning Hraban Ramm
2006-10-10 11:52 Alan Bowen
2006-10-10 16:30 ` gnwiii
2006-10-12 13:04 ` Alan Bowen
2006-10-10 16:44 ` Henning Hraban Ramm
1999-06-01 21:37 Color question David Arnold
1999-06-02 7:34 ` Hans Hagen
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=5.1.0.14.1.20020527230058.02cfad30@remote-1 \
--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).