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)?
MikTeX
does not supportTEXMFLOCAL
, only TeX Live based distributions does.MikTeX
has the concept ofroots
instead. – daleif Jun 12 '13 at 9:34initexmf --register-root=path\to\root
. You can unregister it with-unregister-root
. – Ulrike Fischer Jun 12 '13 at 9:58