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

Reply via email to