Checking pdf conversion at the right place.