On Wed, 19 Jul 2006, WN wrote: > Hi all, > > I am trying to do the following in Metapost but my new math symbol is > not recognized. > Context knows about it but Tex does not. > > How can I make this work ?
Hans and Taco have already explained the correct way to do this, so I will not go into that. This is one place where you can use the new sometxt feature. > % ================= Test code ======================== > \loadmapfile[original-youngryu-tx.map] > \definebodyfont [28pt,24pt,18pt, > 17.3pt,14.4pt,12pt,11pt,10pt,9pt,8pt,7pt,6pt,5pt,4pt] [mm] [ > mc=txexa sa 1] > > \setupbodyfont [11pt] > \definemathsymbol [varointctrclockwise] [op] [mc] ["2B] [mc] ["2C] > > \starttext > \startformula > \varointctrclockwise_{\gamma} f(z) \: dz = 0 > \stopformula > \startMPcode > picture p ; > path q; > numeric u; > > u := 1cm; > > p := btex $\varointctrclockwise_{\gamma} f(z) \: dz = 0$ etex; Replace this by p := \sometxt{$\varointctrclockwise_{\gamma} f(z) \: dz = 0$} ; and everything works! > p := p scaled 0.15cm; > draw p; > \stopMPcode > \stoptext > Aditya _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context