From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/63719 Path: news.gmane.org!not-for-mail From: Alan BRASLAU Newsgroups: gmane.comp.tex.context Subject: Re: ppchtex, color and mkiv Date: Fri, 19 Nov 2010 10:52:30 +0100 Organization: CEA DSM-IRAMIS-SPEC Message-ID: <201011191052.30710.alan.braslau@cea.fr> References: <4CE63ADF.3050909@unibas.ch> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1290160397 10049 80.91.229.12 (19 Nov 2010 09:53:17 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 19 Nov 2010 09:53:17 +0000 (UTC) Cc: ntg-context@ntg.nl To: =?iso-8859-1?q?J=F6rg_Hagmann?= , Hans Hagen Original-X-From: ntg-context-bounces@ntg.nl Fri Nov 19 10:53:07 2010 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 1PJNeV-0007DT-1o for gctc-ntg-context-518@m.gmane.org; Fri, 19 Nov 2010 10:53:07 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 50096CA862; Fri, 19 Nov 2010 10:53:03 +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 zE6ULEeYA-7F; Fri, 19 Nov 2010 10:53:00 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B5502CA85C; Fri, 19 Nov 2010 10:53:00 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id EB1F7CA85C for ; Fri, 19 Nov 2010 10:52:58 +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 r5BBcwZ3wR0Q for ; Fri, 19 Nov 2010 10:52:53 +0100 (CET) Original-Received: from filter1-nij.mf.surf.net (filter1-nij.mf.surf.net [195.169.124.152]) by balder.ntg.nl (Postfix) with ESMTP id A8BD6CA852 for ; Fri, 19 Nov 2010 10:52:53 +0100 (CET) Original-Received: from cirse-out.extra.cea.fr (cirse-out.extra.cea.fr [132.166.172.106]) by filter1-nij.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id oAJ9qq89008826 for ; Fri, 19 Nov 2010 10:52:53 +0100 Original-Received: from epeire1.extra.cea.fr (epeire1.extra.cea.fr [132.167.198.31]) by cirse.extra.cea.fr (8.14.2/8.14.2/CEAnet-Internet-out-2.0) with ESMTP id oAJ9qqNU019928 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 19 Nov 2010 10:52:52 +0100 Original-Received: from orpin1.extra.cea.fr (orpin1.extra.cea.fr [132.167.198.4]) by epeire1.extra.cea.fr (8.14.4/8.14.4) with ESMTP id oAJ9qVcn027394; Fri, 19 Nov 2010 10:52:32 +0100 (envelope-from alan.braslau@cea.fr) Original-Received: from iram-hb-003386.localnet (scylla.saclay.cea.fr [132.166.43.101]) by orpin1.extra.cea.fr (8.13.8/8.13.8/CEAnet-Extranet-out-1.1) with ESMTP id oAJ9qV4D030945; Fri, 19 Nov 2010 10:52:31 +0100 User-Agent: KMail/1.13.5 (Linux/2.6.32; KDE/4.4.5; x86_64; ; ) In-Reply-To: <4CE63ADF.3050909@unibas.ch> X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=132.166.172.106; country=FR; region=A3; city=Gif-sur-yvette; latitude=48.6833; longitude=2.1333; http://maps.google.com/maps?q=48.6833,2.1333&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 07DwVQQ76 - 478bd8c08d07 - 20101119 X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.152 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:63719 Archived-At: On Friday 19 November 2010 09:52:47 J=F6rg Hagmann wrote: > From a thread on this list (May 2009: > http://archive.contextgarden.net/message/20090512.132914.5c29b5f4.en.html) > I gather that whereas colouring a whole molecule works fine, colouring > groups within a chemical structure is not yet fully implemented in mkiv. > Is that still correct? > = > Putting colour on atoms works with {\blue C} etc. or "\defineprocessor > ... etc. chemred->C" etc.. However, I couldn't find a way to colour the > bonds belonging to the group. Is there one? The only way that I managed to do this is to draw the chemical twice and to = use overlays (or to trick the bounding box using left=3D,right=3D,top=3D,bo= ttom=3D). = It would be nice to be able to draw colored bonds, perhaps with the syntax: \chemical[SIX,rulecolor=3Dblue,SB1,rulecolor=3Dblack,SB2..6][] The problem is that we usually don't mix single tokens with token=3Dval. (but Hans has broken this rule with an experimental feature: Z1=3DC, curren= tly = broken as it converts C to lowercase...) For now, rulecolor=3D can only be specified in \startchemical or \setupchem= ical. Maybe we can discuss this with Hans off-list? Alan ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________