Difference between revisions of "Talk:ConTeXt Standalone"

From Wiki
Jump to navigation Jump to search
(moved that "little lie" to talk page until it becomes true)
(No difference)

Revision as of 16:50, 6 February 2008

Installation is done by the mtx-update.lua which is already part of ConTeXt. If you already have a working installation, you should be able to use it through the generic mtxrun: [actually this is a little lie for the moment; even the most recent mtx-update.lua needs to be updated itself in order for the process to work].

 mtxrun --script update --platform=<your platform> --engine=<a TeX engine> --texroot=<install dir> --update

Platform can be win, linux, linux-64, osx-ppc, osx-intel or sun (default: win); engine can be pdftex, xetex, luatex, all, or a comma-separated list of any of those (default: all). If you want to specify a list of engines, you would have to protect it on most shells: --engine='xetex, luatex', for example. TeX root, obviously, is the location of your installation (the directory where texmf trees like texmf, texmf-local, etc. are to be found), default: tex (relative to the current directory).

Most of the task of mtx-update is to run rsync to synchronize your local installation with the repository. It is assumed that Unix users (including Mac OS X) would have an rsync client installed by default on their system; for Windows an rsync binary is provided as part of the initial setup (see next paragraph).

If you don't have an installed ConTeXt distribution, you must download from http://minimals.contextgarden.net/setup/ the appropriate zip archive for your system, and run the shell / batch script in the top-level directory (which should be called context); it is a very simple script that sets the necessary environment to run mtx-update, and it accepts exactly the same switches as mtx-update. By default it will install a ConTeXt distribution suitable for pdfTeX on your system; the top-level directory for that distribution will be context/tex until you tell it otherwise (with the --texroot switch).