ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Ctx goes into infinite loop?
@ 2014-05-23 10:40 Procházka Lukáš Ing. - Pontex s. r. o.
  2014-05-23 11:15 ` Hans Hagen
  0 siblings, 1 reply; 10+ messages in thread
From: Procházka Lukáš Ing. - Pontex s. r. o. @ 2014-05-23 10:40 UTC (permalink / raw)
  To: ConTeXt

[-- Attachment #1: Type: text/plain, Size: 2586 bytes --]

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("\\", "/")

   context.setvalue("HOME", home)
\stopluacode

\input \HOME/Common/_Defs_.ctx

\starttext
   Test
\stoptext

--

and an empty

-- C:\Lukas\Common\_Defs_.ctx
--

When running:

C:\Lukas\Jobs\D3-Sk\SO_237-20.RDS\Drawings>context.exe t2.mkiv

Ctx stops telling anything (infinite loop?):

"
C:\Lukas\Jobs\D3-Sk\SO_237-20.RDS\Drawings>context.exe t2.mkiv

mtx-context     | run 1: luatex --fmt="c:/Ctx-Beta/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luatex/cont-en" --jobname="t2" --lua="c:/Ctx-Beta/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luatex/cont-en.lui" --no-parse-first-line --c:currentrun=1 --c:fulljobname="./t2.mkiv" --c:input="./t2.mkiv" --c:kindofrun=1 --c:maxnofruns=8 "cont-yes.mkiv"
This is LuaTeX, Version beta-0.79.1 (TeX Live 2014/W32TeX) (rev 5004)
  \write18 enabled.
open source     > 1 > 1 > c:/Ctx-Beta/tex/texmf-context/tex/context/base/cont-yes.mkiv

ConTeXt  ver: 2014.05.21 22:04 MKIV beta  fmt: 2014.5.22  int: english/english

system          > 'cont-new.mkiv' loaded
open source     > 2 > 2 > c:/Ctx-Beta/tex/texmf-context/tex/context/base/cont-new.mkiv
close source    > 2 > 2 > c:/Ctx-Beta/tex/texmf-context/tex/context/base/cont-new.mkiv
system          > files > jobname 't2', input './t2.mkiv', result 't2'
fonts           > latin modern fonts are not preloaded
languages       > language 'en' is active
open source     > 2 > 3 > C:/Lukas/Jobs/D3-Sk/SO_237-20.RDS/Drawings/t2.mkiv

tex error       > error on line 7 in file C:/Lukas/Jobs/D3-Sk/SO_237-20.RDS/Drawings/t2.mkiv: ! I can't find file `C:/Documents'.\HOME
^C

C:\Lukas\Jobs\D3-Sk\SO_237-20.RDS\Drawings>
\HOME \-C:/Documents
                      and Settings/LPR
l.7 \input \HOME
               /Common/_Defs_.ctx

  1     \startluacode
  2       local home = (os.getenv("HOME.ORG") or os.getenv("HOME") or "?"):gsub("\\", "/")
  3
  4       context.setvalue("HOME", home)
  5     \stopluacode
  6
  7 >>  \input \HOME/Common/_Defs_.ctx
  8
  9     \starttext
10       Test
11     \stoptext
12
"

What's wrong?

Lukas


