From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/12387 Path: main.gmane.org!not-for-mail From: Sytse Knypstra Newsgroups: gmane.comp.tex.context Subject: No MP graphics after installation under MikTeX Date: Tue, 03 Jun 2003 11:15:12 +0200 Sender: ntg-context-admin@ntg.nl Message-ID: <5.2.0.9.1.20030603102950.00aa7150@imap.eco.rug.nl> 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 1054631827 19652 80.91.224.249 (3 Jun 2003 09:17:07 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 3 Jun 2003 09:17:07 +0000 (UTC) Original-X-From: ntg-context-admin@ntg.nl Tue Jun 03 11:17:06 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 19N7uj-00056i-00 for ; Tue, 03 Jun 2003 11:17:05 +0200 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id 6A71410B13; Tue, 3 Jun 2003 11:19:20 +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 E061D10ABC for ; Tue, 3 Jun 2003 11:15:18 +0200 (MEST) Original-Received: from pc-030-081.eco.rug.nl (pc-030-081.eco.rug.nl [129.125.30.81]) by dep.eco.rug.nl (8.9.3p2/8.9.3) with ESMTP id LAA12331 for ; Tue, 3 Jun 2003 11:15:13 +0200 X-Sender: knypstrs@imap.eco.rug.nl X-Mailer: QUALCOMM Windows Eudora Version 5.2.0.9 Original-To: ntg-context@ntg.nl 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:12387 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:12387 Dear ConTeXt users, I tried to (re)install ConTeXt under MikTeX in the following way, but a simple test file with a flowchart and a MP graphic gave me the texts of the flowchart only. Can anybody give me advice? Thank you in advance, Sytse Knypstra These are the steps I took: 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. Delete old localtexmf and texmf directories 2. Install MikTeX 2.2 (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 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 an overview of the settings. 10. In the file pdftex.cfg in the directory c:\texmf\pdftex\config I 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 the following lines: \runMPgraphicstrue and \runMPTEXgraphicstrue Now the following lines are active: \unprotect \setupoutput [pdftex] \runMPgraphicstrue \runMPTEXgraphicstrue \recycleMPslotstrue \useMETAFUNformattrue \newprettytrue \protectbufferstrue \protect \endinput 12. In c:\texmf\miktex\config we find the file miktex.ini Under the heading [ConTeXt] add: pool_size=1000000 write18=enable Under [pdfeTeX] add: openout_any=a shell_escape=t allow_multiple_suffixes=f 13. Regenerate de filename database through MikTeX - Options. 14. In the MS-DOS window go to the directory c:\localtexmf\miktex\fmt and run: texexec --make en nl metafun mptopdf Copy the file metafun.mem 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 the texts only.