ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: colors questions
Date: Mon, 08 Sep 2008 11:30:49 +0200	[thread overview]
Message-ID: <48C4F0C9.90607@wxs.nl> (raw)
In-Reply-To: <326847810809080209y35a4f3dev9f063806378b6e9c@mail.gmail.com>

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)


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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  9:30 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 [this message]
2008-09-08 10:28   ` Alan Stone
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=48C4F0C9.90607@wxs.nl \
    --to=pragma@wxs.nl \
    --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).