/usr/share/texlive/texmf-dist/tex/luatex/luaotfload/otfl-luat-ovr.lua is in texlive-luatex 2012.20120611-5.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 | if not modules then modules = { } end modules ['luat-ovr'] = {
version = 1.001,
comment = "companion to luatex-*.tex",
author = "Khaled Hosny and Elie Roux",
copyright = "Luaotfload Development Team",
license = "GNU GPL v2"
}
local write_nl, format, name = texio.write_nl, string.format, "luaotfload"
local dummyfunction = function() end
callbacks = {
register = dummyfunction,
}
function logs.report(category,fmt,...)
if fmt then
write_nl('log', format("%s | %s: %s",name,category,format(fmt,...)))
elseif category then
write_nl('log', format("%s | %s",name,category))
else
write_nl('log', format("%s |",name))
end
end
function logs.info(category,fmt,...)
if fmt then
write_nl(format("%s | %s: %s",name,category,format(fmt,...)))
elseif category then
write_nl(format("%s | %s",name,category))
else
write_nl(format("%s |",name))
end
io.flush()
end
function logs.simple(fmt,...)
if fmt then
write_nl('log', format("%s | %s",name,format(fmt,...)))
else
write_nl('log', format("%s |",name))
end
end
tex.ctxcatcodes = luatexbase.catcodetables.latex
|