From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/44209 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: how to color italics? Date: Mon, 22 Sep 2008 08:17:52 -0400 (EDT) Message-ID: References: <409BC877-2849-4311-85F9-7EBF49EC2492@st.estfiles.de> <48D785F3.8040207@elvenkind.com> <48D78948.6080002@elvenkind.com> 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 1222085994 15250 80.91.229.12 (22 Sep 2008 12:19:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 22 Sep 2008 12:19:54 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Sep 22 14:20:46 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 1KhkP9-0001xi-6h for gctc-ntg-context-518@m.gmane.org; Mon, 22 Sep 2008 14:20:39 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 7EC56200C9; Mon, 22 Sep 2008 14:19:35 +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 05790-03-5; Mon, 22 Sep 2008 14:18:43 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 6862220054; Mon, 22 Sep 2008 14:18:43 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 5F3BA20029 for ; Mon, 22 Sep 2008 14:18:39 +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 05588-02-4 for ; Mon, 22 Sep 2008 14:17:54 +0200 (CEST) Original-Received: from tombraider.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.93.161]) by ronja.ntg.nl (Postfix) with ESMTP id 52A7E20054 for ; Mon, 22 Sep 2008 14:17:54 +0200 (CEST) Original-Received: FROM adi-laptop-2.local (c-68-40-40-226.hsd1.mi.comcast.net [68.40.40.226]) BY tombraider.mr.itd.umich.edu ID 48D78CF1.2A771.12886 ; 22 Sep 2008 08:17:53 -0400 In-Reply-To: <48D78948.6080002@elvenkind.com> User-Agent: Alpine 1.00 (DEB 882 2007-12-20) 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:44209 Archived-At: On Mon, 22 Sep 2008, Taco Hoekwater wrote: > Aditya Mahajan wrote: >> On Mon, 22 Sep 2008, Taco Hoekwater wrote: >> >>> Steffen Wolfrum wrote: >>>> But this above never closes the italics, while ... >>>> >>>> \def\Colorit{\strut\groupedcommand\it\color[magenta]\/} >>>> >>>> ... gives an error. >>>> >>>> >>>> Someone can help? >>> Worryingly lowlevel: >>> >>> \def\emphasistypeface{\it\color[magenta]} >> >> This has to be used {\emphasistypeface ....}. If you want something that > > No. Instead it redefines the internals of the normal \em command. Ah, so that is why it is lowlevel. I wonder why the following does not work. \setupbodyfontenvironment [default] [em={\italic\color[red]}] 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________