Re: [NTG-context] \startuseMPgraphic

2016-04-11 Thread Aditya Mahajan
On Mon, 11 Apr 2016, Alan BRASLAU wrote: By the way, we added colo-imp-crayola having some funky, hallucinogenic names (according to Hans) as well as colo-imp-ral. (The first might be of interest to Americans and the second to Europeans ;-) These are nice colors. For anyone interested, you

Re: [NTG-context] \startuseMPgraphic

2016-04-11 Thread Alan BRASLAU
Thank you Wolfgang, this is a very good explanation. One can simplify one's code, perhaps, by defining MP colors from ConTeXt colors, as in: color orange ; orange := \MPcolor{orange} ; Then, one can use orange. There is not much point in redefining the other colors (red, green, blue,

Re: [NTG-context] \startuseMPgraphic

2016-04-11 Thread Meer, Hans van der
But why should typing \MPcolor{\MPvar{color}}be necessary or useful when \MPvar(color) obviously is sufficient? Or is there a special reason for the nested macros? > On 11 Apr 2016, at 19:16, Aditya Mahajan wrote: > > On Mon, 11 Apr 2016, Meer, Hans van der wrote: > >> >>

Re: [NTG-context] \startuseMPgraphic

2016-04-11 Thread Aditya Mahajan
On Mon, 11 Apr 2016, Meer, Hans van der wrote: On 11 Apr 2016, at 16:17, Alan BRASLAU > wrote: Remember that ConTeXt colors can be accessed in MP as \MPcolor{orange} Alan However with the snippet below I see the default black with MPcolor and

Re: [NTG-context] \startuseMPgraphic

2016-04-11 Thread Meer, Hans van der
On 11 Apr 2016, at 16:17, Alan BRASLAU > wrote: Remember that ConTeXt colors can be accessed in MP as \MPcolor{orange} Alan However with the snippet below I see the default black with MPcolor and the wanted red with \MPvar. Thus? Hans van der

Re: [NTG-context] \startuseMPgraphic

2016-04-11 Thread Alan BRASLAU
On Mon, 11 Apr 2016 22:10:02 +0900 Jeong Dal wrote: > BTW, if I change “orange” to “red” or “green”, it is working fine. I > think that “orange” is not the predefined color. There is no color > “orange” in the MetaFun manual either. Defined MP colors are: color black, white,

Re: [NTG-context] \startuseMPgraphic

2016-04-11 Thread Wolfgang Schuster
Meer, Hans van der 11. April 2016 um 15:30 Thanks Wolfgang. It appears my memory did some "wishful thinking" in wanting \startuseMPgraphic{name}{key=value}. Although that would have been nice. You get a document with the syntax of metapost related commands when you

Re: [NTG-context] \startuseMPgraphic

2016-04-11 Thread Meer, Hans van der
Thanks Wolfgang. It appears my memory did some "wishful thinking" in wanting \startuseMPgraphic{name}{key=value}. Although that would have been nice. Hans van der Meer On 11 Apr 2016, at 14:42, Wolfgang Schuster > wrote: Meer,

Re: [NTG-context] \startuseMPgraphic

2016-04-11 Thread Wolfgang Schuster
Meer, Hans van der 11. April 2016 um 10:35 I seem to remember the following variations in \startuseMPgraphic. (1) \startuseMPgraphic{name}{comma separated list of variables} (2) \startuseMPgraphic{name}{comma separated list of key=value pairs} In the second case one