[NTG-context] ppchtex

Willi Egger w.egger at boede.nl
Tue Mar 15 22:51:01 CET 2005


Hi Johannes,

I looked at your coding.
The use module line has two typo's It should be \usemodule[pictex,chemic]
The statements are not complete i.e. you forgot  the \stopcombination. 
Further when starting a combination one needs to give the number of rows 
and columns e.g. [2*3]. with only [6] all of the structures are placed 
inline, but only 4 of them fit in one row  so ...
In order to produce output you need to enclose the code between 
\starttext ... \stoptext.

Please see the attached file

Kind regards

Willi

Johannes Werner wrote:
> Hans Hagen wrote:
> 
>> Johannes Werner wrote:
>>
>>> hi everyone,
>>> i want to use PPCHTEX. when i process my .tex-file with texexec i get 
>>> the message:
>>>    .....
>>>    specials : fdf loaded
>>>    )
>>>    specials : fdf,tpd loaded
>>>    \openout6 = `chemie-mpgraph.mp'.
>>>    Randomizer initialized to 1275417501. [MP to PDF] 
>>> (./chemie-mpgraph.4000))
>>>    *
>>>
>>> and the program stops and waits for a command. when i type \end  it 
>>> continues. this happens again and then i have my target file.
>>> what wants the system tell me? why does it stop?. it's irksome, to 
>>> type in a command for nothing. when i process with latex everything 
>>> is ok.
>>
>>
>>
>> how does your smallest test file that does thsi look like?
>>
>> Hans
> 
> 
> the testfile was:
> 
>    \enableregime[utf]
>    \usemodule[pictex,chemie]
>    \setupoutput[pdf]
>    %\setupchemical[axis=on, frames=on]
>    \par Substituent A
>    \startchemical
>    \chemical[ONE,SB4,SB6,Z0][O]
>    \stopchemical
> 
> with a file, which is a little bit bigger i get the following (an no 
> output is generated):
> 
>     Randomizer initialized to 1431757445. [MP chemie-bigger-mpgraph.4000]
>    [MP chemie-bigger-mpgraph.3999] [MP chemie-bigger-mpgraph.3998]
>    [MP chemie-bigger-mpgraph.3997] [MP chemie-bigger-mpgraph.3996]
>    [MP chemie-bigger-mpgraph.3995])
>    *
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> ntg-context mailing list
> ntg-context at ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
-------------- next part --------------
% CHmeical structures
% Johannes Werner
% CONTEXT file
% filename:

\enableregime[utf]
\usemodule[pictex,chemic]%pstricks
\setupoutput[pdf]

%\setupchemical[axis=on, frames=on]

\starttext
\par A
\placefigure[force]{none}
{\startcombination[2*3]
{\startchemical \chemical[ONE,SB4,SB6,Z0][O] \stopchemical}{}
{\startchemical \chemical[ONE,SB4,SB6,Z0][S] \stopchemical}{}
{\startchemical \chemical[ONE,SB4,SB6,Z0][NH] \stopchemical}{}
{\startchemical \chemical[ONE,DB1,SB4,SB6,Z01][C,O] \stopchemical}{}
{\startchemical \chemical[ONE,DB1,SB4,SB6,Z01][C,NR] \stopchemical}{}
{\startchemical \chemical[ONE,DB1,SB4,SB6,Z01][C,CR_2] \stopchemical}{}
\stopcombination}
\stoptext


More information about the ntg-context mailing list