From: Idris S Hamid <ishamid@lamar.colostate.edu>
Subject: Re: color band
Date: Sun, 23 Mar 2003 15:04:20 -0700 [thread overview]
Message-ID: <3E7E2F64.CF694C60@lamar.colostate.edu> (raw)
In-Reply-To: <3E7CEABD.9DEBD96B@lamar.colostate.edu>
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=<color>, 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
next prev parent reply other threads:[~2003-03-23 22:04 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 [this message]
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
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=3E7E2F64.CF694C60@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).