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.

_______________________________________________
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context

Reply via email to