Prepare pdf production