On 1/2/2025 5:55 PM, LPr Pontex wrote:
Hello,
which Lua version does ConTeXt use? The following:
echo print('== ConTeXt: this is ' .. _VERSION .. ' ==') > CtxLuaVer~.lua tex\texmf-mswin\bin\luametatex.exe --luaonly CtxLuaVer~.lua > CtxLuaVer~.log
yields
== ConTeXt: this is Lua 5.5 ==
whilst the latest Lua version released on https://www.lua.org is 5.4.7.
(I need this for possible building DLL extension(s) - Lua module(s) - to ConTeXt.)
- luametatex is kind of self contained and has lua compiled in - we use 5.5 because it's fun, shows what is coming, we have a huge codebase so can test it, etc (we only update when the test suite has no issues, and there seldom are) - the source that we use is in the distribution so you can use that Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------