Text this: Compression of Extreme-Ultraviolet Ultrashort Pulses by Grating Configurations