Second step for pdf to ex