From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/59966 Path: news.gmane.org!not-for-mail From: "Tom" Newsgroups: gmane.comp.tex.context Subject: Shaded frame with colored text Date: Thu, 1 Jul 2010 18:42:35 -0400 Message-ID: <011701cb196e$b3a282a0$1ae787e0$@com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1278024186 29204 80.91.229.12 (1 Jul 2010 22:43:06 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 1 Jul 2010 22:43:06 +0000 (UTC) To: Original-X-From: ntg-context-bounces@ntg.nl Fri Jul 02 00:43:05 2010 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OUSTJ-0003kF-3p for gctc-ntg-context-518@m.gmane.org; Fri, 02 Jul 2010 00:43:05 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A4494C9B41; Fri, 2 Jul 2010 00:43:04 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id lbAAk6UN3EsM; Fri, 2 Jul 2010 00:42:50 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 317CEC9AE3; Fri, 2 Jul 2010 00:42:50 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 20170C9AE3 for ; Fri, 2 Jul 2010 00:42:48 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id Mzbb22NgCdJz for ; Fri, 2 Jul 2010 00:42:42 +0200 (CEST) Original-Received: from smtp1.ctinetworks.com (smtp1.ctinetworks.com [205.166.61.208]) by balder.ntg.nl (Postfix) with ESMTP id A8EBDC9A9C for ; Fri, 2 Jul 2010 00:42:42 +0200 (CEST) Original-Received: from TomPC (dsl-206-251-12-162.dsl0.crls.pa.net [206.251.12.162]) by smtp1.ctinetworks.com (Postfix) with ESMTP id 527A4585878 for ; Thu, 1 Jul 2010 18:42:38 -0400 (EDT) X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AcsZbrMfcVuhnV5ESvmyAO3XhMs1+g== Content-Language: en-us X-ctinetworks-Information: Please contact the ISP for more information X-ctinetworks-MailScanner-ID: 527A4585878.A4940 X-ctinetworks-VirusCheck: Found to be clean X-ctinetworks-SpamCheck: X-ctinetworks-Watermark: 1278888161.61586@9mmEssO/rF2cyPYDcOHtJw X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:59966 Archived-At: 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 ___________________________________________________________________________________