Re: [NTG-context] bug: colors in TikZ/ConTeXt MKIV

2010-12-02 Thread Hans Hagen
On 2-12-2010 5:02, Aditya Mahajan wrote: On Wed, Dec 1, 2010 at 7:58 AM, Hans Hagenpra...@wxs.nl wrote: I could probably support \definecolor[xxx][0.5(red,green)] \definecolor[xxx][0.5(red)] which looks better than this ! and is less likely to conflict with names as abc! is a rather value

Re: [NTG-context] bug: colors in TikZ/ConTeXt MKIV

2010-12-02 Thread Aditya Mahajan
On Thu, 2 Dec 2010, Hans Hagen wrote: On 2-12-2010 5:02, Aditya Mahajan wrote: On Wed, Dec 1, 2010 at 7:58 AM, Hans Hagenpra...@wxs.nl wrote: I could probably support \definecolor[xxx][0.5(red,green)] \definecolor[xxx][0.5(red)] which looks better than this ! and is less likely to conflict

Re: [NTG-context] bug: colors in TikZ/ConTeXt MKIV

2010-12-02 Thread Hans Hagen
On 2-12-2010 12:01, Aditya Mahajan wrote: Indeed. That is what I meant. I did not know that the metapost like syntax worked for \colored. \colored is just a shortcut to \definecolor -

Re: [NTG-context] bug: colors in TikZ/ConTeXt MKIV

2010-12-02 Thread Hans Hagen
On 2-12-2010 8:19, Alan BRASLAU wrote: The next step would be to allow \color[0.5[red,green]] (or \color[0.5(red,green)]), i.e. such syntax wherever a color can be used. You can use \definecolor[mycolor][.5(red,green)] in the current beta, but I wonder if \color[0.5(red,green)] makes much

Re: [NTG-context] bug: colors in TikZ/ConTeXt MKIV

2010-12-01 Thread Michael Murphy
On Sat, 2010-11-27 at 14:25 +0100, Hans Hagen wrote: On 27-11-2010 2:16, Mojca Miklavec wrote: On Sat, Nov 27, 2010 at 13:29, Hans Hagen wrote: \starttikzpicture \node[circle,ball color=darkred] (a) at (0,0,0) {$p_x$}; \stoptikzpicture I made a workaround in that way, but it's

Re: [NTG-context] bug: colors in TikZ/ConTeXt MKIV

2010-12-01 Thread Hans Hagen
On 1-12-2010 1:36, Michael Murphy wrote: On Sat, 2010-11-27 at 14:25 +0100, Hans Hagen wrote: On 27-11-2010 2:16, Mojca Miklavec wrote: On Sat, Nov 27, 2010 at 13:29, Hans Hagen wrote: \starttikzpicture \node[circle,ball color=darkred] (a) at (0,0,0) {$p_x$}; \stoptikzpicture I made a

Re: [NTG-context] bug: colors in TikZ/ConTeXt MKIV

2010-12-01 Thread Michael Murphy
I'm pretty sure that I never implemented something using a questionmark. However, we do have: \definecolor[red-t] [r=1,t=0.5,a=1] \definecolor[green-t][g=1,t=0.5,a=1] \defineintermediatecolor[mycolora][0.5,red,green] \defineintermediatecolor[mycolorb][0.5,red-t,green-t] \starttext

Re: [NTG-context] bug: colors in TikZ/ConTeXt MKIV

2010-12-01 Thread Wolfgang Schuster
Am 01.12.2010 um 18:37 schrieb Michael Murphy: OK, thanks. Last question then: is there a way to redefine standard colors? Something like: \redefinecolor[red][r=0,g=1,b=0] \starttext \definecolor[test][r=1]\color[test]{red?} \definecolor[test][g=1]\color[test]{red?}

Re: [NTG-context] bug: colors in TikZ/ConTeXt MKIV

2010-12-01 Thread Aditya Mahajan
On Wed, Dec 1, 2010 at 7:58 AM, Hans Hagen pra...@wxs.nl wrote: I could probably support \definecolor[xxx][0.5(red,green)] \definecolor[xxx][0.5(red)] which looks better than this ! and is less likely to conflict with names as abc! is a rather value color name. That will be a nice feature

Re: [NTG-context] bug: colors in TikZ/ConTeXt MKIV

2010-12-01 Thread Alan BRASLAU
On Wednesday 01 December 2010 13:58:23 Hans Hagen wrote: I could probably support \definecolor[xxx][0.5(red,green)] \definecolor[xxx][0.5(red)] which looks better than this ! and is less likely to conflict with names as abc! is a rather value color name. Indeed, a favorite color is

Re: [NTG-context] bug: colors in TikZ/ConTeXt MKIV

2010-11-27 Thread Vedran Miletić
2010/11/26 Mojca Miklavec mojca.miklavec.li...@gmail.com Dear Till/Christian/Hans, The following is broken in ConTeXt MKIV (assuming the usage of patched TikZ to allow running it under MKIV at all), but works fine in ConTeXt MKII: \usemodule[tikz] \starttext \starttikzpicture

Re: [NTG-context] bug: colors in TikZ/ConTeXt MKIV

2010-11-27 Thread Hans Hagen
On 27-11-2010 12:04, Vedran Miletić wrote: 2010/11/26 Mojca Miklavecmojca.miklavec.li...@gmail.com Dear Till/Christian/Hans, The following is broken in ConTeXt MKIV (assuming the usage of patched TikZ to allow running it under MKIV at all), but works fine in ConTeXt MKII: \usemodule[tikz]

Re: [NTG-context] bug: colors in TikZ/ConTeXt MKIV

2010-11-27 Thread Mojca Miklavec
On Sat, Nov 27, 2010 at 13:29, Hans Hagen wrote: \starttikzpicture   \node[circle,ball color=darkred] (a) at (0,0,0) {$p_x$}; \stoptikzpicture I made a workaround in that way, but it's still a bug ... Mojca ___

Re: [NTG-context] bug: colors in TikZ/ConTeXt MKIV

2010-11-27 Thread Hans Hagen
On 27-11-2010 2:16, Mojca Miklavec wrote: On Sat, Nov 27, 2010 at 13:29, Hans Hagen wrote: \starttikzpicture \node[circle,ball color=darkred] (a) at (0,0,0) {$p_x$}; \stoptikzpicture I made a workaround in that way, but it's still a bug ... I have no clue what the ! does apart from