compile pdf with right name