From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/50340 Path: news.gmane.org!not-for-mail From: Alan BRASLAU Newsgroups: gmane.comp.tex.context Subject: ppchtex color Date: Tue, 12 May 2009 15:29:14 +0200 Organization: CEA DSM-IRAMIS-SPEC Message-ID: <200905121529.14981.alan.braslau@cea.fr> References: 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 1242135069 19975 80.91.229.12 (12 May 2009 13:31:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 12 May 2009 13:31:09 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Tue May 12 15:30:59 2009 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 1M3s4O-00059T-O1 for gctc-ntg-context-518@m.gmane.org; Tue, 12 May 2009 15:30:56 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 0D31C1FF65; Tue, 12 May 2009 15:30:56 +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 25700-03; Tue, 12 May 2009 15:29:40 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 07B8D1FF3B; Tue, 12 May 2009 15:29:40 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 727911FF3B for ; Tue, 12 May 2009 15:29:32 +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 27938-02 for ; Tue, 12 May 2009 15:29:17 +0200 (CEST) Original-Received: from filter4-til.mf.surf.net (filter4-til.mf.surf.net [194.171.167.220]) by ronja.ntg.nl (Postfix) with ESMTP id F116F1FF35 for ; Tue, 12 May 2009 15:29:16 +0200 (CEST) Original-Received: from cirse-out.extra.cea.fr (cirse-out.extra.cea.fr [132.166.172.106]) by filter4-til.mf.surf.net (8.13.8/8.13.8/Debian-3) with ESMTP id n4CDTGP7028428 for ; Tue, 12 May 2009 15:29:16 +0200 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 n4CDTFRC031034 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Tue, 12 May 2009 15:29:15 +0200 Original-Received: from orpin1.extra.cea.fr (orpin1.extra.cea.fr [132.167.198.4]) by epeire1.extra.cea.fr (8.14.2/8.14.2) with ESMTP id n4CDTFJO009052 for ; Tue, 12 May 2009 15:29:15 +0200 (envelope-from alan.braslau@cea.fr) Original-Received: from iram-hb-003386.localnet (iram-hb-003386.extra.cea.fr [132.166.20.134]) by orpin1.extra.cea.fr (8.13.8/8.13.8/CEAnet-Extranet-out-1.1) with ESMTP id n4CDTFA7016973 for ; Tue, 12 May 2009 15:29:15 +0200 User-Agent: KMail/1.11.2 (Linux/2.6.29; KDE/4.2.2; x86_64; ; ) In-Reply-To: Content-Disposition: inline X-Bayes-Prob: 0.9613 (Score 4.7, 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: 223930534 - 1932b8bfb713 - 20090512 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.220 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.11 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:50340 Archived-At: No, ppchtex is not dead... I would like to use color. 1. color= and rulecolor= does not appear to be implemented (mkiv)... 2. how can one change the color of the bonds? 3. using \color[red]{} causes the text to be offset. "minimal" example: \setupcolors[state=start] \usemodule[chemic] \starttext \startchemical \chemical[ONE,SB,Z0][C] \stopchemical \startchemical \color[red]{\chemical[ONE,SB,Z0][C]} \stopchemical % text "C" is offset... \startchemical \chemical[ONE,SB,Z0][{\red C}] \stopchemical % OK, but I would like to draw the bonds as well in red. \startchemical[color=red] \chemical[ONE,SB,Z0][C] \stopchemical % "C" is red in mkii, black in mkiv \startchemical[rulecolor=red] \chemical[ONE,SB,Z0][C] \stopchemical % bonds are black, "C" is red in mkii, black in mkiv \stoptext ___________________________________________________________________________________ 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 ___________________________________________________________________________________