Add latex to the list of prerequisites.