2 #include <kpathsea/tex-file.h>
4 FILE* search(kpse_file_format_type format
, char *file
, char *mode
)
6 kpse_set_program_name("dvips", "dvips"); // this should be placed somewhere else; should be pretend to be dvips?
7 // kpse_type1_format should be in parameter format, but it isn't -> fix the binding with writet1
8 printf("%s\n", kpse_find_file(file
, kpse_type1_format
, 1));
9 return fopen(kpse_find_file(file
, kpse_type1_format
, 1), mode
);