I get an error that looks like my code doesn't find some Lua module(s) even from a Lua file in the same directory.
git/uliska/diss/latexstuff/ulDissLua.lua:14: module './template-config.lua' not
found:
no field package.preload['./template-config.lua']
[kpse lua searcher] file not found: './template-config.lua'
[kpse C searcher] file not found: './template-config.lua'
no file '/usr/local/lib/lua/5.3/.so'
no file '/usr/local/lib/lua/5.3/loadall.so'
no file './.so'.
\loadLuaFunctions ...ua.lua") or "ulDissLua.lua")}
The file would define and return a Lua table. L. 14 assigns that table to a variable. As there are no messages relating to anything within that file I assume it really doesn't find that file to even start parsing it. Well, I thought require would first look in the current directory, then at a given path and finally in a search path. So I'm surprised because template-config.lua is within the calling file's directory.
However, a few lines earlier in the terminal output I see === Package selnolig, Version 0.302, Date 2015/10/26 ===. Might this indicate that the problem occurs while reading the selnolig package? Otherwise, how would I require a file from the same directory?
\documentclass[english,ngerman]{article} \usepackage{fontspec,babel,selnolig} \begin{document} shelfful Auflaufform \end{document}compiles successfully, i.e., if it suppresses the f-f and f-l ligatures in question. – Mico Apr 06 '22 at 14:17debugLua library available you could try to determine your current file's path and add that to thepackage.path(not sure whether things work this way in LuaTeX, that's what would be possible in standard-Lua). – Skillmon Apr 06 '22 at 20:06shelffulandAuflaufform. Please clarify. – Mico Apr 07 '22 at 04:55