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
On 7-11-2011 12:59, Alan Braslau wrote:
starttext \startchemical \chemical [ONE,Z0] [O] \stopchemical \stoptext
in mp-chem.mpiv patch labtype to mfun_labtype: if (mfun_labtype@# >= 10) : shifted (0,ypart center p) fi (much has been moved to a namespace in order to be more protected against clashes) ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
participants (2)
-
Alan Braslau
-
Hans Hagen