On Wed, 08 Nov 2000, Jean-Marc Lasgouttes wrote:
> Angus,
>
> I have commited code to parse the rgb.txt file with lyxlex. Could you
> please check that I did it right? The functionality should be the same
> as it was.
I'll have a look, but I'm sure it's right!
> I did not touch the code which filters the list of colors, but I am
> not sure what it does. For example, do we really need to filter out
> gray00 and gray100 (especially since it does not filter grey0 and
> gray0 which are in my own rgb.txt)? It seems to be an overclever
> optimization (if such a word exists).
The code ensures that each RGB entry is unique. No more. The black, white
stuff was purely an add on so that "black" and "white" appeared at the top of
the list. No real reason for it. If I keep this, then a better test would be
on the RGB values themselves, rather than the (arbitrary) name.
A