Compiling the pdf.