I use TEXMFLOCAL, TEXINPUTS and TEXFONTMAPS to tune tex compilation. Everything works fine under Linux and Mac OS X, but MitTeX under Windows breaks my expectations.
c:\tmp\tex> type test.bat set TEXMFLOCAL=some;thing kpsewhich --var-value TEXMFLOCAL c:\tmp\tex> test.bat c:\tmp\tex>set TEXMFLOCAL=some;thing c:\tmp\tex>kpsewhich --var-value TEXMFLOCAL C:/Documents and Settings/user/Application Data/MiKTeX/2.9
Why the value of the environment variable TEXMFLOCAL is ignored? Do I set it wrong, or is it a feature of MikTeX? How to affect MikTeX's TEXMFLOCAL, TEXINPUTS and TEXFONTMAPS from a script (.bat or .py)?