ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Tom.G.Meyer@t-online.de (Thomas Meyer)
Subject: AW: PPCHTeX Bug?
Date: Sat, 18 Sep 2004 12:04:39 +0200	[thread overview]
Message-ID: <1C8c59-2COX320@fwd09.sul.t-online.com> (raw)
In-Reply-To: <1095327730.4690.50.camel@phoebus.venus.bay>

Hello, 

I am new here in this list and I am the one who has the problems with
ppchtex.
At first I have to thank Hraban and Tobias for their committed help!
Under LaTeX I tried the downloaded version of ppchtex.tex from
pragma-ade.nl. I got only the lines for the bonds between the atoms, no
letters for the atomic symbols. And I got the error message Tobias and
Hraban reported.
Tobias' version of ppchtex.tex works fine!
The downloaded version works fine only under ConTeXt not under LaTeX.
Is there a bug? Or am I to stupid?

Another question:
Is it possible to create seven-membered ring-systems with ppchtex? I never
found something in the manual about it.

Greetings 

Thomas

-----Ursprüngliche Nachricht-----
Von: ntg-context-bounces@ntg.nl [mailto:ntg-context-bounces@ntg.nl] Im
Auftrag von Tobias Hilbricht
Gesendet: Donnerstag, 16. September 2004 11:42
An: mailing list for ConTeXt users
Betreff: Re: [NTG-context] PPCHTeX Bug?

Am Di, den 14.09.2004 schrieb Henning Hraban Ramm um 14:44:
> some PPCHTeX code wouldn't work

Dear readers,
the code in question was the following:

--------------------------

\documentclass{article}
\usepackage{etex}
%\usepackage{pstricks,pstcol,pst-plot}
\usepackage{m-pictex,color}
\usepackage{m-ch-de}
 
\begin{document}
 
% C3-Aldose, Bindungen der Aldehydgruppe rot \startchemical
  {\color{red}{\chemie[SIX,SB2,DB3]}}%
  \chemie[SIX,Z234,SUB2,ONE,Z015,SB1,SB3,SB5,SB7,%
          MOV3,Z0][H,C,O,C,OH,H,\SL{CH_2OH}]
\stopchemie
 
% C3-Aldose, Atome der Aldehydgruppe rot \startchemical
  \chemie[SIX,SB2,DB3]%
  {\color{red}{\chemie[SIX,Z234][H,C,O]}}%
  \chemie[SIX,SUB2,ONE,Z015,SB1,SB3,SB5,SB7,%
          MOV3,Z0][C,OH,H,\SL{CH_2OH}]
\stopchemie

-----------------------


> , the error message
> was:
> "ppchtex.tex:3390: undefined control sequence"
> He uses an actual MikTeX (again, only problems with this, we should 
> mark it red in the wiki...) His file ppchtex.tex ends like:
> 
> \def\cpos#1#2%
>    {\iftrialtypesetting
>       #2%
>     \else
>       \bgroup
>       \globalpushmacro\dowithchemical
> <--------3390
>       
> \gdef\dowithchemical##1{\hpos{#1}{##1}\globalpopmacro\dowithchemical}%
>       #2%
>       \egroup
>    \fi}
> 
> \fi
> \f\protect \endinput
> 
> 
> Tobias Hilbricht answered, the code would work with his ppchtex.tex 
> version from TeX Live 2003, there line 3390 (second line from the end) 
> had only a lonely "\fi", but the file is 3kB bigger,
> 
> With Tobias' file it worked at Thomas.
> Thomas downloaded the file from pragma-ade.nl, and it doesn't work 
> again.
> 
> I told him to ask at the PPCHTeX list, see above.
> 
> Further Thomas wanted to draw seven-rings, and that seems not 
> supported by PPCHTeX.

Perhaps this helps to solve this problem with PPCHTeX.

Yours sincerely

Tobias Hilbricht


_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

  reply	other threads:[~2004-09-18 10:04 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-13 17:30 Henning Hraban Ramm
2004-09-14  9:17 ` Hans Hagen
2004-09-14 12:44   ` Henning Hraban Ramm
2004-09-16  9:42     ` Tobias Hilbricht
2004-09-18 10:04       ` Thomas Meyer [this message]
2004-09-26  5:47         ` AW: " Thomas Meyer
2004-09-27  7:42           ` Taco Hoekwater
2004-09-28 22:40             ` Mojca Miklavec
2004-09-29  7:07               ` Tobias Hilbricht
2004-09-27  8:41           ` Eckhart Guthöhrlein
2004-09-27  9:11           ` AW: " Tobias Burnus
2004-10-01 10:02             ` AW: " Thomas Meyer

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=1C8c59-2COX320@fwd09.sul.t-online.com \
    --to=tom.g.meyer@t-online.de \
    --cc=ntg-context@ntg.nl \
    /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).