format lesson one for auto pdf generation