Historical text as a social phenomenon