[tex-live] how to get info about Lua interpreter version from command line

Philip TAYLOR P.Taylor at Rhul.Ac.Uk
Sat Jun 3 08:07:47 CEST 2017

Reinhard Kotucha wrote:
> Try this on the command line:
>    echo '\directlua{print(lua.version)}\end' | luatex | sed -ne '/^\*\*/s/..\(.*\)/\1/p'

Or under Microsoft Windows, at a CMD prompt :

echo \directlua{print(lua.version)}\end | luatex
This is LuaTeX, Version 1.0.4 (TeX Live 2017/W32TeX)
  restricted system commands enabled.
**Lua 5.2

warning  (pdf backend): no pages of output.
Transcript written on texput.log.

** Phil.

More information about the tex-live mailing list