From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/72859 Path: news.gmane.org!not-for-mail From: Martin Bruchanov Newsgroups: gmane.comp.tex.context Subject: mptopdf TeX text problem Date: Wed, 30 Nov 2011 21:32:53 +0100 Message-ID: <20111130203253.GA6712@regnet.cz> Reply-To: bruxy@regnet.cz, mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0866885930==" X-Trace: dough.gmane.org 1322724589 20758 80.91.229.12 (1 Dec 2011 07:29:49 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 1 Dec 2011 07:29:49 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Thu Dec 01 08:29:45 2011 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RW15V-0000R2-4A for gctc-ntg-context-518@m.gmane.org; Thu, 01 Dec 2011 08:29:45 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id BE5DFCB11D; Thu, 1 Dec 2011 08:29:43 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id zHQ5HNaM8pXA; Thu, 1 Dec 2011 08:29:39 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 79284CB10D; Thu, 1 Dec 2011 08:29:39 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 21241CB10A for ; Wed, 30 Nov 2011 21:41:58 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id QcAY7uRgaxnR for ; Wed, 30 Nov 2011 21:41:47 +0100 (CET) Original-Received: from filter4-ams.mf.surf.net (filter4-ams.mf.surf.net [192.87.102.72]) by balder.ntg.nl (Postfix) with ESMTP id F0113CABBD for ; Wed, 30 Nov 2011 21:41:46 +0100 (CET) Original-Received: from ip-89-176-106-125.net.upcbroadband.cz (ip-89-176-106-125.net.upcbroadband.cz [89.176.106.125]) by filter4-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id pAUKfj5g002520 for ; Wed, 30 Nov 2011 21:41:46 +0100 Original-Received: from ip-89-176-106-125.net.upcbroadband.cz (ip-89-176-106-125.net.upcbroadband.cz [127.0.0.1]) by ip-89-176-106-125.net.upcbroadband.cz (Postfix) with ESMTP id 6EB16816FC for ; Wed, 30 Nov 2011 21:32:54 +0100 (CET) Original-Received: (from bruxy@localhost) by ip-89-176-106-125.net.upcbroadband.cz (8.14.5/8.14.5/Submit) id pAUKWrBx006889 for ntg-context@ntg.nl; Wed, 30 Nov 2011 21:32:53 +0100 X-Authentication-Warning: ip-89-176-106-125.net.upcbroadband.cz: bruxy set sender to bruxy@regnet.cz using -f X-Echelon: bomb FBI assasinate president virus Roswell kill William Gates CIA SEMTEX Unix Security nailbomb evil hypnosis meta-hacker l0ck Information Terrorism User-Agent: Mutt/1.5.21 (2010-09-15) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=89.176.106.125; country=CZ; region=52; city=Prague; latitude=50.0833; longitude=14.4667; http://maps.google.com/maps?q=50.0833,14.4667&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 03G3wFJhm - 58208b2218d6 - 20111130 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.72 X-Mailman-Approved-At: Thu, 01 Dec 2011 08:29:37 +0100 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:72859 Archived-At: --===============0866885930== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="lrZ03NoBR/3+SXJZ" Content-Disposition: inline --lrZ03NoBR/3+SXJZ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 =3D p). ! I can't write on file `.log'. Please type another transcript file name:=20 ... =20 =20 !pdfTeX error: pdftex (file lmmi12): Font lmmi12 at 600 not found =3D=3D> Fatal error occurred, no output PDF file produced! =20 MPtoPDF 1.4.1 : error while processing tex file =20 ----------------------------------------------- But, when I put source in=20 \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.=20 So what is proper way to use TeX inside mpost nowaday? Best regards --=20 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 --lrZ03NoBR/3+SXJZ Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iEYEARECAAYFAk7WkvUACgkQoXZMTYEH7VNO+ACfUwiTeFZxXU2fZAfGtrNPP2Di N/AAnRY7Kd4axqSMlOR02iI45hBfwUz6 =+Keb -----END PGP SIGNATURE----- --lrZ03NoBR/3+SXJZ-- --===============0866885930== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --===============0866885930==--