[NTG-ppchtex] the command \startformula does not work

Ton Otten ntg-ppchtex@ntg.nl
Tue, 15 Apr 2003 15:47:25 +0200


At 12:36 PM 4/4/2003 +0530, you wrote:
>Hello ntg-ppchtex,
>
>   In the PPCHTeX guide he has given a code to typeset a chemical
>   equation but this code does not work with properly. Can any one help
>   me. I am attaching the .tex file and .log file and .dvi file. In the
>   guide he shows that I get a formula with text below each element as
>   you can see in the dvi file i don't get any thing. moreover I get
>   error messages like undefined control sequence \placeformula
>   \startformula and \stopformula.

You typed:

   \placeformula
   \startformula
   \chemical{2H_2}{hydrogen}
   \chemical{PLUS}
   \chemical{O_2}{oxygen}
   \chemical{GIVES}{heat}
   \chemical{2H_2O}{water}
   \stopformula

The \placeformula and \start..\stopformula are ConTeXt commands. In LaTeX
they have no meaning.

Try in stead:

$$
   \chemical{2H_2}{hydrogen}
   \chemical{PLUS}
   \chemical{O_2}{oxygen}
   \chemical{GIVES}{heat}
   \chemical{2H_2O}{water}
$$

Regards,

Ton Otten
---------------------------------------------------------
       Ton Otten | PRAGMA ADE | email: a.f.otten@xs4all.nl
       Ridderstraat 27 | 8067 GH Hasselt | The Netherlands
       tel. +31 (0)38 477 53 69 | site: www.pragma-ade.com
---------------------------------------------------------