Fix pdfexport 

This adapts all the file path ans the Makefile so that the PDF version compiles now with out errors. Still some warnings though about multiple labels.