Atomic spectral detection of tunable extreme ultraviolet pulses.