Re: [NTG-context] \mainlanguage[pe]

2016-07-06 Thread Mojca Miklavec
On 6 July 2016 at 20:02, Mohammad Hossein Bateni wrote:
> Hello,
>
> This was lost in the other thread, so I'm starting a fresh one dedicated to
> the question.
>
> 1) \showinstalledlanguages does not show pe/persian/fa or anything like that
> but it has several arabic variants.  was this dropped in MkIV or was there
> never a persian language environment even in MkII?

MkII (read: ConTeXt with pdfTeX) doesn't support typesetting in Arabic
script at all.

And support for XeTeX has always been limited in ConTeXt. So it's not
really strange if the language support is still missing. It can only
work in MkIV (and potentially in XeTeX, but I'm not sure how much
effort would be needed to make it work properly in XeTeX).

So feel free to contribute the translations as Wolfgang suggested.

Mojca
___
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] Baseline and framed

2016-07-06 Thread Fabrice Couvreur
The following macro places the title right

\unexpanded\def\HeadTitle#1#2%
  {\framed
[frame=off,
width=broad,
align={broad,nothyphenated,left}]
{#1\blank#2}}

2016-07-06 23:22 GMT+02:00 Fabrice Couvreur :

> I wish the chapter title on right of the page. The numbering of the
> chapters is fixed at 0, why ?
> thank you,
> Fabrice
>
>
> ​
> \unexpanded\def\HeadTitle#1#2%
>   {\vbox \bgroup
>\setupframed[offset=0.5em,frame=off]
>\inframed[width=fit,align=right]{#1}%
>\inframed[width=fit,align=right]{#2}%
>\egroup}
>
>
> \startusableMPgraphic{chapter}
>   picture r ;
>   r := image ( graphictext
> \MPstring{chapter}
> scaled 3pt
> withfillcolor \MPcolor{lightgray}
> withpen pencircle scaled 1pt ; ) ;
>   draw r ;
> \stopusableMPgraphic
>
> \unexpanded\def\processMPheadnumber#1%
>   {\setMPtext{chapter}{\bf#1}
>\useMPgraphic{chapter}}
>
> \setuphead
>[chapter]
>[command=\HeadTitle,
> numbercommand=\processMPheadnumber{\currentheadnumber}]
>
> \starttext
>
> \startchapter
>   [title={Séries statistiques à deux variables}]
>
>
> \stopchapter
>
> \startchapter
>   [title={Matrice}]
>
>
> \stopchapter
>
> \startchapter
>   [title={Graphe}]
>
>
> \stopchapter
>
> \stoptext
>
>
> 2016-07-06 16:24 GMT+02:00 Fabrice Couvreur :
>
>> Thank you Hans, the code would be :
>>
>> \unexpanded\def\HeadTitle#1#2%
>>   {\hbox to \hsize \bgroup
>>\hfill
>>\setupframed[offset=0.5em,frame=off]
>>\inframed[width=fit,align=left,frame=off]{\darkred#1}%
>>
>> \inframed[width=fit,align=right,leftframe=on,rulethickness=4pt,framecolor=darkred]{#2}%
>>\egroup}
>>
>> Thank you Hans, the code would be:
>> Could I ask you how to have the chapter number is like the
>> http://www.pragma-ade.nl/general/manuals/cont-enp.pdf book?
>> This is a macro Metafun but I do not quite understand the mechanism.
>> thank you,
>> Fabrice
>>
>> 2016-07-06 15:03 GMT+02:00 Hans Hagen :
>>
>>> On 7/6/2016 1:37 PM, Fabrice Couvreur wrote:
>>>

 Hello,
 In the manual, there is the macro below.
 Why theword "Matrice" is not on the same baseline as the number "1" ?
 thank you,
 Fabrice

 \unexpanded\def\HeadTitle#1#2%
   {\hbox to \hsize \bgroup
\setupframed[height=1cm,offset=0.5em,frame=on]
\framed[width=fit,align=left]{\darkred#1}%


 \framed[width=fit,align=right,leftframe=on,rulethickness=4pt,framecolor=darkred]{#2}%
 \egroup}

 \setuphead
[chapter]
[command=\HeadTitle]

 \starttext

 \startchapter
   [title={Matrice}]


 \stopchapter

 \stoptext

>>>
>>> fonts and such ... better use:
>>>
>>> \unexpanded\def\HeadTitle#1#2%
>>>   {\hbox to \hsize \bgroup
>>>\inframed[width=fit,align=left]{\darkred#1}%
>>>
>>>
>>> \inframed[width=fit,align=right,leftframe=on,rulethickness=4pt,framecolor=darkred]{#2}%
>>>\egroup}
>>>
>>> -
>>>   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
>>>
>>> ___
>>
>>
>>
>
___
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] Baseline and framed

2016-07-06 Thread Fabrice Couvreur
I wish the chapter title on right of the page. The numbering of the chapters is
fixed at 0, why ?
thank you,
Fabrice


​
\unexpanded\def\HeadTitle#1#2%
  {\vbox \bgroup
   \setupframed[offset=0.5em,frame=off]
   \inframed[width=fit,align=right]{#1}%
   \inframed[width=fit,align=right]{#2}%
   \egroup}


\startusableMPgraphic{chapter}
  picture r ;
  r := image ( graphictext
\MPstring{chapter}
scaled 3pt
withfillcolor \MPcolor{lightgray}
withpen pencircle scaled 1pt ; ) ;
  draw r ;
\stopusableMPgraphic

\unexpanded\def\processMPheadnumber#1%
  {\setMPtext{chapter}{\bf#1}
   \useMPgraphic{chapter}}

\setuphead
   [chapter]
   [command=\HeadTitle,
numbercommand=\processMPheadnumber{\currentheadnumber}]

\starttext

\startchapter
  [title={Séries statistiques à deux variables}]


\stopchapter

\startchapter
  [title={Matrice}]


\stopchapter

\startchapter
  [title={Graphe}]


\stopchapter

\stoptext


2016-07-06 16:24 GMT+02:00 Fabrice Couvreur :

> Thank you Hans, the code would be :
>
> \unexpanded\def\HeadTitle#1#2%
>   {\hbox to \hsize \bgroup
>\hfill
>\setupframed[offset=0.5em,frame=off]
>\inframed[width=fit,align=left,frame=off]{\darkred#1}%
>
> \inframed[width=fit,align=right,leftframe=on,rulethickness=4pt,framecolor=darkred]{#2}%
>\egroup}
>
> Thank you Hans, the code would be:
> Could I ask you how to have the chapter number is like the
> http://www.pragma-ade.nl/general/manuals/cont-enp.pdf book?
> This is a macro Metafun but I do not quite understand the mechanism.
> thank you,
> Fabrice
>
> 2016-07-06 15:03 GMT+02:00 Hans Hagen :
>
>> On 7/6/2016 1:37 PM, Fabrice Couvreur wrote:
>>
>>>
>>> Hello,
>>> In the manual, there is the macro below.
>>> Why theword "Matrice" is not on the same baseline as the number "1" ?
>>> thank you,
>>> Fabrice
>>>
>>> \unexpanded\def\HeadTitle#1#2%
>>>   {\hbox to \hsize \bgroup
>>>\setupframed[height=1cm,offset=0.5em,frame=on]
>>>\framed[width=fit,align=left]{\darkred#1}%
>>>
>>>
>>> \framed[width=fit,align=right,leftframe=on,rulethickness=4pt,framecolor=darkred]{#2}%
>>> \egroup}
>>>
>>> \setuphead
>>>[chapter]
>>>[command=\HeadTitle]
>>>
>>> \starttext
>>>
>>> \startchapter
>>>   [title={Matrice}]
>>>
>>>
>>> \stopchapter
>>>
>>> \stoptext
>>>
>>
>> fonts and such ... better use:
>>
>> \unexpanded\def\HeadTitle#1#2%
>>   {\hbox to \hsize \bgroup
>>\inframed[width=fit,align=left]{\darkred#1}%
>>
>>
>> \inframed[width=fit,align=right,leftframe=on,rulethickness=4pt,framecolor=darkred]{#2}%
>>\egroup}
>>
>> -
>>   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
>>
>> ___
>
>
>
___
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] \mainlanguage[pe]

2016-07-06 Thread Wolfgang Schuster

Mohammad Hossein Bateni 
6. Juli 2016 um 20:02
Hello,

This was lost in the other thread, so I'm starting a fresh one 
dedicated to the question.


1) \showinstalledlanguages does not show pe/persian/fa or anything 
like that but it has several arabic variants.  was this dropped in 
MkIV or was there never a persian language environment even in MkII?  
I thought there were translated labels for Farsi somewhere.
2) In the following MWE, ad-hoc hyphenation using \- works and leads 
to hyphenation.  However, specifying the pattern at the beginning does 
not have any effect.  Am I missing something?



\usemodule[simplefonts]
\setmainfont[dejavusans][features=arabic,range=arabic]
\setupalign[r2l]
\showframe
\hyphenation{سازمان‌-دهی}

\starttext

%% The above pattern is not used here and the long word moves into the 
margin.

\dorecurse{14}{سلام }
سازمان‌دهی
مناسب.

%% It does work here, though.
\dorecurse{14}{سلام }
سازمان\-دهی
مناسب.

\stoptext


How can one create a new language?  The languages manual 
 suggests 
that this is possible.  Does that mean I need to send the request to 
Hans/Wolfgang to create the new entry or can one do so dynamically?  
Beside the issue of sorting in indices, etc.—which I will get to in 
due time—having an entry for language pe/persian seems to be necessary 
to /properly/ use \setuplabeltext, etc.  Is that correct?
You can create a new language (and synonyms for it) with the 
\installlanguage command, below is a slightly modified version of the 
arabic entry. You can change the values for leftquotation etc. and send 
the result to Hans.


% this goes into mult-sys.mkiv

\definesystemconstant {persian} \definesystemconstant {fa}

% this goes into lang-def.mkiv

\installlanguage
  [\s!fa]
  [\c!spacing=\v!broad,
   \c!leftsentence=\emdash,
   \c!rightsentence=\emdash,
   \c!leftsubsentence=\emdash,
   \c!rightsubsentence=\emdash,
   \c!leftquote=\upperleftsinglesixquote,
   \c!rightquote=\upperrightsingleninequote,
   \c!leftquotation=\upperleftdoublesixquote,
   \c!rightquotation=\upperrightdoubleninequote,
   \c!date={\v!day,\space,\v!month,\space,\v!year}]

\installlanguage [\s!persian] [\s!fa]

\installlanguage[\s!fa-ir][\c!default=\s!fa]


The default labels for the languages are stored in lang-txt.lua, you can 
add entries for persian and send the modified file to Hans.


Wolfgang
___
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
___

[NTG-context] \mainlanguage[pe]

2016-07-06 Thread Mohammad Hossein Bateni
Hello,

This was lost in the other thread, so I'm starting a fresh one dedicated to
the question.

1) \showinstalledlanguages does not show pe/persian/fa or anything like
that but it has several arabic variants.  was this dropped in MkIV or was
there never a persian language environment even in MkII?  I thought there
were translated labels for Farsi somewhere.
2) In the following MWE, ad-hoc hyphenation using \- works and leads to
hyphenation.  However, specifying the pattern at the beginning does not
have any effect.  Am I missing something?


\usemodule[simplefonts]
\setmainfont[dejavusans][features=arabic,range=arabic]
\setupalign[r2l]
\showframe
\hyphenation{سازمان‌-دهی}

\starttext

%% The above pattern is not used here and the long word moves into the
margin.
\dorecurse{14}{سلام }
سازمان‌دهی
مناسب.

%% It does work here, though.
\dorecurse{14}{سلام }
سازمان\-دهی
مناسب.

\stoptext


How can one create a new language?  The languages manual
 suggests that
this is possible.  Does that mean I need to send the request to
Hans/Wolfgang to create the new entry or can one do so dynamically?  Beside
the issue of sorting in indices, etc.—which I will get to in due
time—having an entry for language pe/persian seems to be necessary to
*properly* use \setuplabeltext, etc.  Is that correct?

Thanks a lot!
—MHB
___
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
___

[NTG-context] ppchTeX

2016-07-06 Thread Henri Menke
Dear list,

I just wanted to check whether chemical structures typeset in ConTeXt
can be exported as XML.  Therefore I wanted to setup a simple example
with ppchTeX.  I copied example 3.1 from the manual [1]

> \usemodule[chemic]
> \starttext
> 
> \startchemical[height=4500,bottom=2500]
>   \bottext{$\beta$-D-Fructopyranose}
>   \chemical[SIX,FRONT,BB1236,+SB4,-SB5,Z5][O]
>   \chemical[SIX,FRONT,+R12346,+RZ12346][\SR{HO},H,H,H,OH]
>   \chemical[SIX,FRONT,-R12346,-RZ12346][H,OH,\SR{HO},H,CH_2OH]
> \stopchemical
> 
> \stoptext

Unfortunately, typesetting with MkIV distributed with TL 2016 produces
something really weird (see attached).

Is the module `chemic` compatible with MkIV or am I doing something wrong?

Cheers,
Henri

[1] http://www.pragma-ade.nl/general/manuals/mp-ch-en.pdf


test.pdf
Description: Adobe PDF document
___
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] Update server appears to be down

2016-07-06 Thread Mojca Miklavec
On 4 July 2016 at 17:38, Marco Patzer wrote:
> Hi (Mojca?)
>
> The contextgarden update server appears to be down:
>
>   rsync rsync://contextgarden.net
>   rsync: failed to connect to contextgarden.net (193.2.4.200): Connection 
> refused (111)
>   rsync: failed to connect to contextgarden.net (2001:1470:ff80:88::80:c): 
> Network is unreachable (101)
>   rsync error: error in socket IO (code 10) at clientserver.c(128) 
> [Receiver=3.1.1]
>
> Just notifying in case you're not aware. If the URL changed please
> let me know so I can correct my update scripts.

As already explained in another email, the admin did an OS upgrade on
Monday on a short notice and I wasn't online to send a notice to
others. But I believe the outage was short enough and hopefully all
should be back to normal.

Mojca
___
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] Baseline and framed

2016-07-06 Thread Fabrice Couvreur
Thank you Hans, the code would be :

\unexpanded\def\HeadTitle#1#2%
  {\hbox to \hsize \bgroup
   \hfill
   \setupframed[offset=0.5em,frame=off]
   \inframed[width=fit,align=left,frame=off]{\darkred#1}%

\inframed[width=fit,align=right,leftframe=on,rulethickness=4pt,framecolor=darkred]{#2}%
   \egroup}

Thank you Hans, the code would be:
Could I ask you how to have the chapter number is like the
http://www.pragma-ade.nl/general/manuals/cont-enp.pdf book?
This is a macro Metafun but I do not quite understand the mechanism.
thank you,
Fabrice

2016-07-06 15:03 GMT+02:00 Hans Hagen :

> On 7/6/2016 1:37 PM, Fabrice Couvreur wrote:
>
>>
>> Hello,
>> In the manual, there is the macro below.
>> Why theword "Matrice" is not on the same baseline as the number "1" ?
>> thank you,
>> Fabrice
>>
>> \unexpanded\def\HeadTitle#1#2%
>>   {\hbox to \hsize \bgroup
>>\setupframed[height=1cm,offset=0.5em,frame=on]
>>\framed[width=fit,align=left]{\darkred#1}%
>>
>>
>> \framed[width=fit,align=right,leftframe=on,rulethickness=4pt,framecolor=darkred]{#2}%
>> \egroup}
>>
>> \setuphead
>>[chapter]
>>[command=\HeadTitle]
>>
>> \starttext
>>
>> \startchapter
>>   [title={Matrice}]
>>
>>
>> \stopchapter
>>
>> \stoptext
>>
>
> fonts and such ... better use:
>
> \unexpanded\def\HeadTitle#1#2%
>   {\hbox to \hsize \bgroup
>\inframed[width=fit,align=left]{\darkred#1}%
>
>
> \inframed[width=fit,align=right,leftframe=on,rulethickness=4pt,framecolor=darkred]{#2}%
>\egroup}
>
> -
>   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
>
> ___
___
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] Baseline and framed

2016-07-06 Thread Hans Hagen

On 7/6/2016 1:37 PM, Fabrice Couvreur wrote:


Hello,
In the manual, there is the macro below.
Why theword "Matrice" is not on the same baseline as the number "1" ?
thank you,
Fabrice

\unexpanded\def\HeadTitle#1#2%
  {\hbox to \hsize \bgroup
   \setupframed[height=1cm,offset=0.5em,frame=on]
   \framed[width=fit,align=left]{\darkred#1}%

\framed[width=fit,align=right,leftframe=on,rulethickness=4pt,framecolor=darkred]{#2}%
\egroup}

\setuphead
   [chapter]
   [command=\HeadTitle]

\starttext

\startchapter
  [title={Matrice}]


\stopchapter

\stoptext


fonts and such ... better use:

\unexpanded\def\HeadTitle#1#2%
  {\hbox to \hsize \bgroup
   \inframed[width=fit,align=left]{\darkred#1}%

\inframed[width=fit,align=right,leftframe=on,rulethickness=4pt,framecolor=darkred]{#2}%
   \egroup}

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

[NTG-context] Baseline and framed

2016-07-06 Thread Fabrice Couvreur
Hello,
In the manual, there is the macro below.
Why the word "Matrice" is not on the same baseline as the number "1" ?
thank you,
Fabrice

\unexpanded\def\HeadTitle#1#2%
  {\hbox to \hsize \bgroup
   \setupframed[height=1cm,offset=0.5em,frame=on]
   \framed[width=fit,align=left]{\darkred#1}%

\framed[width=fit,align=right,leftframe=on,rulethickness=4pt,framecolor=darkred]{#2}%
\egroup}

\setuphead
   [chapter]
   [command=\HeadTitle]

\starttext

\startchapter
  [title={Matrice}]


\stopchapter

\stoptext
___
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] TikZ node and color

2016-07-06 Thread Christoph Reller
On Tue, 5 Jul 2016 10:21:48 +0200, Hans Hagen  wrote:
> On 7/5/2016 9:25 AM, Christoph Reller wrote:
>> Dear List,
>>
>> I use the latest version of ConTeXt and I have the following MWE:
>>
>> \usemodule[tikz]
>> \starttext
>>   \starttikzpicture
>> \node {\color[red]{red}};
>> \node[xshift=30] {\color[red]{not red}};
>>   \stoptikzpicture
>> \stoptext
>>
>> Can anybody tell me why the second node is not colored red?
>>
>> Aside: In LaTeX when using \color{red}{...} this tikzpicture renders
>> correctly. For LaTeX I use TikZ version 3.0.1a, in ConTeXt it seems to
>> be version 3.0.1.
>>
>> Any feedback is welcome.
>
> tikz has its own color mechanisms and they don't mix well with context
> color support so context probbably thinks it's still in red (so you need
> to force something non red in front)
>
> \starttikzpicture
>  \node {\color[red]{red}};
>  \node[xshift=30] {\zwnj\color[red]{not red}};
> \stoptikzpicture

Thank you Hans! This workaround does the job.

For those interested: The \zwnj can be prepended automatically to
every node by setting "every node/.add code=\zwnj". The updated MWE
now is:

\usemodule[tikz]
\tikzset{every node/.add code=\zwnj}
\starttext
  \starttikzpicture
\node {\color[red]{red}};
\node[xshift=30] {\color[red]{not red}};
  \stoptikzpicture
\stoptext

Cheers,
Christoph
___
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
___