From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/70974 Path: news.gmane.org!not-for-mail From: Alasdair McAndrew Newsgroups: gmane.comp.tex.context Subject: Re: Text Colour Date: Wed, 31 Aug 2011 15:04:11 +1000 Message-ID: References: <1314755853.2940.80.camel@kip-laptop> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2108827669==" X-Trace: dough.gmane.org 1314767075 16393 80.91.229.12 (31 Aug 2011 05:04:35 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 31 Aug 2011 05:04:35 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Aug 31 07:04:31 2011 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QycyU-0008UH-Rk for gctc-ntg-context-518@m.gmane.org; Wed, 31 Aug 2011 07:04:30 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 2C98CCAF34; Wed, 31 Aug 2011 07:04:29 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id sHzxjm19Nn9C; Wed, 31 Aug 2011 07:04:26 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 684F7CAF31; Wed, 31 Aug 2011 07:04:26 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id E8707CAF31 for ; Wed, 31 Aug 2011 07:04:24 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id w4gD5qOUZsEo for ; Wed, 31 Aug 2011 07:04:13 +0200 (CEST) Original-Received: from filter3-til.mf.surf.net (filter3-til.mf.surf.net [194.171.167.219]) by balder.ntg.nl (Postfix) with ESMTP id 91A71CAF26 for ; Wed, 31 Aug 2011 07:04:13 +0200 (CEST) Original-Received: from mail-bw0-f41.google.com (mail-bw0-f41.google.com [209.85.214.41]) by filter3-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p7V54BPA005033 for ; Wed, 31 Aug 2011 07:04:13 +0200 Original-Received: by bkbzt4 with SMTP id zt4so499488bkb.14 for ; Tue, 30 Aug 2011 22:04:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=VVVCoI5BcTzI7GqyidPbv/ImehNv1GVLeKX4Ly47bro=; b=iQiAy0/8A3nfAB9cbrQmuNFvVd27SbaYFhdb7sWHr+0oPjTU0hUGr0EnYga3QRGuID kfl8+PAsDSD/eHaPm44cdxllNpozG2YEtKWPGeE+yN8lrFUXCax0I10cTPMsoWTmhiGJ 93orRvEgEFsvxB1LFyhz3GOeMBzibOX4AGo0c= Original-Received: by 10.204.135.23 with SMTP id l23mr580953bkt.273.1314767051112; Tue, 30 Aug 2011 22:04:11 -0700 (PDT) Original-Received: by 10.204.69.211 with HTTP; Tue, 30 Aug 2011 22:04:11 -0700 (PDT) In-Reply-To: X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.214.41; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0eFqR4b6d - 1c5e06c60d31 - 20110831 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.219 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:70974 Archived-At: --===============2108827669== Content-Type: multipart/alternative; boundary=0015174753bc0b412104abc60f4f --0015174753bc0b412104abc60f4f Content-Type: text/plain; charset=ISO-8859-1 This brings up a question I have - how do I obtain, say, all {\tt } text in blue and all {\em } text in red? I seem to be using MkII, and I don't have access to the \definehighlight command. Thanks, Alasdair On Wed, Aug 31, 2011 at 2:19 PM, Aditya Mahajan wrote: > On Tue, 30 Aug 2011, Kip Warner wrote: > > Hey folks, >> >> How do I set the body text foreground colour? I tried the following, but >> it just ignored it: >> >> \definecolor[colour_text][r=0.**754,g=0.516,b=0.324] >> >> \setupbodyfontenvironment >> [default] >> [em=italic, >> color=colour_text] >> >> I don't want to have to use \startcolor and \stopcolor every time I wish >> this default to be applied. >> > > \definehighlight[emph][style=**em,color=red] > > \emph{...} > > Aditya > > ______________________________**______________________________** > _______________________ > 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 : http://foundry.supelec.fr/**projects/contextrev/ > wiki : http://contextgarden.net > ______________________________**______________________________** > _______________________ > -- Blog: http://amca01.wordpress.com Web: http://bit.ly/Alasdair Facebook: http://www.facebook.com/alasdair.mcandrew --0015174753bc0b412104abc60f4f Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable This brings up a question I have - how do I obtain, say, all {\tt=A0 } text= in blue and all {\em } text in red?=A0 I seem to be using MkII, and I don&= #39;t have access to the \definehighlight command.

Thanks,
Alasda= ir

On Wed, Aug 31, 2011 at 2:19 PM, Aditya Maha= jan <adityam@umic= h.edu> wrote:
On Tue, 30 Aug 2011, Kip Warner wrote:

Hey folks,

How do I set the body text foreground colour? I tried the following, but it just ignored it:

\definecolor[colour_text][r=3D0.754,g=3D0.516,b=3D0.324]

\setupbodyfontenvironment
=A0[default]
=A0[em=3Ditalic,
=A0color=3Dcolour_text]

I don't want to have to use \startcolor and \stopcolor every time I wis= h
this default to be applied.

\definehighlight[emph][style=3Dem,color=3Dred]

\emph{...}

Aditya

_____________________________________________________________= ______________________
If your question is of interest to others as well, please add an entry to t= he Wiki!

maillist : ntg-cont= ext@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage =A0:
http://= www.pragma-ade.nl / http://tex.aanhet.net
archive =A0: http://foundry.supelec.fr/projects/contextrev/ wiki =A0 =A0 : http:= //contextgarden.net
_____________________________________________________________= ______________________



--
Blog: http://amca01.wordpress.com
Web:= =A0 http://bit.ly/Alasdair
Facebo= ok: http://www.facebo= ok.com/alasdair.mcandrew
--0015174753bc0b412104abc60f4f-- --===============2108827669== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --===============2108827669==--