reverse all the pdf stuff.