[luatex] LuaTeX version number

Herbert Voss Herbert.Voss at FU-Berlin.DE
Sat Feb 23 08:07:48 CET 2013


On 23.02.2013 03:27, Reinhard Kotucha wrote:
> Hi,
>
>    print('LuaTeX '..tex.luatexversion..'.'..tex.luatexrevision)
>
> yields
>
>    LuaTeX 71.0
>
> But how do I get the major version number?  I didn't find anything
> appropriate.

\luaexec{tex.print(math.floor(\the\luatexversion/100).."."..
\the\luatexversion \% 100) }}

Herbert


More information about the luatex mailing list