He wrote poetry in Afrikaans and prose in English in his fight against South Africa’s racial oppression, an effort that landed him in jail for seven years.