Hi Henri,
Thank you, it works. What's weird is that I used \setuphead [subsection][...] once unsuccessfully probably a mistake on my part.
Fabrice


2016-07-27 12:23 GMT+02:00 Henri Menke <henrimenke@gmail.com>:
Hi Fabrice,

use \setuphead (see below).

Cheers, Henri

---

\starttext

\setuphead
  [subsection]
  [
    sectionsegments=subsection:subsection,
    color=darkred,
  ]

\startsubsection[title={Recherche d'une fonction sous contraintes}]
\stopsubsection

\stoptext

On 07/27/2016 11:24 AM, Fabrice Couvreur wrote:
> Hello,
> With this
>
> \startsubsection
>    [title={\darkred Recherche d'une fonction sous contraintes},
>     sectionsegments=subsection:subsection,
>     numbercommand={\darkred}]
>
> it does not work.
> Thanks
> Fabrice
>
>
> ___________________________________________________________________________________
> 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
___________________________________________________________________________________