Changes

Jump to navigation Jump to search
1,046 bytes added ,  16:13, 23 May 2006
→‎Which ConTeXt distribution to choose?: some notes about MikTeX installation reflecting recent changes ([new]texexec.rb)
= Which ConTeXt distribution to choose? =
MikTeX is great tool for people typsetting in LaTeX. Updating the packages is easy and packages are downloaded automatically if you need them. But on the other hand it's not adapted for ConTeXt well enough. ConTeXt is working in MikTeX 2.4(and with some manual changes in 2.5 as well), but some new features aren't and the new updates are sometimes really way behind the time.
The stand-alone ConTeXt is much better in the way that it is always up-to-date, the environment is set up properly and some special functionality that doesn't work in MikTeX should work here as expected. The only drawbacks (although I don't really dare to call them drawbacks) are that you have to have some other distribution working in parallel if you need LaTeX as well and that the installation and updates are not automatic (though still straightforward).
I don't know XEmTeX. If anyone is willing to share the experince with other users, you're wellcome to do so.
 
<i>(ConTeXt didn't work in MikTeX 2.5 at the beginning - perhaps it was fixed in the meantime, but I wouldn't recommend you installing it yet unless looking for troubles is a challeng for you and you want to help debugging.)</i>
== Stand-alone ConTeXt distribution ==
== MikTeX or ProTeXt ==
 
<i><font color="red">Do not install MikTeX 2.5 (yet) unless you're willing to help debugging it! ConTeXt doesn't seem to work there.</font></i>
* http://www.miktex.org/
* ConTeXt format is usually recent, but not always the latest
=== Packages MikTeX packages that you need ===
Try running
texexec --version
In most cases MikTeX should install the required package for ConTeXt automatically (if not installed yet). ItDon's additionally t ask me why Russian und Ukrainian hyphenation patterns have to be downloaded as well. === Additional steps === The following steps are highly recommended to download (and mandatory for MikTeX 2.5). It would be really nice if MikTeX developer would do that for you - Perhaps it will help if more people ask for it politely. * Download [http://www.pragma-ade.com/context/current/cont-win.zip cont-win.zip] and to copy <code>texmfstart.exe</code> from the zip file into <code>[MikTeX PATH]\miktex\bin</code>(update that file every now and then)* Download [http://www.pragma-ade.com/context/current/cont-tmf.zip cont-tmf.zip] and copy the content to MikTeX folder (replace old files).* Put <code>[MikTeX PATH]\scrips\context\stubs\mswin</code> in <code>PATH</code> variable <b>before</b> <code>[MikTeX PATH]\miktex\bin</code>.* Delete the folder <code>fonts/map/dvipdfm</code> or (proper solution) set TEXFONTMAPS = .;$TEXMF/fonts/map/{$progname,pdftex,dvips,}//: (I didn't yet check how the latter can be done.)* (Open new <code>cmd</code> and check if <code>texexec</code> works. ''I'll put some more notes here.'')* Go to next step (refreshing file name database, updating formats, ...) <b>Comments</b> (skip them):* Downloading cont-tmf.zip is not mandatory, but it's easier to explain the other steps then. If you don't want to do it, create an arbitrary folder at some arbitrary place and put it in <code>PATH</code> <b>before</b> MikTeX bin. Create at least <code>texexec.bat</code> with the following content in it: texmfstart [new]texexec.rb %*
=== After you install or change something ===
The latter has no influence since MikTeX doesn't set any system variables and consequently ConTeXt doesn't know where to leave the created formats.
=== Additional settings (for those who use MetaFun) ===
Some default "security settings" (not really relevant for you unless you run it on a server) may cause you troubles, esp. when using [[MetaFun]]. Do the following:

Navigation menu