pep8 fixes to Pdf script
Tidy addPara() in Pdf script