Text this: Quantitative x-ray spectrometry