ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Idris S Hamid <ishamid@lamar.colostate.edu>
Subject: Re: Re: color band
Date: Thu, 27 Mar 2003 08:42:49 -0700	[thread overview]
Message-ID: <3E831BF9.C1601A6A@lamar.colostate.edu> (raw)
In-Reply-To: <87vfy7yskz.fsf@gundla.ch>

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
==================

  reply	other threads:[~2003-03-27 15:42 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-22 22:59 Idris S Hamid
2003-03-23  2:07 ` Matthew Huggett
2003-03-23  7:47 ` Guy Worthington
2003-03-23 21:15   ` Idris S Hamid
2003-03-23  8:56 ` Patrick Gundlach
2003-03-23 22:04 ` Idris S Hamid
2003-03-23 22:09   ` Re[2]: " Giuseppe Bilotta
2003-03-23 22:24     ` Idris S Hamid
2003-03-23 23:07       ` Re[2]: " Giuseppe Bilotta
2003-03-23 23:30         ` Re[3]: " Giuseppe Bilotta
2003-03-24  9:29         ` Re[2]: " Hans Hagen
2003-03-25 15:31           ` Idris S Hamid
2003-03-25 17:10             ` Hans Hagen
2003-03-25 17:14             ` Patrick Gundlach
2003-03-25 22:25               ` Idris S Hamid
2003-03-25 22:41                 ` Bill McClain
2003-03-25 22:44                 ` Patrick Gundlach
2003-03-27 15:42                   ` Idris S Hamid [this message]
2003-03-27 16:20                     ` Patrick Gundlach
2003-03-27 21:38                       ` Idris S Hamid
2003-03-27 17:16                     ` Hans Hagen
2003-03-27 15:45                   ` Idris S Hamid
2003-03-26  7:31               ` Hans Hagen
2003-03-26  8:01             ` Patrick Gundlach

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3E831BF9.C1601A6A@lamar.colostate.edu \
    --to=ishamid@lamar.colostate.edu \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).