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