[NTG-context] Ctx goes into infinite loop?

Hans Hagen pragma at wxs.nl
Fri May 23 13:50:35 CEST 2014


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



-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------


More information about the ntg-context mailing list