ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Tobias Hilbricht <hilbricht@linopus.de>
Subject: Re: PPCHTeX Bug?
Date: Thu, 16 Sep 2004 11:42:10 +0200	[thread overview]
Message-ID: <1095327730.4690.50.camel@phoebus.venus.bay> (raw)
In-Reply-To: <DF78199A-064B-11D9-85BF-0030659899AA@fiee.net>

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

  reply	other threads:[~2004-09-16  9:42 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 [this message]
2004-09-18 10:04       ` AW: " Thomas Meyer
2004-09-26  5:47         ` 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=1095327730.4690.50.camel@phoebus.venus.bay \
    --to=hilbricht@linopus.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).