Skip to main content

kpsewhich_tex_input

Function kpsewhich_tex_input 

Source
pub fn kpsewhich_tex_input(candidates: &[&str]) -> Option<String>
Expand description

kpsewhich for names TeX opens with \openin (\IfFileExists, graphics.sty’s \Gin@getbase): only TeX’s input path is searched (web2c’s \openin asks kpathsea’s kpse_tex_format), not first the format a name’s suffix suggests, which for a suffix kpathsea does not know (.pdf, .png) is that same search done twice.