From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/70978 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Text Colour Date: Wed, 31 Aug 2011 15:00:39 +0200 Message-ID: <39581945-CA3C-42B3-8592-631621CF52F3@googlemail.com> References: <1314755853.2940.80.camel@kip-laptop> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1244.3) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1314795673 9128 80.91.229.12 (31 Aug 2011 13:01:13 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 31 Aug 2011 13:01:13 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Aug 31 15:01:09 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 1QykPf-0000XR-0M for gctc-ntg-context-518@m.gmane.org; Wed, 31 Aug 2011 15:01:03 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 8C413CAF3F; Wed, 31 Aug 2011 15:01:02 +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 Bn6Q5t3pBOtX; Wed, 31 Aug 2011 15:00:57 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id EA001CAF38; Wed, 31 Aug 2011 15:00:56 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 7D893CAF38 for ; Wed, 31 Aug 2011 15:00:55 +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 aNrjUQit6lUU for ; Wed, 31 Aug 2011 15:00:53 +0200 (CEST) Original-Received: from filter1-til.mf.surf.net (filter1-til.mf.surf.net [194.171.167.217]) by balder.ntg.nl (Postfix) with ESMTP id 54961CAF37 for ; Wed, 31 Aug 2011 15:00:53 +0200 (CEST) Original-Received: from mail-ew0-f41.google.com (mail-ew0-f41.google.com [209.85.215.41]) by filter1-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p7VD0qKS002722 for ; Wed, 31 Aug 2011 15:00:52 +0200 Original-Received: by ewy9 with SMTP id 9so469190ewy.14 for ; Wed, 31 Aug 2011 06:00:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; bh=5ye4MB1zXMEXUnma3liCC7JHNQj3wVPgYr+Mh8UapOA=; b=j6ue6xoAYImyNsRpe5+7PNSEyufi5eNZ7/baDdn7sUHfiJPNOt0J859hcEs/1CUUzN NlA6RJVTNrOG8tpPDyddFnrRM0eyP7o1xgLpomQjXxEb00INAj81pbT6wdPw7048KjD6 QUH8Z08+kIzz60v8sZYCPbxjjyFJ+DOzbHRJs= Original-Received: by 10.213.105.207 with SMTP id u15mr222254ebo.140.1314795652130; Wed, 31 Aug 2011 06:00:52 -0700 (PDT) Original-Received: from [192.168.2.31] (p5482DBD5.dip.t-dialin.net [84.130.219.213]) by mx.google.com with ESMTPS id a53sm4629344eeb.62.2011.08.31.06.00.48 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 31 Aug 2011 06:00:50 -0700 (PDT) In-Reply-To: X-Mailer: Apple Mail (2.1244.3) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.215.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: 08Fr10Qhg - 0d41a75f3b7a - 20110831 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.217 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:70978 Archived-At: Am 31.08.2011 um 07:04 schrieb Alasdair McAndrew: > 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. \definestartstop[emph][style=italic,color=red] \definestartstop[mono][style=mono,color=blue] \setupbodyfontenvironment[default][em=emph] \starttext text {\em text} text {\emph text} text \emph{text} text text {\mono text} text \mono{text} text \stoptext Wolfgang ___________________________________________________________________________________ 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 ___________________________________________________________________________________