Re: [NTG-context] Feature request: display Lua version

2018-02-22 Thread luigi scarso
On Thu, Feb 22, 2018 at 11:39 AM, Procházka Lukáš Ing.  wrote:
> Hello,
>
> namely due to planned embedding Lua 5.3 into ConTeXt, would it be possible
> ConTeXt to show Lua version being used?

_VERSION is always available:

$echo 'print(_VERSION)' > /tmp/test-v.lua
$ luatex --luaonly /tmp/test-v.lua
Lua 5.3


-- 
luigi
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] Feature request: display Lua version

2018-02-22 Thread Hans Hagen

On 2/22/2018 11:39 AM, Procházka Lukáš Ing. wrote:

Hello,

namely due to planned embedding Lua 5.3 into ConTeXt, would it be 
possible ConTeXt to show Lua version being used?


Something like:


d:\Lukas\ConTeXt\Test>context.exe --version

mtx-context | ConTeXt Process Management 1.02
mtx-context |
mtx-context | main context file: 
d:/Ctx-Beta/tex/texmf-context/tex/context/base/mkiv/context.mkiv

mtx-context | current version: 2018.02.21 18:19
mtx-context | Lua version: 5.2.1


it is already reported and i see no reason to duplicate it

mkiv lua stats  > lua properties: engine: lua 5.3, ...


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
   tel: 038 477 53 69 | www.pragma-ade.nl | 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

[NTG-context] Feature request: display Lua version

2018-02-22 Thread Procházka Lukáš Ing .

Hello,

namely due to planned embedding Lua 5.3 into ConTeXt, would it be possible 
ConTeXt to show Lua version being used?

Something like:


d:\Lukas\ConTeXt\Test>context.exe --version

mtx-context | ConTeXt Process Management 1.02
mtx-context |
mtx-context | main context file: 
d:/Ctx-Beta/tex/texmf-context/tex/context/base/mkiv/context.mkiv
mtx-context | current version: 2018.02.21 18:19
mtx-context | Lua version: 5.2.1


Best regards,

Lukas


--
Ing. Lukáš Procházka | mailto:l...@pontex.cz
Pontex s. r. o. | mailto:pon...@pontex.cz | http://www.pontex.cz | IDDS:nrpt3sn
Bezová 1658
147 14 Praha 4

Mob.: +420 702 033 396___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___