ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Colors not showing inside metapost after \showcolor
@ 2016-07-23  7:24 Bou Salim
  2016-07-23  7:35 ` Schmitz Thomas A.
  0 siblings, 1 reply; 4+ messages in thread
From: Bou Salim @ 2016-07-23  7:24 UTC (permalink / raw)
  To: ntg-context


[-- Attachment #1.1: Type: text/plain, Size: 366 bytes --]

Hi
I have this problem to show colors properly. I have defined color "myred",
 but after \showcolor command  colors inside metapost can't be displayed.

Thanks

\starttext


\definecolor[myred] [r=.8]

 \showcolor


\startuseMPgraphic{test}

  fill fullcircle scaled 10mm withcolor \MPcolor{myred};

\stopuseMPgraphic


\midaligned{\useMPgraphic{test}}



\stoptext

[-- Attachment #1.2: Type: text/html, Size: 2116 bytes --]

[-- Attachment #2: Capture.PNG --]
[-- Type: image/png, Size: 6534 bytes --]

[-- Attachment #3: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Colors not showing inside metapost after \showcolor
  2016-07-23  7:24 Colors not showing inside metapost after \showcolor Bou Salim
@ 2016-07-23  7:35 ` Schmitz Thomas A.
  2016-07-23 10:11   ` Hans Hagen
  0 siblings, 1 reply; 4+ messages in thread
From: Schmitz Thomas A. @ 2016-07-23  7:35 UTC (permalink / raw)
  To: mailing list for ConTeXt users


> On 23 Jul 2016, at 09:24, Bou Salim <salimcollo7@gmail.com> wrote:
> 
> Hi 
> I have this problem to show colors properly. I have defined color "myred",  but after \showcolor command  colors inside metapost can't be displayed.

Your example shows the correct colors here. Which version are you using? mkii or mkiv?

Thomas
___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Colors not showing inside metapost after \showcolor
  2016-07-23  7:35 ` Schmitz Thomas A.
@ 2016-07-23 10:11   ` Hans Hagen
  0 siblings, 0 replies; 4+ messages in thread
From: Hans Hagen @ 2016-07-23 10:11 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 7/23/2016 9:35 AM, Schmitz Thomas A. wrote:
>
>> On 23 Jul 2016, at 09:24, Bou Salim <salimcollo7@gmail.com> wrote:
>>
>> Hi
>> I have this problem to show colors properly. I have defined color "myred",  but after \showcolor command  colors inside metapost can't be displayed.
>
> Your example shows the correct colors here. Which version are you using? mkii or mkiv?

we can even say this now:

     fill fullcircle scaled 10mm withcolor "myred";

to refer to colors at the context end

Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Colors not showing inside metapost after \showcolor
@ 2016-07-23 11:34 Bou Salim
  0 siblings, 0 replies; 4+ messages in thread
From: Bou Salim @ 2016-07-23 11:34 UTC (permalink / raw)
  To: ntg-context


[-- Attachment #1.1: Type: text/plain, Size: 117 bytes --]

I have texlive 2016 on windows OS, I use context mkiv.
with context -- version   I have: current version: 2016-05-17

[-- Attachment #1.2: Type: text/html, Size: 264 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-07-23 11:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-23  7:24 Colors not showing inside metapost after \showcolor Bou Salim
2016-07-23  7:35 ` Schmitz Thomas A.
2016-07-23 10:11   ` Hans Hagen
2016-07-23 11:34 Bou Salim

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).