For this to work, all images included in tex files must be given with their file suffix. For this reason, I also had to update some of these text files.