PDF build

Now the PDF spec looks quite well.