Text this: Generalized thermodynamics