\ProvidesPackage{songs} \RequirePackage{luatexbase} \RequirePackage{luaotfload} \RequirePackage{kvoptions} \RequirePackage{keycommand} \RequirePackage{currfile} \directlua{dofile(kpse.find_file("songs.lua"))} \def\songpath{"./songs"} % Commandes principales % Inclusion d'un fichier ly \newkeycommand*\songs[songpath=\songpath]{% \directlua{% find_songs(\songpath)% }% }