extract pdf metadata via pdfinfo and re