Re: [NTG-context] colors without \definecolor

2010-02-08 Thread Mojca Miklavec
On Sun, Feb 7, 2010 at 22:56, Wolfgang Schuster wrote: Am 07.02.10 07:24, schrieb Aditya Mahajan: while \color can only be used as \color[rgb]{...}. No. Both \color[rgb]{...} and {\color[rgb]...} are valid D’oh. I looked in the source and missed this but I wonder if this had been always

Re: [NTG-context] colors without \definecolor

2010-02-08 Thread Hans Hagen
On 7-2-2010 22:56, Wolfgang Schuster wrote: Am 07.02.10 07:24, schrieb Aditya Mahajan: while \color can only be used as \color[rgb]{...}. No. Both \color[rgb]{...} and {\color[rgb]...} are valid D’oh. I looked in the source and missed this but I wonder if this had been always the case

Re: [NTG-context] colors without \definecolor

2010-02-08 Thread Wolfgang Schuster
Am 08.02.10 09:19, schrieb Mojca Miklavec: D’oh. I looked in the source and missed this but I wonder if this had been always the case because the manuals (and the wiki) mention only \color[name]{...}. \colored is a rather recent command. I meant the manuals and wiki mention

Re: [NTG-context] colors without \definecolor

2010-02-08 Thread Wolfgang Schuster
Am 08.02.10 09:40, schrieb Hans Hagen: D’oh. I looked in the source and missed this but I wonder if this had been always the case because the manuals {and the wiki) mention only \color[name]{...}. all commands that use \groupedcommand have that property But used \color always

Re: [NTG-context] colors without \definecolor

2010-02-08 Thread Hans Hagen
On 8-2-2010 9:55, Wolfgang Schuster wrote: Am 08.02.10 09:40, schrieb Hans Hagen: D’oh. I looked in the source and missed this but I wonder if this had been always the case because the manuals {and the wiki) mention only \color[name]{...}. all commands that use \groupedcommand have that

Re: [NTG-context] colors without \definecolor

2010-02-07 Thread Wolfgang Schuster
Am 07.02.10 07:24, schrieb Aditya Mahajan: while \color can only be used as \color[rgb]{...}. No. Both \color[rgb]{...} and {\color[rgb]...} are valid D’oh. I looked in the source and missed this but I wonder if this had been always the case because the manuals {and the wiki) mention only

Re: [NTG-context] colors without \definecolor

2010-02-06 Thread Aditya Mahajan
On Sat, 6 Feb 2010, Wolfgang Schuster wrote: Am 05.02.10 15:49, schrieb Philipp Gesang: Is there a difference (other than syntax) between \colored[rgb] and the according \definecolor[name][rgb] -- \color[name] commands? No, \colored is \definecolor + \color except you can use it in the form

Re: [NTG-context] colors without \definecolor

2010-02-05 Thread Philipp Gesang
Wolfgang, all, On 2010-02-05 08:31:35, Wolfgang Schuster wrote: \colored[r=...,g=...,b=...]{...} or {\colored[r=...,g=...,b=...]...} Thank you very much, I wikified it. Is there a difference (other than syntax) between \colored[rgb] and the according \definecolor[name][rgb] -- \color[name]

Re: [NTG-context] colors without \definecolor

2010-02-05 Thread Wolfgang Schuster
Am 05.02.10 15:49, schrieb Philipp Gesang: Is there a difference (other than syntax) between \colored[rgb] and the according \definecolor[name][rgb] -- \color[name] commands? No, \colored is \definecolor + \color except you can use it in the form \colored[rgb]{...} and {\colored[rgb]...}

Re: [NTG-context] colors without \definecolor

2010-02-04 Thread Wolfgang Schuster
Am 04.02.10 21:41, schrieb Philipp Gesang: 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