From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/11676 Path: main.gmane.org!not-for-mail From: Idris S Hamid Newsgroups: gmane.comp.tex.context Subject: Re: Re: color band Date: Thu, 27 Mar 2003 08:42:49 -0700 Sender: ntg-context-admin@ntg.nl Message-ID: <3E831BF9.C1601A6A@lamar.colostate.edu> References: <3E7E3436.FFDE47CE@lamar.colostate.edu> <3E7CEABD.9DEBD96B@lamar.colostate.edu> <3E7E2F64.CF694C60@lamar.colostate.edu> <18016835127.20030323230952@iol.it> <3E7E3436.FFDE47CE@lamar.colostate.edu> <5.1.0.14.1.20030324102827.0320d688@server-1> <3E807645.6061EC31@lamar.colostate.edu> <87of3z1i8e.fsf@gundla.ch> <3E80D746.1E804589@lamar.colostate.edu> <87vfy7yskz.fsf@gundla.ch> 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 1048779928 20756 80.91.224.249 (27 Mar 2003 15:45:28 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 27 Mar 2003 15:45:28 +0000 (UTC) Original-X-From: ntg-context-admin@ntg.nl Thu Mar 27 16:45:26 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 18yZZ5-0005Nn-00 for ; Thu, 27 Mar 2003 16:45:15 +0100 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id D772B10B21; Thu, 27 Mar 2003 16:45:15 +0100 (MET) Original-Received: from mesa.acns.ColoState.EDU (mesa.acns.colostate.edu [129.82.100.130]) by ref.ntg.nl (Postfix) with ESMTP id 1AC6310AE7 for ; Thu, 27 Mar 2003 16:42:49 +0100 (MET) Original-Received: from lamar.colostate.edu (lamar.acns.colostate.edu [129.82.100.75]) by mesa.acns.ColoState.EDU (AIX4.3/8.9.3/8.9.3) with ESMTP id IAA24738 for ; Thu, 27 Mar 2003 08:42:50 -0700 Original-Received: from lamar.colostate.edu (ihamid.libarts.colostate.edu [129.82.187.166] (may be forged)) by lamar.colostate.edu (AIX5.1/8.11.0/8.8.8) with ESMTP id h2RFgI2394352 for ; Thu, 27 Mar 2003 08:42:18 -0700 X-Mailer: Mozilla 4.77 [en] (Windows NT 5.0; U) X-Accept-Language: en Original-To: ntg-context@ntg.nl Errors-To: ntg-context-admin@ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.0.13 Precedence: bulk X-Reply-To: ishamid@colostate.edu 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:11676 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:11676 Patrick Gundlach wrote: > > still gives me no overlayed color. > you have set \setupcolors[state=start] ? That was the culprit, apparently. I defined it in my definition for the color band but since it was grouped in that def it did not transfer. Now the original [page] option works as expected; [text] [leftmargin] places color in the left margin. This is the working file, if any wants to play with it: Best wishes Idris ================== %\setupoutput[pdftex] % \definepapersize[journal][width=5.5in, height=8.5in] \setuppapersize[journal][letter] \setuplayout[top=2cm,marking=on,width=middle,location=middle] % \setuppagenumber[state=stop] \def\ALAVIband{\midaligned{ \vbox{\hsize=7cm \setupcolors[state=start] \setupbackground[background=color, foregroundcolor=white, backgroundcolor=blue, ] \startbackground \hbox{}\vskip14pt \midaligned{\tfa THE ALAVI FOUNDATION} \stopbackground } } } \setuptoptexts[\ALAVIband] \defineoverlay[backgr][{\externalfigure[elements2.eps]}] \setupcolors[state=start] \setupbackgrounds[page][leftmargin][background={color,backgr}, backgroundcolor=green] \starttext \input tufte \stoptext ==================