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.) Thanks in advance, Philipp -- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments
pgpmr9RKdR6JU.pgp
Description: PGP signature
___________________________________________________________________________________ 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 ___________________________________________________________________________________