The LuaTeX documentation mentions that several variables are accessible by setting a table called texconfig. In particular I want to reduce the output a bit by setting trace_file_names to false. Others have asked for a similar solution but it seems not so easy with other TeX engines. Now LuaTeX offers that choice but I am not sure where and how to set that parameter. The documentation only mentions the table but gives no further hints.
So how can I set or modify the values in the texconfig table in LuaTeX (running under MiKTeX 2.9)?
I tried with the following example but this does not help, maybe this has to be set earlier in the process.
\documentclass{article}
\usepackage{filecontents}
\begin{filecontents*}{word.tex}
hello
\end{filecontents*}
\begin{document}
\directlua{print(texconfig)}
% prints: "table: 02900A90"
\directlua{print(texconfig["trace_file_names"])}
% prints "nil", so value does not exist in table
\directlua{texconfig["trace_file_names"] = false}
\input{word.tex}
% LuaTeX outputs: "(C:/Users/alexander/test/word.tex)"
\end{document}
trace_file_namesis if using it means replacing a whole library? – Alexander Jul 11 '13 at 13:10