finding locations of many files via kpse
Norbert Preining <[email protected]>
| Newsgroups | gmane.comp.tex.texhax |
|---|---|
| Message-ID | <ZoPCBF4enFRw9Piy@bulldog> |
Hi everyone, For a given set of input file names (arguments to includegraphics or usepackage or ...), I would like to check the availability/location quickly. Of course I could call kpsewhich $i for each and every file, but I think this is not the most effective way. My ideas are in decreasing preference: * call kpsewhich with as many arguments as possible, reducing the calling overhead kpsewhich file1 file2 file3 ... (up to maximal possible) * use a lua script and the built-in kpse module * write a C program that links to libkpathsea and does that Any other suggestions? Thanks a lot Norbert -- PREINING Norbert https://www.preining.info arXiv / Cornell University + IFMGA Guide + TU Wien + TeX Live GPG: 0x860CDC13 fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13