Made cli latex generation script give better feedback on what it's doing