From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/12408 Path: main.gmane.org!not-for-mail From: Sytse Knypstra Newsgroups: gmane.comp.tex.context Subject: Re[2]: No MP graphics after installation under MikTeX Date: Fri, 06 Jun 2003 15:04:28 +0200 Sender: ntg-context-admin@ntg.nl Message-ID: <5.2.0.9.1.20030606145641.00a5a8b0@imap.eco.rug.nl> References: <3EE0780B.2000307@zam.att.ne.jp> <5.2.0.9.1.20030604092825.00aa5b58@imap.eco.rug.nl> <5.2.0.9.1.20030603102950.00aa7150@imap.eco.rug.nl> <5.2.0.9.1.20030603102950.00aa7150@imap.eco.rug.nl> <5.2.0.9.1.20030604092825.00aa5b58@imap.eco.rug.nl> <5.2.0.9.1.20030606100022.00aa9c10@imap.eco.rug.nl> <1521627680.20030606103714@iol.it> <3EE0780B.2000307@zam.att.ne.jp> Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Trace: main.gmane.org 1054904673 24314 80.91.224.249 (6 Jun 2003 13:04:33 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 6 Jun 2003 13:04:33 +0000 (UTC) Original-X-From: ntg-context-admin@ntg.nl Fri Jun 06 15:04:30 2003 Return-path: Original-Received: from ref.vet.uu.nl ([131.211.172.13] helo=ref.ntg.nl) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19OGt9-0006IX-00 for ; Fri, 06 Jun 2003 15:04:11 +0200 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id 3C08010B35; Fri, 6 Jun 2003 15:06:28 +0200 (MEST) Original-Received: from dep.eco.rug.nl (dep.eco.rug.nl [129.125.24.250]) by ref.ntg.nl (Postfix) with ESMTP id E4E2010B04 for ; Fri, 6 Jun 2003 15:02:27 +0200 (MEST) Original-Received: from rcsc.eco.rug.nl (client36-202.oprit.rug.nl [129.125.36.202]) by dep.eco.rug.nl (8.9.3p2/8.9.3) with ESMTP id PAA23365 for ; Fri, 6 Jun 2003 15:02:27 +0200 X-Sender: knypstrs@imap.eco.rug.nl X-Mailer: QUALCOMM Windows Eudora Version 5.2.0.9 Original-To: ntg-context@ntg.nl In-Reply-To: <6512702174.20030606134149@iol.it> Errors-To: ntg-context-admin@ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.0.13 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.comp.tex.context:12408 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:12408 I (re)installed MikTeX 2.3 and ConTeXt according to the following steps and then ran (outside c:\texmf\miktex\bin): mpost --version. This gave the following result: MiKTeX-MetaPost 2.3.1222 (0.641) (MiKTeX 2.3) Copyright 1990 - 1995 by AT&T Bell Laboratories TeX is a trademark of the American Mathematical Society. METAFONT is a trademark of Addison-Wesley Publishing Company. PostScript is a trademark of Adobe Systems Incorporated. Sytse "Zachar" Knypstra Installation of MikTeX and ConTeXt, June 6, 2003 0. Perl has already been installed; MS-DOS path contains a.o. D:\perl\bin;c:\localtexmf\context\perltk;c:\texmf\miktex\bin 1. Remove old MikTeX through the Control Panel. 2. Install MikTeX 2.3 (large). The localtexmf and texmf trees are generated. 3. Remove ConTeXt files through the MikTeX Package Manager. 4. Unzip cont-tmf.zip in c:\localtexmf 5. Unzip runperl.zip in c:\localtexmf\context\perltk 6. Copy texexec.rme to texexec.ini Add a % before set TeXShell to tetex Uncomment % set TeXShell to miktex change the line: for miktex set TeXPassString to --alias=context into: for miktex set TeXPassString to --alias=context --enable-write18 7. Copy runperl.exe to texexec.exe, fdf2tan.exe, fdf2tex.exe, makempy.exe, mptopdf.exe, texfind.exe, texfont.exe, texshow.exe, texutil.exe 9. Open a MS-DOS window and go to directory c:\localtexmf\context\perltk. Run texexec --verbose. This gives you an overview of the settings. 10. In the file pdftex.cfg in the directory c:\texmf\pdftex\config we add: map +context.map 11. In the directory c:\localtexmf\tex\context\user copy the file cont-sys.rme to cont-sys.tex and add: \setupoutput [pdftex] \recycleMPslotstrue Uncomment \runMPgraphicstrue \runMPTEXgraphicstrue 12. In c:\texmf\miktex\config we find the file miktex.ini Under the heading [ConTeXt] we add: pool_size=1000000 write18=enable Under [pdfeTeX]: Under [TeX] we change write18 = disable into write18 = enable 13. Regenerate de filename database through MikTeX - Options. 14. In our MS-DOS window we go to the directory c:\localtexmf\miktex\fmt and run: texexec --make en nl texexec --make metafun pdfetex -ini mptopdf The file metafun.mem is moved to c:\localtexmf\miktex\mem 15. Maybe redundant: regenerate the MikTeX filename database. 16. A simple testfile with a short text, a flowchart and a metafun graphic does not generate the graphics, but only the texts.