kpsewhich.lua 139 B

123
  1. -- see dviread._LuatexKpsewhich
  2. kpse.set_program_name("latex")
  3. while true do print(kpse.lookup(io.read():gsub("\r", ""))); io.flush(); end