Am 23.05.2014 16:18, schrieb Peter Rolf:
Am 23.05.2014 13:50, schrieb Hans Hagen:
On 5/23/2014 1:30 PM, Procházka Lukáš Ing. - Pontex s. r. o. wrote:
Hello,
\input \HOME/Common/_Defs_.ctx
at least put { } around the input name
-- \startluacode local home = (os.getenv("HOME.ORG") or os.getenv("HOME") or "?"):gsub("\\", "/")
context.setvalue("HOME", home) \stopluacode
\input{\HOME/Common/_Defs_.ctx}
\starttext Test \stoptext
--
similar failure:
no loop, just a missing file ... i have no clue
The environment variables "HOME" and "HOME.ORG" are not predefined in a windows shell. Just enter "env" and see what is available.
You can easily add "HOME" with this tool. A restart is required on older Windows OS (XP)!
Sorry, wrong tool. This one is only for "PATH", not for arbitrary variables.
Peter ___________________________________________________________________________________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________