Remove use of begin_edit and end_edit from makePDF.py
Merge pull request #1 from inkytonik/master

Fix bug in makePDF due to removal of begin_edit and end_edit