Various latex fixes.