ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Ricardo Sanchez Carmenes <carmenes@bioquimica.uniovi.es>
Subject: ppchtex+pstricks wrong output
Date: Sat, 10 Nov 2001 19:27:57 +0100 (CET)	[thread overview]
Message-ID: <Pine.LNX.4.33.0111101925520.9924-100000@bioinf.medicina.uniovi.es> (raw)

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.


             reply	other threads:[~2001-11-10 18:27 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-11-10 18:27 Ricardo Sanchez Carmenes [this message]
     [not found] <Pine.LNX.4.33.0111101925520.9924-100000@bioinf.medicina.un iovi.es>
2001-11-12 11:11 ` Hans Hagen
     [not found]   ` <Pine.LNX.4.33.0111121538250.13333-100000@bioinf.medicina.u niovi.es>
2001-11-12 16:45     ` Hans Hagen
2001-11-12 14:43 Ricardo Sanchez Carmenes

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.4.33.0111101925520.9924-100000@bioinf.medicina.uniovi.es \
    --to=carmenes@bioquimica.uniovi.es \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).