From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/11605 Path: main.gmane.org!not-for-mail From: Giuseppe Bilotta Newsgroups: gmane.comp.tex.context Subject: Re[2]: color band Date: Mon, 24 Mar 2003 00:07:22 +0100 Sender: ntg-context-admin@ntg.nl Message-ID: <17620285208.20030324000722@iol.it> References: <3E7CEABD.9DEBD96B@lamar.colostate.edu> <3E7E2F64.CF694C60@lamar.colostate.edu> <18016835127.20030323230952@iol.it> <3E7E3436.FFDE47CE@lamar.colostate.edu> Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1048461064 20571 80.91.224.249 (23 Mar 2003 23:11:04 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 23 Mar 2003 23:11:04 +0000 (UTC) Original-X-From: ntg-context-admin@ntg.nl Mon Mar 24 00:11:02 2003 Return-path: Original-Received: from ref.vet.uu.nl ([131.211.172.13] helo=ref.ntg.nl) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18xEcI-0005Le-00 for ; Mon, 24 Mar 2003 00:11:02 +0100 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id 820A010B51; Mon, 24 Mar 2003 00:10:59 +0100 (MET) Original-Received: from smtp1.libero.it (smtp1.libero.it [193.70.192.51]) by ref.ntg.nl (Postfix) with ESMTP id C05F810B50 for ; Mon, 24 Mar 2003 00:08:19 +0100 (MET) Original-Received: from [151.29.141.182] (151.29.141.182) by smtp1.libero.it (6.7.015) id 3E44E7FA010A2F22 for ntg-context@ntg.nl; Mon, 24 Mar 2003 00:08:21 +0100 X-Mailer: The Bat! (v1.63 Beta/7) X-Priority: 3 (Normal) Original-To: ntg-context@ntg.nl In-Reply-To: <3E7E3436.FFDE47CE@lamar.colostate.edu> Errors-To: ntg-context-admin@ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.0.13 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.comp.tex.context:11605 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:11605 Sunday, March 23, 2003 Idris S Hamid wrote: >> You need to specify both background=color and >> backgroundcolor=darkyellow, AFAIK. ISH> I just tried this, now I lose the (formerly grey) background band ISH> completey; and there is no effect in the overlay: ISH> ============== ISH> \def\ALAVIband{\midaligned{ ISH> | \vbox{\hsize=15cm ISH> | \setupcolors[state=start] ISH> | \setupbackground[background=color, %%% your change ISH> | foregroundcolor=darkgreen, ISH> | backgroundcolor=darkblue ISH> | ] ISH> | \startbackground ISH> | \hbox{}\vskip14pt ISH> | \midaligned{\tfa THE ALAVI FOUNDATION} ISH> | \stopbackground ISH> | } ISH> | } ISH> | } Looks like a bug in the backgrounds system. In the mean time, what about this? \defineframed[alaviframe][ frame=off, background=color, backgroundcolor=yellow, foregroundcolor=darkgreen, align=middle, foregroundstyle=\tfa, width=15cm, ] \def\ALAVIband{% \alaviframe{\noindent\vskip14pt THE ALAVI FOUNDATION} }