A former president convicted of plotting a coup is now eligible to shorten his prison sentence in Brazil by reading books.