Title: Theory of the two-mirror plane-grating spectrograph