The full pdf generation