ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Alan Stone" <software.list.1es9s@gmail.com>
To: "mailing list for ConTeXt users" <ntg-context@ntg.nl>
Subject: Re: colors questions
Date: Mon, 8 Sep 2008 12:28:47 +0200	[thread overview]
Message-ID: <326847810809080328u1728da21rd8d4ee99a478adcc@mail.gmail.com> (raw)
In-Reply-To: <48C4F0C9.90607@wxs.nl>

Thanks Hans.

Still about setupinteraction's "contrastcolor".

In an interactionmenu, how do you maintain an item's color to
"contrastcolor" when the corresponding section spans over more than
one screen/page ? It switches back to "color" after the first
screen/page.


On Mon, Sep 8, 2008 at 11:30 AM, Hans Hagen <pragma@wxs.nl> wrote:
> Alan Stone wrote:
>> Source: texshow
>>
>> (1) \setupinteraction
>> color                  name
>> contrastcolor      name
>>
>> How do you set the setupinteraction contrastcolor background color ?
>
> hm, there is no interactionbackgroundcolor (maybe some day in mkiv when
> i've redone hyperlinks)
>
>> (2) \defineinteractionmenu, \setupinteractionmenu, \interactionbuttons
>>
>> color                   name
>> background         screen color none foreground name
>> backgroundcolor  name
>> foregroundcolor    name
>>
>> (2.1) What is "background="
>>
>> - screen ?
>
> grayscale
>
>> - color ?
>
> color
>
>> - foreground ?
>
> color of content (like text)
>
>> (2.2) What's the difference between
>>
>> - "color" and "foregroundcolor" ?
>
> foregroundcolor is somewhat special in the sense that it applies to the
> 'framed' content; in mkiv we use whatsits to track color and using
> colors around your boxed content might interfere so therefore we have
> this special less interfering foregroundcolor; in mkiv this interference
> is gone (by design)
>
>> - background=name and backgroundcolor=name ?
>
> background={somecolorname,somebackgroundthing,somemore)
>
> i.e. can be a sequence of things to be applied (just grep for
> background= in the s-*.tex files)
>
> Hans
>
> (keep in mind that tex itself has no concept of color, nor of backgrounds)




-- 
Best,
Alan

* using ConTeXt ver: 2008.08.18 14:00 MKIV fmt: 2008.8.22 int:
english/english (on Windows XP)
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


  reply	other threads:[~2008-09-08 10:28 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-08  9:09 Alan Stone
2008-09-08  9:30 ` Hans Hagen
2008-09-08 10:28   ` Alan Stone [this message]
2008-09-08 11:37     ` Hans Hagen
2008-09-08 12:05       ` Alan Stone
2008-09-08 16:38 ` \bTABLE and \chemical Alan BRASLAU
2008-09-09  6:33   ` Wolfgang Schuster
2008-09-09  7:44     ` Alan BRASLAU

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=326847810809080328u1728da21rd8d4ee99a478adcc@mail.gmail.com \
    --to=software.list.1es9s@gmail.com \
    --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).