Dear list and Patrick,
from texshow-web page ( http://texshow.contextgarden.net/ ) I read
"texshow-web is a web application for all user-commands that can be
used in ConTeXt."
However, I see that \colored is not inthere. This is also true for
some other commands appearing at this list occasionally (usually dug
from source by Wolfgang). Is this because
1) the texshow is not updated?
2) these commands are "not meant" for users?
3) any other reason?
I think the texshow-web is a very useful source of information. An
updated version would be really wonderful!
/Mikael
---------- Forwarded message ----------
From: Wolfgang Schuster
Hi all,
I understand that in order to use a color with \color[somecolor]{colored text} I first have to \definecolor[somecolor][r=.4,g=0,b=1]. Currently I'm trying to do automated colorizing with the help of some lua code and I'd like to make up rgb vectors on the spot without having to \definecolor them first, e.g. something like \color[r=.4,g=0,b=1] {colored text}. Is there a way to achieve this in mkiv? (Right now I'm assigning new rgb values to the same color "name" whenever the function is called that concatenates the next \color[]{} statement. This seems a bit verbose and hacky to me.)
\colored[r=...,g=...,b=...]{...} or {\colored[r=...,g=...,b=...]...} Wolfgang ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________