![](https://secure.gravatar.com/avatar/44ca9eda7aaa681c0e3b3e90125c56b0.jpg?s=120&d=mm&r=g)
richard.stephens@converteam.com schrieb:
Lutz Haseloff
wrote on 29/05/2009 11:04:55: Hi Richard,
1. Install Ruby
right
2. Install Perl
I think, Perl is not needed anymore.
Download
http://www.pragma-ade.com/context/install/minimals-snapshot-mswin.zip
I unzip it in c:\, you get c:\context\texmf-context and some more
directories
3. Download cont-tmf.zip and unzip contents to <installdir>
make c:\context\texmf-context empty and unzip cont-tmf.zip into it
4. Set environment variables: OSFONTDIR = C:\WINDOWS\Fonts TEXMF = <installdir>\scripts\context\stubs\mswin TEXMFCACHE = C:\TEMP TEXMFCNF = <installdir>\web2c TEXMFOS = ?????? others ????
no, go to c:\context an run setuptex.bat
I have an icon on my desktop with: C:\WINDOWS\system32\cmd.exe /K cd c:\context && .\setuptex.bat
5. From command window, run installation scripts: mktexlsr luatools --generate luatools --selfupdate mtxrun --selfupdate texexec --make (for mkii) context --make (for mkiv)
open a terminal window c: enter cd context enter setuptex enter
the above commands should now work without errors
6. To generate new pdf run: context --pdf myfile.tex
You have to run setuptex.bat in c:\context before you can compile
texfiles
I automated this for the terminal and for the Scite Editor.
7. Anything else I've missed ????
That should do it
For updating luatex, download ftp://akagi.ms.u-tokyo.ac. jp/pub/TeX/win32/luatex-dev-w32.tar.bz2 and unzip the files in bin into c:\context\texmf-mswin\bin. After that run context --make
You're welcome
Greetings Lutz
Thank-you very much for the above. Still a few problems though!
I have installed it to C:\tools\context. Everything goes well until 'mktexlsr' which returns: Cannot open C:/tools/context/texmf-project/ls-R to write. Cannot open C:/tools/context/texmf-fonts/ls-R to write. Cannot open C:/tools/context/texmf-extra/ls-R to write. because the folders do not exist. So I've created empty folders just in case and no more warnings!
Then all goes well until 'context --pdf myfile.tex' which returns: luatex.exe: c:/tools/context/texmf-cache/tuatex-cache/b7bcb6722e1fe509b85ff004c33e8274/formats/cont-en.fmt:
tuatex-cache ? copy&paste error or a typo in your environment variable? btw: the option --pdf is no longer needed, as pdf is the default output format Best wishes, Peter
No such file or directory MtxRun | fatal error, code 1
and 'texexec --pdf myfile.tex' returns: c:\tools\context\texmf-mswin\bin\mtxrun.lua:8603: attempt to concatenate a nil value
Any ideas?
Richard
Converteam UK Ltd. Registration Number: 5571739 and Converteam Ltd. Registration Number: 2416188 Registered in England and Wales. Registered office: Boughton Road, Rugby, Warwickshire, CV21 1BU.
CONFIDENTIALITY : This e-mail and any attachments are confidential and may be privileged. If you are not a named recipient, please notify the sender immediately and do not disclose the contents to another person, use it for any purpose or store or copy the information in any medium.
Please consider the environment before printing this e-mail ___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________