Text this: High resolution infrared spectroscopy in astronomy