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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 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
> \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
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context

_______________________________________________
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context

Reply via email to