There is a (new) problem typesetting text in chemical structures.

Alan

Minimal example:

\starttext
\startchemical
\chemical [ONE,Z0] [O]
\stopchemical
\stoptext





! terminal: 
(/usr/local/context/beta/tex/texmf-context/metapost/context/base/mp-chem.mpiv)



>> labtype-10
! Unknown relation will be considered false.
<to be read again> 
                   )
chem_text->...XPR3));p:=p.if(labtype(SUFFIX2)>=10)
                                                  :shifted(0,ypart.center.p)...

chem_z_zero->...(SUFFIX2)((TEXT3),chem_do(origin))
                                                  ;endgroup
<*> chem_z_zero("\dochemicaltext{O}")
                                     ;



.

system          > tex > error on line 4 in file foo.tex: terminal: 
(/usr/local/context/beta/tex/texmf-context/metapost/context/base/mp-chem.mpiv)



>> labtype-10
! Unknown relation will be considered false.
<to be read again> 
                   )
chem_text->...XPR3));p:=p.if(labtype(SUFFIX2)>=10)
                                                  :shifted(0,ypart.center.p)...

chem_z_zero->...(SUFFIX2)((TEXT3),chem_do(origin))
                                                  ;endgroup
<*> chem_z_zero("\dochemicaltext{O}")
                                     ;



 ...

1     \starttext
2     \startchemical
3     \chemical [ONE,Z0] [O]
4 >>  \stopchemical
5     \stoptext
6     


\stopchemical ...erence \ctxlua {chemicals.stop()}
                                                  \egroup \chemicalwidth \wd...
l.4 \stopchemical


___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to