From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/43790 Path: news.gmane.org!not-for-mail From: "Alan Stone" Newsgroups: gmane.comp.tex.context Subject: Re: colors questions Date: Mon, 8 Sep 2008 12:28:47 +0200 Message-ID: <326847810809080328u1728da21rd8d4ee99a478adcc@mail.gmail.com> References: <326847810809080209y35a4f3dev9f063806378b6e9c@mail.gmail.com> <48C4F0C9.90607@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1220869838 13548 80.91.229.12 (8 Sep 2008 10:30:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 8 Sep 2008 10:30:38 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Mon Sep 08 12:31:32 2008 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1Kce1s-0008Bw-9i for gctc-ntg-context-518@m.gmane.org; Mon, 08 Sep 2008 12:31:32 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 918411FD38; Mon, 8 Sep 2008 12:30:27 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 19654-01-6; Mon, 8 Sep 2008 12:29:39 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 4C1CF1FF08; Mon, 8 Sep 2008 12:29:38 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 49CD21FECC for ; Mon, 8 Sep 2008 12:29:28 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 19654-01-5 for ; Mon, 8 Sep 2008 12:28:51 +0200 (CEST) Original-Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.152]) by ronja.ntg.nl (Postfix) with ESMTP id 592D41FF08 for ; Mon, 8 Sep 2008 12:28:48 +0200 (CEST) Original-Received: by fg-out-1718.google.com with SMTP id l26so977942fgb.8 for ; Mon, 08 Sep 2008 03:28:48 -0700 (PDT) Original-Received: by 10.86.68.2 with SMTP id q2mr11178456fga.43.1220869727930; Mon, 08 Sep 2008 03:28:47 -0700 (PDT) Original-Received: by 10.210.16.2 with HTTP; Mon, 8 Sep 2008 03:28:47 -0700 (PDT) In-Reply-To: <48C4F0C9.90607@wxs.nl> Content-Disposition: inline X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:43790 Archived-At: 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 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 ___________________________________________________________________________________