Re: [NTG-context] changes of color

2021-09-21 Thread fv leung via ntg-context
\starttext

It seems that the problem comes up when the same color as the surrounding
text is used in MPcode.\par
{
  \red
  text red\par
  \startMPcode
drawoptions(withcolor blue);
label("text blue in MPcode", origin);
  \stopMPcode
  \par
  text still red\par
  But\par
  text red\par
  \startMPcode
drawoptions(withcolor red);
label("text red in MPcode", origin);
  \stopMPcode
  \par
  text turns black\par
  Can get over with this:\par
  text red\par
  \startMPcode
drawoptions(withcolor red);
label("text red in MPcode", origin);
label("\null", origin); % add this seems to solve the problem
  \stopMPcode
  \par
  text still red\par
  Don't know why. Just an observation.
}

\stoptext

Thierry Horsin via ntg-context  於 2021年9月21日 週二
下午8:00寫道:

> Hi everybody
>
> After some part of a tex file where there is some startMPcode section the
> color of the text (e.g. blue) changes to black up until the next page in
> the pdf.
>
> Is there something I am missing ?
> Thank you.
> Thierry
>
> ___
> 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://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki : http://contextgarden.net
>
> ___
>
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


[NTG-context] changes of color

2021-09-21 Thread Thierry Horsin via ntg-context
Hi everybody

After some part of a tex file where there is some startMPcode section the color 
of the text (e.g. blue) changes to black up until the next page in the pdf.

Is there something I am missing ?
Thank you.
Thierry
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___