-- 
Ing. Lukáš Procházka [mailto:LPr@pontex.cz]
Pontex s. r. o.      [mailto:pontex@pontex.cz] [http://www.pontex.cz]
Bezová 1658
147 14 Praha 4

Tel: +420 241 096 751
Fax: +420 244 461 038

[-- Attachment #2: _Defs_.ctx --]
[-- Type: application/octet-stream, Size: 0 bytes --]



[-- Attachment #3: t2.log --]
[-- Type: application/octet-stream, Size: 1200 bytes --]

open source     > 1 > 1 > c:/Ctx-Beta/tex/texmf-context/tex/context/base/cont-yes.mkiv

ConTeXt  ver: 2014.05.21 22:04 MKIV beta  fmt: 2014.5.22  int: english/english

system          > 'cont-new.mkiv' loaded
open source     > 2 > 2 > c:/Ctx-Beta/tex/texmf-context/tex/context/base/cont-new.mkiv
close source    > 2 > 2 > c:/Ctx-Beta/tex/texmf-context/tex/context/base/cont-new.mkiv
system          > files > jobname 't2', input './t2.mkiv', result 't2'
fonts           > latin modern fonts are not preloaded
languages       > language 'en' is active
open source     > 2 > 3 > C:/Lukas/Jobs/D3-Sk/SO_237-20.RDS/Drawings/t2.mkiv

tex error       > error on line 7 in file C:/Lukas/Jobs/D3-Sk/SO_237-20.RDS/Drawings/t2.mkiv: ! I can't find file `C:/Documents'.\HOME 


\HOME \-C:/Documents 
                     and Settings/LPR
l.7 \input \HOME
              /Common/_Defs_.ctx

 1     \startluacode
 2       local home = (os.getenv("HOME.ORG") or os.getenv("HOME") or "?"):gsub("\\", "/")
 3     
 4       context.setvalue("HOME", home)
 5     \stopluacode
 6     
 7 >>  \input \HOME/Common/_Defs_.ctx
 8     
 9     \starttext
10       Test
11     \stoptext
12     

End of file on the terminal!



[-- Attachment #4: t2.mkiv --]
[-- Type: application/octet-stream, Size: 216 bytes --]

\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

[-- Attachment #5: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Ctx goes into infinite loop?
  2014-05-23 10:40 Ctx goes into infinite loop? Procházka Lukáš Ing. - Pontex s. r. o.
@ 2014-05-23 11:15 ` Hans Hagen
  2014-05-23 11:30   ` Procházka Lukáš Ing. - Pontex s. r. o.
  0 siblings, 1 reply; 10+ messages in thread
From: Hans Hagen @ 2014-05-23 11:15 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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("\\", "/")
>
>    context.setvalue("HOME", home)
> \stopluacode
>
> \input \HOME/Common/_Defs_.ctx

at least put { } around the input name

> \starttext
>    Test
> \stoptext
>
> --
>
> and an empty
>
> -- C:\Lukas\Common\_Defs_.ctx
> --
>
> When running:
>
> C:\Lukas\Jobs\D3-Sk\SO_237-20.RDS\Drawings>context.exe t2.mkiv
>
> Ctx stops telling anything (infinite loop?):
>
> "
> C:\Lukas\Jobs\D3-Sk\SO_237-20.RDS\Drawings>context.exe t2.mkiv
>
> mtx-context     | run 1: luatex
> --fmt="c:/Ctx-Beta/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luatex/cont-en"
> --jobname="t2"
> --lua="c:/Ctx-Beta/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luatex/cont-en.lui"
> --no-parse-first-line --c:currentrun=1 --c:fulljobname="./t2.mkiv"
> --c:input="./t2.mkiv" --c:kindofrun=1 --c:maxnofruns=8 "cont-yes.mkiv"
> This is LuaTeX, Version beta-0.79.1 (TeX Live 2014/W32TeX) (rev 5004)
>   \write18 enabled.
> open source     > 1 > 1 >
> c:/Ctx-Beta/tex/texmf-context/tex/context/base/cont-yes.mkiv
>
> ConTeXt  ver: 2014.05.21 22:04 MKIV beta  fmt: 2014.5.22  int:
> english/english
>
> system          > 'cont-new.mkiv' loaded
> open source     > 2 > 2 >
> c:/Ctx-Beta/tex/texmf-context/tex/context/base/cont-new.mkiv
> close source    > 2 > 2 >
> c:/Ctx-Beta/tex/texmf-context/tex/context/base/cont-new.mkiv
> system          > files > jobname 't2', input './t2.mkiv', result 't2'
> fonts           > latin modern fonts are not preloaded
> languages       > language 'en' is active
> open source     > 2 > 3 >
> C:/Lukas/Jobs/D3-Sk/SO_237-20.RDS/Drawings/t2.mkiv
>
> tex error       > error on line 7 in file
> C:/Lukas/Jobs/D3-Sk/SO_237-20.RDS/Drawings/t2.mkiv: ! I can't find file
> `C:/Documents'.\HOME
> ^C
>
> C:\Lukas\Jobs\D3-Sk\SO_237-20.RDS\Drawings>
> \HOME \-C:/Documents
>                       and Settings/LPR
> l.7 \input \HOME
>                /Common/_Defs_.ctx
>
>   1     \startluacode
>   2       local home = (os.getenv("HOME.ORG") or os.getenv("HOME") or
> "?"):gsub("\\", "/")
>   3
>   4       context.setvalue("HOME", home)
>   5     \stopluacode
>   6
>   7 >>  \input \HOME/Common/_Defs_.ctx
>   8
>   9     \starttext
> 10       Test
> 11     \stoptext
> 12
> "
>
> What's wrong?
>
> Lukas
>
>
>
>
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________
>


-- 

-----------------------------------------------------------------
                                           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
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Ctx goes into infinite loop?
  2014-05-23 11:15 ` Hans Hagen
@ 2014-05-23 11:30   ` Procházka Lukáš Ing. - Pontex s. r. o.
  2014-05-23 11:50     ` Hans Hagen
  0 siblings, 1 reply; 10+ messages in thread
From: Procházka Lukáš Ing. - Pontex s. r. o. @ 2014-05-23 11:30 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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:

"
C:\Lukas\Jobs\D3-Sk\SO_237-20.RDS\Drawings>context.exe t2.mkiv

mtx-context     | run 1: luatex --fmt="c:/Ctx-Beta/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luatex/cont-en" --jobname="t2" --lua="c:/Ctx-Beta/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luatex/cont-en.lui" --no-parse-first-line --c:currentrun=1 --c:fulljobname="./t2.mkiv" --c:input="./t2.mkiv" --c:kindofrun=1 --c:maxnofruns=8 "cont-yes.mkiv"
This is LuaTeX, Version beta-0.79.1 (TeX Live 2014/W32TeX) (rev 5004)
  \write18 enabled.
open source     > 1 > 1 > c:/Ctx-Beta/tex/texmf-context/tex/context/base/cont-yes.mkiv

ConTeXt  ver: 2014.05.21 22:04 MKIV beta  fmt: 2014.5.22  int: english/english

system          > 'cont-new.mkiv' loaded
open source     > 2 > 2 > c:/Ctx-Beta/tex/texmf-context/tex/context/base/cont-new.mkiv
close source    > 2 > 2 > c:/Ctx-Beta/tex/texmf-context/tex/context/base/cont-new.mkiv
system          > files > jobname 't2', input './t2.mkiv', result 't2'
fonts           > latin modern fonts are not preloaded
languages       > language 'en' is active
open source     > 2 > 3 > C:/Lukas/Jobs/D3-Sk/SO_237-20.RDS/Drawings/t2.mkiv
^C
tex error       > error on line 7 in file C:/Lukas/Jobs/D3-Sk/SO_237-20.RDS/Drawings/t2.mkiv: ! I can't find file `C:/Documents and Settings/LPR/Common/_Defs_.ctx'.l.7 \input{\HOME/Common/_Defs_.ctx}                                 (Press Enter to retry, or Control-Z to exit)Please type another input file name: ! Emergency stop

l.
7C:\Lukas\Jobs\D3-Sk\SO_237-20.RDS\Drawings> \input{\HOME/Common/_Defs_.ctx}


  1     \startluacode
  2       local home = (os.getenv("HOME.ORG") or os.getenv("HOME") or "?"):gsub("\\", "/")
  3
  4       context.setvalue("HOME", home)
  5     \stopluacode
  6
  7 >>  \input{\HOME/Common/_Defs_.ctx}
  8
  9     \starttext
10       Test
11     \stoptext
"

(WinXP 32b)

Lukas


-- 
Ing. Lukáš Procházka [mailto:LPr@pontex.cz]
Pontex s. r. o.      [mailto:pontex@pontex.cz] [http://www.pontex.cz]
Bezová 1658
147 14 Praha 4

Tel: +420 241 096 751
Fax: +420 244 461 038

___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Ctx goes into infinite loop?
  2014-05-23 11:30   ` Procházka Lukáš Ing. - Pontex s. r. o.
@ 2014-05-23 11:50     ` Hans Hagen
  2014-05-23 14:18       ` Peter Rolf
  0 siblings, 1 reply; 10+ messages in thread
From: Hans Hagen @ 2014-05-23 11:50 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Ctx goes into infinite loop?
  2014-05-23 11:50     ` Hans Hagen
@ 2014-05-23 14:18       ` Peter Rolf
  2014-05-23 16:01         ` Peter Rolf
  2014-05-25 11:33         ` Lukáš Procházka
  0 siblings, 2 replies; 10+ messages in thread
From: Peter Rolf @ 2014-05-23 14:18 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Ctx goes into infinite loop?
  2014-05-23 14:18       ` Peter Rolf
@ 2014-05-23 16:01         ` Peter Rolf
  2014-05-25 11:33         ` Lukáš Procházka
  1 sibling, 0 replies; 10+ messages in thread
From: Peter Rolf @ 2014-05-23 16:01 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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)!
> 
> http://redmondlab.reachby.com/g2gz5/redmond-path-v-1-0
> 
>
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
> ___________________________________________________________________________________
> 

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Ctx goes into infinite loop?
  2014-05-23 14:18       ` Peter Rolf
  2014-05-23 16:01         ` Peter Rolf
@ 2014-05-25 11:33         ` Lukáš Procházka
  2014-05-25 16:33           ` Hans Hagen
  1 sibling, 1 reply; 10+ messages in thread
From: Lukáš Procházka @ 2014-05-25 11:33 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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 well as LuaXml_Lib was compatible with that version of Ctx.

Once I tried the latest Ctx beta, there was a failure;
and it appeared like "cannot locate file ... " error.

I built a Lua 5.2 version of LuaXml_Lib and all works well now with the latest Ctx.

- If some interested why I'm using LuaXml_Lib with Ctx, when Ctx provides its own XML API,
the reason is that I often save Excel tables as "Excel XML table" to allow Lua scripts access them, especially I'm using Excel "named regions/variables" which are later transformed into Lua tables.
I need an independent XML tool for this; LuaXML_Lib (http://viremo.eludi.net/LuaXML) does the job.

And also I need to do similar things with Ctx;
thus I need LuaXML_Lib to be accessible from within Ctx.

- Question: when is Ctx supposed to adopt Lua 5.3?

Best regards,

Lukas



On Fri, 23 May 2014 16:18:33 +0200, Peter Rolf <indiego@gmx.net> wrote:

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


-- 
Ing. Lukáš Procházka [mailto:LPr@pontex.cz]
Pontex s. r. o.      [mailto:pontex@pontex.cz] [http://www.pontex.cz]
Bezová 1658
147 14 Praha 4

Tel: +420 241 096 751
Fax: +420 244 461 038


___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Ctx goes into infinite loop?
  2014-05-25 11:33         ` Lukáš Procházka
@ 2014-05-25 16:33           ` Hans Hagen
  2014-05-28  9:26             ` Ctx & Lua 5.3 (was: Ctx goes into infinite loop?) Procházka Lukáš Ing. - Pontex s. r. o.
  0 siblings, 1 reply; 10+ messages in thread
From: Hans Hagen @ 2014-05-25 16:33 UTC (permalink / raw)
  To: ntg-context

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's nothing to gain from a move to 5.3, apart from keeping up 
with general Lua. If we make the switch it will first be tested quite a 
while in production before it leaves beta.

Hans

-----------------------------------------------------------------
                                           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
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Ctx & Lua 5.3 (was: Ctx goes into infinite loop?)
  2014-05-25 16:33           ` Hans Hagen
@ 2014-05-28  9:26             ` Procházka Lukáš Ing. - Pontex s. r. o.
  2014-05-28 11:47               ` Ctx & Lua 5.3 Hans Hagen
  0 siblings, 1 reply; 10+ messages in thread
From: Procházka Lukáš Ing. - Pontex s. r. o. @ 2014-05-28  9:26 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hello,

On Sun, 25 May 2014 18:33:59 +0200, Hans Hagen <pragma@wxs.nl> wrote:

> 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's nothing to gain from a move to 5.3, apart from keeping up
> with general Lua. If we make the switch it will first be tested quite a
> while in production before it leaves beta.

OK.

Did you think about Ctx be able to use more Lua versions?

Similar like "--jit" forces LuaJIT instead of Lua;
"--lua52" would force Lua 5.2 instead Lua 5.3+ once Lua 5.3+ is adopted into Ctx core (and supposing Ctx won't use any Lua 5.3+ extras).

Best regards,

Lukas

> Hans

-- 
Ing. Lukáš Procházka [mailto:LPr@pontex.cz]
Pontex s. r. o.      [mailto:pontex@pontex.cz] [http://www.pontex.cz]
Bezová 1658
147 14 Praha 4

Tel: +420 241 096 751
Fax: +420 244 461 038

___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Ctx & Lua 5.3
  2014-05-28  9:26             ` Ctx & Lua 5.3 (was: Ctx goes into infinite loop?) Procházka Lukáš Ing. - Pontex s. r. o.
@ 2014-05-28 11:47               ` Hans Hagen
  0 siblings, 0 replies; 10+ messages in thread
From: Hans Hagen @ 2014-05-28 11:47 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On 5/28/2014 11:26 AM, Procházka Lukáš Ing. - Pontex s. r. o. wrote:
> Hello,
>
> On Sun, 25 May 2014 18:33:59 +0200, Hans Hagen <pragma@wxs.nl> wrote:
>
>> 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's nothing to gain from a move to 5.3, apart from keeping up
>> with general Lua. If we make the switch it will first be tested quite a
>> while in production before it leaves beta.
>
> OK.
>
> Did you think about Ctx be able to use more Lua versions?
>
> Similar like "--jit" forces LuaJIT instead of Lua;
> "--lua52" would force Lua 5.2 instead Lua 5.3+ once Lua 5.3+ is adopted
> into Ctx core (and supposing Ctx won't use any Lua 5.3+ extras).

unlikely ... i can think of more interesting things to do than spending 
the free time i've left to coding for multiple lua dialects, so if we 
move to 5.3 and i want to use its new features, 5.2 is no longer assumed 
and supported (one thing i can think of is bitwise operators)

Hans


-----------------------------------------------------------------
                                           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
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2014-05-28 11:47 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-05-23 10:40 Ctx goes into infinite loop? Procházka Lukáš Ing. - Pontex s. r. o.
2014-05-23 11:15 ` Hans Hagen
2014-05-23 11:30   ` Procházka Lukáš Ing. - Pontex s. r. o.
2014-05-23 11:50     ` Hans Hagen
2014-05-23 14:18       ` Peter Rolf
2014-05-23 16:01         ` Peter Rolf
2014-05-25 11:33         ` Lukáš Procházka
2014-05-25 16:33           ` Hans Hagen
2014-05-28  9:26             ` Ctx & Lua 5.3 (was: Ctx goes into infinite loop?) Procházka Lukáš Ing. - Pontex s. r. o.
2014-05-28 11:47               ` Ctx & Lua 5.3 Hans Hagen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).