Running ConTeXt without a shell

From Wiki
Jump to navigation Jump to search

There are certain situations in which it is desirable to run ConTeXt outside of the operating system's typical shell environment. For example, you may wish to generate documents via web services, or use a scheduled batch process.

In such cases, there are some requirements to be aware of:

  • The program mtxrun requires access to a temporary directory. At least one of the following environment variables must be set to a directory which is writable by the executing process: TEXMFCACHE, TMPDIR, TEMPDIR, TMP, TEMP, HOME, HOMEPATH.
  • In addition to the above, the HOME environment variable must be set, but at time of writing there is no particular requirement that its value be a valid or writable location.