Text this: Reason and society in the middle ages