From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/78521 Path: news.gmane.org!not-for-mail From: Marco Patzer Newsgroups: gmane.comp.tex.context Subject: Wrong results for chemical structures and reactions Date: Tue, 2 Oct 2012 09:40:35 +0200 Message-ID: <20121002094035.56af96fd@homerow> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1349163656 12281 80.91.229.3 (2 Oct 2012 07:40:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 2 Oct 2012 07:40:56 +0000 (UTC) To: context Original-X-From: ntg-context-bounces@ntg.nl Tue Oct 02 09:41:02 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 1TIx64-0002X1-V5 for gctc-ntg-context-518@m.gmane.org; Tue, 02 Oct 2012 09:40:53 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id BD61F10245; Tue, 2 Oct 2012 09:40:46 +0200 (CEST) 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 sMXi6+yMYSfI; Tue, 2 Oct 2012 09:40:44 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id CC496101F2; Tue, 2 Oct 2012 09:40:44 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id E6827101F2 for ; Tue, 2 Oct 2012 09:40:42 +0200 (CEST) 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 hyYOs-bIIQ8Q for ; Tue, 2 Oct 2012 09:40:41 +0200 (CEST) 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 D592E101F1 for ; Tue, 2 Oct 2012 09:40:41 +0200 (CEST) Original-Received: from karen.lavabit.com (karen.lavabit.com [72.249.41.33]) by filter4-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q927k3II020073 for ; Tue, 2 Oct 2012 09:46:04 +0200 Original-Received: from c.earth.lavabit.com (c.earth.lavabit.com [192.168.111.12]) by karen.lavabit.com (Postfix) with ESMTP id B987511BAD8 for ; Tue, 2 Oct 2012 02:40:38 -0500 (CDT) Original-Received: from homerow (83.68.239.193) by lavabit.com with ESMTP id 69PKACCZAZ85 for ; Tue, 02 Oct 2012 02:40:38 -0500 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=lavabit; d=lavabit.com; b=LEB2KFyXnZalZo8KrOJzLehqceBUo4rcZCSftwihoRdEKKEWuBRGbtr78xx2DwShFrOWIkqNPohkNhjdDQ5xq13AO7y9HxsCg4W+WnarV83UPcPqfLaEuqVSFkxw/8Y/eJf0S2NYYVxubIgNRTVhgMpSGhPeyh780/bWEop1zME=; h=Date:From:To:Subject:Message-ID:X-Mailer:Mime-Version:Content-Type:Content-Transfer-Encoding; X-Mailer: Claws Mail 3.8.1 (GTK+ 2.24.10; x86_64-pc-linux-gnu) X-Bayes-Prob: 0.996 (Score 4.7, tokens from: @@RPTN) X-CanIt-Geo: ip=72.249.41.33; country=US; region=TX; city=Dallas; postalcode=75206; latitude=32.8339; longitude=-96.7715; metrocode=623; areacode=214; http://maps.google.com/maps?q=32.8339,-96.7715&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 01I67K4yP - 4ca1a9a78a2a - 20121002 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.72 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:78521 Archived-At: Hi, chemical structures and reactions produce wrong results. Here is one example from the wiki and two from the manual. \starttext %% does not typeset the reaction, prints the commas, wrong spacing %% and no arrow \startformula \chemical{2H_2,+,O_2,->,2H_2O} \stopformula %% same here, GIVES is not interpreted \startformula \chemical{A,GIVES,B,EQUILIBRIUM,C,MESOMERIC,D} \stopformula %% wrong alignment, rules overlay symbols \startformula \setupchemical [width=fit, height=fit, scale=small, size=small] \startchemical \chemical[ONE,Z0,DB1,SB46,MOV1,Z0,SB28][C,C] \stopchemical \startchemical \chemical[SPACE,PLUS,SPACE] \stopchemical \startchemical \chemical[ONE,Z0,SB146,Z6][N,H] \stopchemical \startchemical \chemical[SPACE,GIVES,SPACE] \stopchemical \startchemical \chemical[ONE,Z07,SB1357,MOV1,Z0,SB27,PB:Z2,ONE,Z0,SB13,PE][C,H,C,N] \stopchemical \stopformula \stoptext Am I missing something? Is this mechanism not supported any more or just broken? Marco ___________________________________________________________________________________ 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 ___________________________________________________________________________________