I updated my TeXLive distribution with the TeXLive utility that comes with MacTeX. However, I cannot get lualatex to run. Regardless of the document, after calling lualatex test.tex (say) I get the error message:
(./texsx.tex[\directlua]:1: module 'lualatexquotejobname.lua' not
found: no field package.preload['lualatexquotejobname.lua'] [kpse lua
searcher] file not found: 'lualatexquotejobname.lua' [kpse C searcher]
file not found: 'lualatexquotejobname.lua' no file
'/usr/local/lib/lua/5.2/lualatexquotejobname.so' no file
'/usr/local/lib/lua/5.2/loadall.so' no file
'./lualatexquotejobname.so' stack traceback: [C]: in function
'require' [\directlua]:1: in main chunk. <everyjob> \directlua
{require("lualatexquotejobname.lua")}
Unfortunately, I could not fix this with any of the posts found on this forum, or somewhere else. Am I missing something obvious? Has anybody a fix for this?
/usr/local/lib/lua/. All I can surmise is that something went wrong in your MacTeX2017 installation. All I can suggest (sorry I wasn't clear enough before) is that you uninstall the standalone Lua app and then start over. Clearly, LuaLaTeX shouldn't be searching forlualatexquotejobname.luaanywhere below/usr/local/lib/lua/. – Mico Jan 02 '18 at 04:43which luatex(or the mac equivalent) are you sure you are running the texlive 2017 luatex? – David Carlisle Jan 02 '18 at 09:15\directlua{require("lualatexquotejobname.lua")}is part of\everyjobin thelualatexformat. It seems that\directluais calling/usr/local/bin/luainstead of the embedded one, or that some environment variable is improperly set. – egreg Jan 02 '18 at 11:29luatex. Then, when you have some time, uninstall MacPorts. – egreg Jan 02 '18 at 11:49