Correct escaping of filenames
Perform latex integration multiple times.
Actually, the return value of the latex evaluation should be checked in each go, or
at least for the first run.