Thanks Wolfgang
Fabrice

2016-07-22 10:26 GMT+02:00 Wolfgang Schuster <schuster.wolfgang@gmail.com>:
22. Juli 2016 um 09:48
Hi Wolfgang,
It is clear, I think I understand (My English is not perfect !). So back to my original post, if I want only the counter is white and surrounded by a red frame, just write :

\defineenumeration
  [ex]
   [text=,
    distance=0.3em,
    width=fit,
    numberconversionset=ACCONVERSION,
    alternative=serried,
   ]

\defineprocessor[ACPROCESSOR][command=\ACFRAME]
\defineconversionset[ACCONVERSION][][ACPROCESSOR->n]

You can play with the position of the frame and place the number on the same line as the content:

\defineframed
  [ACFRAME]
  [frame=off,
   offset=0pt,
   location=low,
   width=\struttotal,
   background=color,
   backgroundcolor=red,
   foregroundcolor=white,
   forgroundstyle=bold]

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
___________________________________________________________________________________