Setup latex compiler for dispatch