A spectrometer for gaseous studies in the soft x-ray range