From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/59994 Path: news.gmane.org!not-for-mail From: "Tom" Newsgroups: gmane.comp.tex.context Subject: Re: Shaded frame with colored text Date: Fri, 2 Jul 2010 08:07:41 -0400 Message-ID: <013001cb19df$2c510620$84f31260$@com> References: <011701cb196e$b3a282a0$1ae787e0$@com> <4C2D1B6D.2030109@googlemail.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 1278072482 31979 80.91.229.12 (2 Jul 2010 12:08:02 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 2 Jul 2010 12:08:02 +0000 (UTC) To: "'mailing list for ConTeXt users'" Original-X-From: ntg-context-bounces@ntg.nl Fri Jul 02 14:08:00 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 1OUf2B-0005F8-Vp for gctc-ntg-context-518@m.gmane.org; Fri, 02 Jul 2010 14:07:56 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C511AC9B88; Fri, 2 Jul 2010 14:07:54 +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 FqznWXO+qA+N; Fri, 2 Jul 2010 14:07:50 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B2577C9B41; Fri, 2 Jul 2010 14:07:50 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 31CA3C9B41 for ; Fri, 2 Jul 2010 14:07:49 +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 v+QPTJDIK+ZF for ; Fri, 2 Jul 2010 14:07:45 +0200 (CEST) Original-Received: from smtp1.ctinetworks.com (smtp1.ctinetworks.com [205.166.61.208]) by balder.ntg.nl (Postfix) with ESMTP id BA679C9AC7 for ; Fri, 2 Jul 2010 14:07:45 +0200 (CEST) Original-Received: from TomPC (dsl-206-251-8-11.dsl0.crls.pa.net [206.251.8.11]) by smtp1.ctinetworks.com (Postfix) with ESMTP id 27EAB585820 for ; Fri, 2 Jul 2010 08:07:44 -0400 (EDT) In-Reply-To: <4C2D1B6D.2030109@googlemail.com> X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AcsZb+CTFYpUM+KlTdqmr2MBLeP39wAbwZZQ Content-Language: en-us X-ctinetworks-Information: Please contact the ISP for more information X-ctinetworks-MailScanner-ID: 27EAB585820.A5652 X-ctinetworks-VirusCheck: Found to be clean X-ctinetworks-SpamCheck: X-ctinetworks-Watermark: 1278936464.92383@cnc10QHsnv7GzarJ0f4YEQ 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:59994 Archived-At: Thanks. That did the trick. Now, How do I insert multi-page PDFs created elsewhere in an appendix. Tom Benjey 717-258-9733 voice 717-243-0074 fax Twitter: @TomBenjey -----Original Message----- From: ntg-context-bounces@ntg.nl [mailto:ntg-context-bounces@ntg.nl] On Behalf Of Wolfgang Schuster Sent: Thursday, July 01, 2010 6:49 PM To: mailing list for ConTeXt users Subject: Re: [NTG-context] Shaded frame with colored text Am 02.07.10 00:42, schrieb Tom: > 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? > Colors are disabled in MkII, to enable them include \setupcolors[state=start] to your document. > \def\MyChapterCommand#1#2% #1 is number, #2 is text > {\framed[frame=on,align=middle] > {\vbox{\headtext{chapter} #1\blank#2}}} > \framed [.., background=color, backgroundcolor=red, foregroundcolor=blue, ...] {...} > \setuphead[chapter] > [command=\MyChapterCommand,textstyle=\ss\bf, > header=empty,footer=chapter, > numbercommand=\ss\bf\em\tfd,after=\vskip 0.5in,before=\vskip 1.0in] > use 'numberstyle' instead of 'numbercommand' for style related settings and replace your \vskip settings with \blank before={\blank[force,1.0in]}, after={\blank[0.5in]}, 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 ____________________________________________________________________________ _______ ___________________________________________________________________________________ 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 ___________________________________________________________________________________