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

jfbu jfbu at free.fr
Sat Jun 3 08:46:15 CEST 2017


Hi,

Le 3 juin 2017 à 08:07, Philip TAYLOR <P.Taylor at Rhul.Ac.Uk> a écrit :

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


thanks Reinhard, this does it indeed 
but has the effect of a texput.log file created

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


as in Phil's report ...

now, some rm texput.log clean  up is needed

I briefly looked at texfot but from its man page I deduced
it is not a way to inhibit texput.log, it only analyses
TeX console output

and I am not aware of any command line option to the
*tex binaries which would mean "do not produce a log file"

there is -output-directory which can be used to dump them
I guess in /tmp

Jean-François


More information about the tex-live mailing list