From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/6066 Path: main.gmane.org!not-for-mail From: Ricardo Sanchez Carmenes Newsgroups: gmane.comp.tex.context Subject: ppchtex+pstricks wrong output Date: Sat, 10 Nov 2001 19:27:57 +0100 (CET) Sender: owner-ntg-context@let.uu.nl Message-ID: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Content-Transfer-Encoding: 7BIT X-Trace: main.gmane.org 1035396618 7105 80.91.224.250 (23 Oct 2002 18:10:18 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 18:10:18 +0000 (UTC) Original-To: ntg-context@let.uu.nl Xref: main.gmane.org gmane.comp.tex.context:6066 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:6066 Dear Hans and ppchtex users: I am using some of your conTeXt modules from plain+pdftex (not the whole package), especially the ppchtex modules. ppchtex works beautifully with pictex, i.e., the following simple sample file compiles correctly with pdftex: %%%%%% CUT: ppch-ok.tex %%%%%%%%%%%%%%%%%%% \input m-pictex \input m-ch-en \startchemical \chemical[ONE,SB13,DB7,Z0137][C,H,R^1,O] \stopchemical \bye %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% However, when I try to use ppchtex with pstricks instead of pictex, the file compiles, but gives the wrong result, with labels and bounds that should go on the top of the formula printed at the bottom, and vice-versa. Besides, the labels (or substituents) are then badly positioned with respect to the bounds. See the attached sample, that should, theoretically, give the same result as above, after passing through tex->dvips->ps2pdf: %%%%%% CUT: ppch-bad.tex %%%%%%%%%%%%%%%%%%% \input pstricks \input pst-plot \input m-ch-en \startchemical \chemical[ONE,SB13,DB7,Z0137][C,H,R^1,O] \stopchemical \bye %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% It looks like as if, somewhere, the ppchtex macro that places bounds and substituents above or bellow, had a sign changed. The same error arises when using pstricks+ppchTeX from latex. Regards, Ricardo.