From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/11602 Path: main.gmane.org!not-for-mail From: Idris S Hamid Newsgroups: gmane.comp.tex.context Subject: Re: color band Date: Sun, 23 Mar 2003 15:04:20 -0700 Sender: ntg-context-admin@ntg.nl Message-ID: <3E7E2F64.CF694C60@lamar.colostate.edu> References: <3E7CEABD.9DEBD96B@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 1048457234 8001 80.91.224.249 (23 Mar 2003 22:07:14 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 23 Mar 2003 22:07:14 +0000 (UTC) Original-X-From: ntg-context-admin@ntg.nl Sun Mar 23 23:07:09 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 18xDcS-00024l-00 for ; Sun, 23 Mar 2003 23:07:08 +0100 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id CEBAD10B8E; Sun, 23 Mar 2003 23:07:06 +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 B2A0410B50 for ; Sun, 23 Mar 2003 23:04:20 +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 PAA29346 for ; Sun, 23 Mar 2003 15:04:21 -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 h2NM3q2717844 for ; Sun, 23 Mar 2003 15:03:53 -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:11602 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:11602 Dear gang, Thanks for all the responses; I'll look at them closely. Still no internet at home so I worked out a couple of things earlier before getting to my email. Some problems are solved, others remain. In particular, the key, backgroundcolor=, appears to be broken. Here is the relevant code for my cover: ========================= %\setupoutput[pdftex] % \definepapersize[journal][width=5.5in, height=8.5in] \setuppapersize[journal][letter] \setuplayout[top=2cm,marking=on] % \setuppagenumber[state=stop] \def\ALAVIband{\midaligned{ | \vbox{\hsize=7cm | \setupcolors[state=start] | \setupbackground[ | foregroundcolor=darkgreen, | backgroundcolor=darkyellow | ] | \startbackground | \hbox{}\vskip14pt | \midaligned{\tfa THE ALAVI FOUNDATION} | \stopbackground | } | } | } \setuptoptexts[\ALAVIband] \defineoverlay[backgr][{\externalfigure[mbor-026.eps]}] \setupbackgrounds[page][leftedge][background=backgr,backgroundcolor=darkgreen] \starttext \input tufte \stoptext ========================= Problems: 1. For the def. of \ALAVIband, the key, backgroundcolor=darkyellow, does not work; I still get grey. 2. For overlay I want to something different for the front and back cover; in the above example they are combined. Overlaying an eps appears to work as expected. But overlaying the entire page in some color does not work at all. Again, the key, backgroundcolor=darkyellow, does not work; 3. Is there a way to precisely make the top of the \ALAVIband flush with the top edge of the paper? If you change \hsize in the \vbox to 15cm, you will see that the grey band is just higher than the crop marks. Thanks to all for their kind help. Best Idris