Joel C. Salomon wrote:
> On 9/26/07, Hans Hagen <[EMAIL PROTECTED]> wrote:
>>> 1) Why we need to set almost all in setuptex.bat, while the same vars 
>>> (except Windows' PATH) are already set in texmf.cnf?
>> well, this is not recent, but has aways been the case; in setuptex i
>> make sure that no conflicts can arise between different trees; so one
>> can have multiple trees installed, without clashed; you don't wanna know
>> what can happen (and how much time it costs to find out and fix) if some
>> installer has set variables at the outer shell level; i just don't want
>> to take any risk here
> 
> So what environment variables can I set globally to avoid the need for
> running setuptex.bat?  My first guess is:
> 
> OSFONTDIR=%SystemRoot%\fonts

if you want to use platform fonts indeed

> SETUPTEX=done
> CTXMINIMAL=yes

not if setuptex is not used


> TEXPATH=C:\...<whatever the path is>...\context\tex\
> TEXMFMAIN=%TEXPATH%\texmf
> 
> TEXMFOS=%TEXPATH%\texmf-mswin
> TEXMFPROJECT=%TEXPATH%\texmf-project
> TEXMFFONTS=%TEXPATH%\texmf-fonts
> TEXMFLOCAL=%TEXPATH%\texmf-local
> TEXMFEXTRA=%TEXPATH%\texmf-extra

depends on your trees

> TEXMFCNF=%TEXPATH%\texmf{-local,}\web2c

handy indeed

> TEXPOOL=%TEXMFOS%/web2c\{$engine,}

not for luatex/xetex

> TEXFORMATS=%TEXMFOS%\web2c\{$engine,}

not for luatex

> MPMEMS=%TEXMFOS%\web2c\{$engine,}

depends

> MPPOOL=%TEXMFOS%\web2c\{$engine,}

not needed any more

> Path=%TEXMFOS%\BIN;%Path%

sure

> TEXMFCACHE=%TEMP%

yes or use the defaults

> VARTEXMF=%TEXMFCACHE%\texmf-var

not really used

> TEXMF={$TEXMFOS,$TEXMFPROJECT,$TEXMFFONTS,$TEXMFLOCAL,$TEXMFEXTRA,!!$TEXMFMAIN}

yes

> TEXMFDBS=$TEXMF

dependes on kpse version i think

> 
> RUBYLIB=%TEXMFLOCAL%\SCRIPTS\CONTEXT\RUBY;

often not needed

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________

Reply via email to