From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/74616 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: \em producing red text? Date: Tue, 21 Feb 2012 13:21:05 +0100 Message-ID: <1FE18686-6109-4206-9987-FC8D5547B25F@gmail.com> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Apple Message framework v1257) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1329826889 24748 80.91.229.3 (21 Feb 2012 12:21:29 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 21 Feb 2012 12:21:29 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Feb 21 13:21:25 2012 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Rzoii-0002eh-Qt for gctc-ntg-context-518@m.gmane.org; Tue, 21 Feb 2012 13:21:24 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 5414ACB231; Tue, 21 Feb 2012 13:21:24 +0100 (CET) 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 FnOaWsLWX8yF; Tue, 21 Feb 2012 13:21:16 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 028B2CB229; Tue, 21 Feb 2012 13:21:16 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A3444CB229 for ; Tue, 21 Feb 2012 13:21:14 +0100 (CET) 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 GAwdqWzvi1yP for ; Tue, 21 Feb 2012 13:21:10 +0100 (CET) Original-Received: from filter4-ams.mf.surf.net (filter4-ams.mf.surf.net [192.87.102.72]) by balder.ntg.nl (Postfix) with ESMTP id F0412CB211 for ; Tue, 21 Feb 2012 13:21:09 +0100 (CET) Original-Received: from mail-ee0-f41.google.com (mail-ee0-f41.google.com [74.125.83.41]) by filter4-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id q1LCL91p001424 for ; Tue, 21 Feb 2012 13:21:09 +0100 Original-Received: by eekc13 with SMTP id c13so3044202eek.14 for ; Tue, 21 Feb 2012 04:21:08 -0800 (PST) Received-SPF: pass (google.com: domain of wolfgang.schuster@gmail.com designates 10.213.26.156 as permitted sender) client-ip=10.213.26.156; Authentication-Results: mr.google.com; spf=pass (google.com: domain of wolfgang.schuster@gmail.com designates 10.213.26.156 as permitted sender) smtp.mail=wolfgang.schuster@gmail.com; dkim=pass header.i=wolfgang.schuster@gmail.com Original-Received: from mr.google.com ([10.213.26.156]) by 10.213.26.156 with SMTP id e28mr3554335ebc.50.1329826868776 (num_hops = 1); Tue, 21 Feb 2012 04:21:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; bh=k9I0VeSTbQU6QvoGuOmXWRpkOf4K6DM+TbJ19LHS6B8=; b=GwgQTNA0zFxTT09353dTdy6yws+Awf6JphciQTBcYcmi65IfymhcKePPEs5hg+j42V 7YOsSswpK8VdM4sKZaXBhAGrOWKlh2wj+LSYrwWEBromw+OYi60MaczsorlYY7WCJTtZ iLrZM/b+Krh3BWiZX1+ZoO3u2u6DLYZnh48JI= Original-Received: by 10.213.26.156 with SMTP id e28mr2830398ebc.50.1329826868709; Tue, 21 Feb 2012 04:21:08 -0800 (PST) Original-Received: from [192.168.2.35] (p57AFB738.dip.t-dialin.net. [87.175.183.56]) by mx.google.com with ESMTPS id w60sm89643757eeb.4.2012.02.21.04.21.06 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 21 Feb 2012 04:21:07 -0800 (PST) In-Reply-To: X-Mailer: Apple Mail (2.1257) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=74.125.83.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: 03GAAl9q7 - 5cc0095d0667 - 20120221 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.72 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:74616 Archived-At: Am 21.02.2012 um 13:05 schrieb Wolfgang Schuster: > Am 21.02.2012 um 10:19 schrieb Alasdair McAndrew: > >> I discovered this by hunting through font-ini.mkii: >> >> \setupbodyfontenvironment [default] [em={\slanted\color[red]}] > > Better \setupbodyfontenvironment[default][em={\sl\red}]. I was too fast, neither your nor mine version are valid. It does work with mkii but not with mkiv where this will generate an error. Adityas solution is one of a few methods which can be used in mkiv and when you use mkii you can create a \emph command with \definestartstop[emph][style=slanted,color=red]. 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 ___________________________________________________________________________________