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)!

http://redmondlab.reachby.com/g2gz5/redmond-path-v-1-0


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
___________________________________________________________________________________

Reply via email to