Re: [NTG-context] Ctx goes into infinite loop?

2014-05-25 Thread Hans Hagen
On 5/25/2014 1:33 PM, Lukáš Procházka wrote: - Question: when is Ctx supposed to adopt Lua 5.3? It will take a while as - 5.3 it's not yet official - then 5.3 needs to become stable - we need to test implications of the new number system - tests have shows it's a slightly slower Maybe there'

Re: [NTG-context] Ctx goes into infinite loop?

2014-05-25 Thread Lukáš Procházka
Hello, I solved the problem. I was "requiring" a Lua .dll at some place in Ctx \s...luacode, namely LuaXml_Lib.dll. I didn't realize that Ctx found the lib, but that have been compiled for Lua 5.1. So, with my "ancient" Ctx version (5/2012, which I've been using often so far), all worked we

Re: [NTG-context] Ctx goes into infinite loop?

2014-05-23 Thread Peter Rolf
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

Re: [NTG-context] Ctx goes into infinite loop?

2014-05-23 Thread 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

Re: [NTG-context] Ctx goes into infinite loop?

2014-05-23 Thread 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) \stopluaco

Re: [NTG-context] Ctx goes into infinite loop?

2014-05-23 Thread Procházka Lukáš Ing . - Pontex s . r . o .
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 --

Re: [NTG-context] Ctx goes into infinite loop?

2014-05-23 Thread Hans Hagen
On 5/23/2014 12:40 PM, Procházka Lukáš Ing. - Pontex s. r. o. wrote: Hello, I have problem running the latest Ctx beta. Suppose having: -- C:\Lukas\Jobs\D3-Sk\SO_237-20.RDS\Drawings\t2.mkiv \startluacode local home = (os.getenv("HOME.ORG") or os.getenv("HOME") or "?"):gsub("\\", "/") c