That is actually code from the `pdftexcmds.sty` file, part of:
Code: Select all
\ifluatex
\ifnum\luatexversion<36 %
\def\pdftexcmds@directlua{\directlua0 }%
\else
\let\pdftexcmds@directlua\directlua
\fi
\begingroup
\newlinechar=10 %
\endlinechar=\newlinechar
\pdftexcmds@directlua{%
if tex.enableprimitives then
tex.enableprimitives(
'pdf@',
{'primitive', 'ifprimitive', 'pdfdraftmode'}
)
tex.enableprimitives('', {'luaescapestring'})
end
}%
\endgroup %
\fi
That should never be
printed in a document.
Can you post you document preamble, that is, the code until
\begin{document}
plus the first code before your own text comes?
Stefan