History as text: the writing of ancient history