yi@Mathematik.Uni-Marburg.de wrote:
hi,
I tried use the "mptopdf" command to convert a figure generated by "mpost" into a .pdf file, and got following error:
!pdfTeX error: pdftex.exe (file ec-lmr12): Font ec-lmr12 at 600 not found ==> Fatal error occurred, no output PDF file produced!
The figures are generated from following metapost file: %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% beginfig(2) label("Haha", (2,0)); draw (for i=0 upto 7: dir(135i)-- endfor cycle); endfig; beginfig(5) label(btex Haha etex, (2,0)); draw (for i=0 upto 7: dir(135i)-- endfor cycle); endfig; %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
But the ec-lmr12 file exists and can be located with "kpsewhich". It seems the problem is the "btex etex" environment, because there is no error with the first figure.
I work under the mswin-context-standalone downloaded from Pragma-ADE, appreciate for any tip!
does texexec --mptex yourfile.mp work ok? ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------