Title: The libretto as literature. A historical and theoretical study with The rake's progress as illustration