Re: [NTG-context] Metafun does not change color

2010-02-19 Thread Hans Hagen

On 18-2-2010 22:03, Xan wrote:


I have the following code (see at final). I define SquareText to be
darkblue in framecolor, but metafun use darkred. Why? Any ideas?



p := textext.rt(\MPstring{FunnyFrame}) ;


you need to change the color in textext (or in the MPstring)


draw p withcolor black ;


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


Re: [NTG-context] Metafun does not change color

2010-02-19 Thread Xan

En/na Hans Hagen ha escrit:

On 18-2-2010 22:03, Xan wrote:


I have the following code (see at final). I define SquareText to be
darkblue in framecolor, but metafun use darkred. Why? Any ideas?



p := textext.rt(\MPstring{FunnyFrame}) ;



And so, why does the setuoframedtext option mean?

\setupframedtexts
 [SquareText]
 [backgroundcolor=screen,
  framecolor=darkblue,
  rulethickness=2pt,
  offset=\bodyfontsize,
  before={\blank[big,medium]},
  after={\blank[big]},
  width=\textwidth]

I extract the example from manual.

Regards,
Xan.
___
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
___