From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/44203 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 07:55:17 -0400 (EDT) Message-ID: References: <409BC877-2849-4311-85F9-7EBF49EC2492@st.estfiles.de> <48D785F3.8040207@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 1222084640 10575 80.91.229.12 (22 Sep 2008 11:57:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 22 Sep 2008 11:57:20 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Sep 22 13:58:18 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 1Khk3V-0001lB-GM for gctc-ntg-context-518@m.gmane.org; Mon, 22 Sep 2008 13:58:17 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id EC63C20052; Mon, 22 Sep 2008 13:57:10 +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 01288-01-16; Mon, 22 Sep 2008 13:56:22 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 3F4FB20069; Mon, 22 Sep 2008 13:56:20 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id AE59320047 for ; Mon, 22 Sep 2008 13:56:15 +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 01083-01-15 for ; Mon, 22 Sep 2008 13:55:26 +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 66EEA20046 for ; Mon, 22 Sep 2008 13:55:20 +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 48D787A6.35964.7438 ; 22 Sep 2008 07:55:18 -0400 In-Reply-To: <48D785F3.8040207@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:44203 Archived-At: 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 works as \emph{....} as well as {\emph ...} and can also be passed as an option to all the style= keys, try \definealternativestyle [emph] [{\it\color[magenta]}] [] 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 ___________________________________________________________________________________