I haven't had any luck filling in the background of a frame with any color
other than black and with changing the color of the text in the frame to
white or gray. What needs to be added to this mkii code?

\def\MyChapterCommand#1#2% #1 is number, #2 is text
  {\framed[frame=on,align=middle]
     {\vbox{\headtext{chapter} #1\blank#2}}} 

\setuphead[chapter]
 [command=\MyChapterCommand,textstyle=\ss\bf,
  header=empty,footer=chapter,
  numbercommand=\ss\bf\em\tfd,after=\vskip 0.5in,before=\vskip 1.0in]
 
\starttext
\chapter{Test Chapter}
\input knuth
\stoptext

Thanks,

Tom Benjey
717-258-9733 voice
717-243-0074 fax
Twitter: @TomBenjey






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

Reply via email to