Transform a PDF to HTML