2011/8/4 Procházka Lukáš Ing. - Pontex s. r. o.:
Hello,
how to "redirect" the Ctx "local" directory
"c:\ConTeXt\tex\texmf-local"
somewere else, e.g. to
"c:\Lukas\ConTeXt"?
I'm looking for a way which would "survive" any occasion I update Ctx (even when I delete the whole Ctx installation directory, = "installation from scratch"), so e.g. editing a config file which would appear in Ctx installation tree doesn't seem to be the best.
I would expect e.g. setting a system variable, e.g. "set TEXMFLOCAL=c:\Lukas\ConTeXt"; is there any way like this?
1.) TEXMFHOME (~/texmf) should work out of the box. I didn't test on windows and maybe we need something else for Windows, but you can try that one first. (I'm not sure what exactly is "~" home on windows.) 2.) You can create texmf.cnf & texmfcnf.lua in top level (next to texmf-xxx trees) and put your changes to TEXMFLOCAL there. Of course you will have to repeat the process if you delete everything (since your changes to TEXMFLOCAL will be gone), but at least you will keep all the files. 3.) You can define environmental variable that points to your desired directory. If something doesn't work, feel free to ask. It is not excluded that there is some bug somewhere. Mojca