Derek CORDEIRO wrote:
I'm no expert, but this seems to work:

\setupcolors [state=start, system=rgb]

\def\bw#1{\framed[background=color,backgroundcolor=black]{\color[white]{#1}}}

\setuppagenumbering[command=\bw,location={header,margin}]
\starttext
\input tufte
\stoptext

or

\def\bw#1%
 {\framed
    [background=color,
     backgroundcolor=black,
     foregroundcolor=white,
     foregroundstyle=bold]
    {#1}}

(best use \WhiteOnBlack or so since bw might conflict)

-----------------------------------------------------------------
                                          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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to