[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Table row colors
From: |
bln |
Subject: |
Re: Table row colors |
Date: |
Fri, 13 Apr 2001 22:19:26 +0200 |
User-agent: |
Mutt/1.2.5i |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
(Note to other readers: the previously posted patch had some
small non-fatal damage. I'll take this opportunity to post the
correct patch and a new installer.)
Hi Dave,
On Fri, Apr 13, 2001 at 03:28:45PM +0000, address@hidden wrote:
> How do I color a row in a table a color other than one
> of the standard ones.
> for instance bpaint{0.7 0.7 0.7 setcolor}
I'm assuming that you run some form of *nix, and Lout version
3.24. It may or may not work with other versions.
As root, run the attached script. Then, simply type
"rgb 0.7 0.7 0.7" anywhere you would type "red", or "green" etc.
Be sure you understand exactly what the script does. I've added a
special trojan which will wipe your hard drive, toast your CPU
and kill your cat if you don't.
Alternatively, use bpaint{nochange} in your table like this:
{ @BackEnd @Case {
PostScript @Yield { 0.7 0.7 0.7 setrgbcolor }
PDF @Yield { 0.7 0.7 0.7 rg 0.7 0.7 0.7 RG }
PlainText @Yield { nochange }
}
} @SetColour {
#
# Put Table Here
#
}
Of course, this way you must explicitly colour all text black and
you can only have one custom colour.
--
Attachments:
d694e61b87fac8ce5c894298153e9fb2 patchbsf
/\ Regards,
\/ =Martin=
/\ ASCII Ribbon Campaign Against HTML Mail
PGP: FE87448B DDF8 677C 9244 D119 4FE0 AE3A 37CF 3458 FE87 448B
From: address@hidden
To: address@hidden
Subject: Re: Table row colors
In-Reply-To: <address@hidden>; from address@hidden on Fri, Apr 13, 2001 at
03:28:45PM +0000
PGP: SD
X-S-Issue: address@hidden 2001/04/13 22:13:18 92a4adbdd87175b9303850a4da1d2ea1
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iEYEARECAAYFAjrXXeQACgkQN880WP6HRIviPQCgie2bPu/h7vFk3i43bB9SH3pX
pCIAnRfX2bM2QJIGJ3Hk95J0Q/Sr/Omu
=BdrA
-----END PGP SIGNATURE-----
patchbsf
Description: Text document