This PR produces more meaningful error message when KPathSea has failed to locate a file, as discussed in https://github.com/Witiko/markdown/issues/458#issuecomment-2256432061. Furthermore, this PR uses the faster function kpse.find_file() instead of lookup() when locating a single file.
This PR produces more meaningful error message when KPathSea has failed to locate a file, as discussed in https://github.com/Witiko/markdown/issues/458#issuecomment-2256432061. Furthermore, this PR uses the faster function
kpse.find_file()
instead oflookup()
when locating a single file.This PR continues ticket #458.