Working (but crap and possibly buggy) version of create_coursera_pdfs()