lazy loading latex mode settings