Clean page sequence processing in the PDF