Add tex compilation utility