[NTG-context] mptopdf TeX text problem

2011-11-30 Thread Martin Bruchanov
Hello, what is the proper way of using MetaPost with TeX text? I have two examples: beginfig(1); draw unitsquare scaled(1cm); draw textext("$\pi$") shifted((0.5,0.5)*cm); % label(btex $\pi$ etex, origin); endfig; end mptopdf --metafun produces only "unknown" where the Pi

Re: [NTG-context] mptopdf TeX text problem

2011-12-01 Thread Hans Hagen
On 30-11-2011 21:32, Martin Bruchanov wrote: Hello, what is the proper way of using MetaPost with TeX text? I have two examples: beginfig(1); draw unitsquare scaled(1cm); draw textext("$\pi$") shifted((0.5,0.5)*cm); % label(btex $\pi$ etex, origin); endfig; end Easiest