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 symbol should be and when I uncomment label the following problem occurs: Output written on test-temp.dvi (2 pages, 256 bytes). Transcript written on test-temp.log. TeXExec | runtime: 0.16436 This is MetaPost, version 1.504 (kpathsea version 6.0.0) mpost: Not writing to .log (openout_any = p). ! I can't write on file `.log'. Please type another transcript file name: ... !pdfTeX error: pdftex (file lmmi12): Font lmmi12 at 600 not found ==> Fatal error occurred, no output PDF file produced! MPtoPDF 1.4.1 : error while processing tex file ----------------------------------------------- But, when I put source in \startMPpage draw unitsquare scaled(1cm); draw textext("$\pi$") shifted((0.5,0.5)*cm); label(btex $\pi$ etex, origin); \stopMPpage and call context, the output PDF is okay. So what is proper way to use TeX inside mpost nowaday? Best regards -- Martin Bruchanov Skype : bruxytronics WWW : http://bruxy.regnet.cz/ GPG-Key : http://bruxy.regnet.cz/bruxy-gpg.key (0x8107ED53) AX.25 : OK2MNM @ OK0PBX.#MOR.CZE.EU IRCNet : #linux.cz, #cvut, #z80 Linked-In : http://www.linkedin.com/in/bruxy