23 Aug
2009
23 Aug
'09
8 p.m.
On Mon, 24 Aug 2009, 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}}}
Slightly more ConTeXtish \defineframed [WhiteOnBlack] [background=color,backgroundcolor=black,foregroundcolor=white] (I also tend to avoid small lowercase command names, as you could inadvertenly redefine a build-in context macro)
\setuppagenumbering[command=\bw,location={header,margin}] \starttext \input tufte \stoptext
Aditya